SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
01-31-19, 12:50 PM | #121 |
Sailor man
Join Date: Nov 2018
Posts: 43
Downloads: 66
Uploads: 0
|
The "National Library of Scotland" has a very nice collection of maps (not only from scotland).
Here is the link: https://maps.nls.uk/index.html |
01-31-19, 01:49 PM | #122 |
Village Idiot
|
What would be really nice is digital information on heights!
|
01-31-19, 02:46 PM | #123 | |
Grey Wolf
Join Date: Jul 2011
Location: Verona, Italy
Posts: 924
Downloads: 1404
Uploads: 0
|
Quote:
http://en-us.topographic-map.com/pla...Dover-9575707/
__________________
Parked under the balcony with my U-27 waiting Juliet finish makeup |
|
01-31-19, 09:44 PM | #124 |
Admiral
|
Nice work. Works great. The 2x 3x trees slows things down a bit, so I don't use them. Good work.
|
02-01-19, 06:45 AM | #125 |
Soundman
Join Date: Mar 2016
Posts: 142
Downloads: 24
Uploads: 0
|
Jeff, this may be your answer:
https://github.com/Jorl17/open-eleva...er/docs/api.md It's a public/free API for elevation queries. Examples are there to call it from curl, but obviously you could easily make a Python script/whatever to send queries. For instance, in a web browser: https://api.open-elevation.com/api/v...23826,1.317397 Response: {"results": [{"latitude": 51.138584, "elevation": 105, "longitude": 1.366985}, {"latitude": 51.123826, "elevation": 7, "longitude": 1.317397}]} The first set of coordinates are the cliffs to the eastern side of Dover port, returning a height of 105 metres. The second set of coordinates are also Dover near the sands/seafront shopping area, returning 7m. The API does respond quite slowly unfortunately (at least for me), so that might be a limiting factor. |
02-01-19, 06:57 AM | #126 |
Soundman
Join Date: Mar 2016
Posts: 142
Downloads: 24
Uploads: 0
|
Also Jeff, to solve the performance issue it should be possible to self-host the API (and data if you have large hard drives), which you probably already realised it being on github. this issue issue related to the above is worth a read. https://github.com/Jorl17/open-elevation/issues/27. It also mentions higher resolution map data at https://www.eorc.jaxa.jp/ALOS/en/aw3d30/index.htm
|
02-01-19, 09:28 AM | #127 |
Village Idiot
|
Thanks OldCoder
Some interesting information in the links. I'll do more research into them. What I did find in some formats is that the scale is wrong for SH5. The z or up/down is fine but the x y is wrong. I think it could be averaged for our use. Say we needed 5 units from a data set to make one unit for SH5. We could just average that and be close. |
02-01-19, 02:56 PM | #128 |
Village Idiot
|
So far I see the DSM .asc format as the most promising to work with.
I'll admit I have not followed it up fully. |
02-01-19, 05:59 PM | #129 | ||||||||||
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
Quote:
Quote:
I think the base terrain files are common to all the SH games. Demonstration of that is the fact that, as tested by Jeff, the tool used by the GWX team for editing terrain files also works with SH5. The resolution of those files is extremely low though, with elevation points set 200 meters apart. As far as I could understand from Pintea's detailed explanations, SH5 uses two methods for increasing that resolution:
Unfortunately SHIII (and probably SHIV) has nothing like that, so yes, in theory we could convert the detailed height data from RAW files into greyscale heightmaps, as used by SH5's predecessors, but due to their poor resolution, they wouldn't look not nearly as good as in SH5. Quote:
Quote:
NASA maps are much easier to use though not all the planet is covered and seabed depth information is not provided by them: https://gdex.cr.usgs.gov/gdex/ Quote:
Quote:
Quote:
Quote:
Quote:
I say sorry if my questions might sound a bit silly but can I change coordinates values in web browser-based query with whatever world coordinate I want? Where are those height values obtained from? Quote:
|
||||||||||
02-02-19, 04:27 AM | #130 | |
Sailor man
Join Date: Nov 2018
Posts: 43
Downloads: 66
Uploads: 0
|
As you mentioned height points every 50 meters:
On this site I´ve found some 50m Digitalterrainmodels (also available in 25m, 1“ and 3“) http://data.opendataportal.at/dataset/dtm-norway I downloaded Denmark and Norway. Into the folders, I found .prj, .tfw and .tif files. The .tif files I was able to open with Gimp: They contain black and white pictures without inscriptions. Unfortunatly no seabed data (mainland is white, sea is black) Don´t know, if this is of any use for you? As far as I´ve seen, there is a difference between digital terrain and digital surface models. The latter ones map the landscape including vehicles and buildings. Quote:
Ok. Hence for lighthouses such as Fastnet lighthouse, it would be the best solution to make a 3D rock model like the one you already did for Kendras lighthouse in SH3. |
|
02-02-19, 07:57 AM | #131 | |
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
Quote:
I have had a look into the height maps provided by opendataportal.at, and as far as I could understand its owner has made a great work in collecting and putting together world height data from many sources; I see two problems with them though:
Exactly! |
|
02-03-19, 12:18 PM | #132 |
Village Idiot
|
Say we have height information at a resolution of 1 m.
Say SH5 needs 25m resolution. Take a 5mx5m (25m) area from the 1m information and just average that. All you do is add all the values and divide by 25. You'll get the average height value for that area. It's like getting your average in bowling. LOL! |
02-03-19, 12:42 PM | #133 | |
Navy Seal
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
Quote:
|
|
02-03-19, 01:44 PM | #134 | |
Village Idiot
|
Quote:
Just as the info we got to do the RAW stuff to this point? The more info on different formats I learn could lead to a better RAW creator/editer. |
|
02-03-19, 02:26 PM | #135 |
Village Idiot
|
OBJ2RAW script files sent.
It could be better but I'd rather work on the stand alone version as not many want to pony up for 010. |
Tags |
enviromental mod, environment, terrain, trees, vegetation |
|
|