Skip to content Skip to sidebar Skip to footer

How To Query Osm From The Server

Is there any way to connect to the web server of OpenStreetMap? I want to receive the speed limit information given a geoLoc 'lat and Lon'. I thought of solving this issue by creat

Solution 1:

You can use Overpass API for querying (almost) any information. The language guide even has a very similar problem to yours: querying for name and rough location. Just replace the name tag with the maxspeed tag and you are almost done.

Overpass API has a really powerful language which can be quite a bit confusing at first. It might help you running your queries via the overpass turbo frontend which has a nice visualization of the results.

Post a Comment for "How To Query Osm From The Server"