This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Download all elevations as a world map to use in unity.

0

I'd like to use the elevations to make a unity heightmap but when I tried exporting the data, I just got what looks like a bunch of tags with latitude and longitude along with contributors. Is there a way to download or export all the elevations into either a text file or something? I really don't want to repeatedly click on locations and writing the elevations by hand.

asked 30 May '19, 23:46

meeps's gravatar image

meeps
11112
accept rate: 0%


2 Answers:

3

OSM does not have elevation lines. The only thing that comes close is the "ele"-tag, but that is only used on e.g. mountain peaks.

answered 31 May '19, 04:10

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

3

As escada says, there's not a lot of elevation data in OSM. Do a web search for "SRTM" or, if you happen to be interested in the EU area, "EU-DEM", and you might find some usable data.

answered 31 May '19, 06:33

turepalsson's gravatar image

turepalsson
836101625
accept rate: 25%

Source code available on GitHub .