OpenStreetMap import: Difference between revisions

Jump to navigation Jump to search
useful tools : overpass turbo, osmconvert
(→‎Object types: new: churches & petrol stations)
(useful tools : overpass turbo, osmconvert)
Line 173: Line 173:
# ...
# ...
# Push to object database.
# Push to object database.
== overpass turbo ==
The overpass turbo webservice is a quick & easy way to download objects from OSM which match the desired criteria (e.g. all terminal buildings in europe)
http://overpass-turbo.eu/
== osmconvert ==
wind turbines and power pylons are mot of the time easy to handle nodes in OSM. But petrol stations or churches are often ways - not as easy to handle.
The tool osmconvert can convert ways (outline of a building or an area) into nodes(lat/lon points with tags)
Example:
osmconvert input.osm --all-to-nodes | grep -v "<node .*/>" > out.osm
http://wiki.openstreetmap.org/wiki/Osmconvert
From the resulting .osm file it is very easy to generate a .stg file for test in flightgear (with some fixed dummy elevation) and then upload to
http://scenemodels.flightgear.org  (correct elevation will be calculated on the the server side)
(with a script similar to this one: [[User:Laserman/gpx2stg.py]] )


[[Category:Scenery enhancement]]
[[Category:Scenery enhancement]]
476

edits

Navigation menu