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

Return segment of motorway derived from two latlng points

1

Hey guys,

For a few days I have been looking into the Overpass API but so far I have been unable to get the exact results I want.

I want to get a segment of a motorway, from one point to the other (LatLng points). The point are within a 25m radius from the actual motorway, so fault tolerance is close to zero. So far, so good. However I also would like to get only the way that actually goes into the direction (which is derived from the start and end position). Any ideas?

asked 06 Apr '15, 21:16

ThAlmighty's gravatar image

ThAlmighty
16111
accept rate: 0%

edited 06 Apr '15, 21:17


One Answer:

0

You might think of using PostGIS after importing the data via OSM2PqSQL

Alex

answered 07 Apr '15, 10:32

AddisMap_Alexander's gravatar image

AddisMap_Ale...
1.1k314062
accept rate: 0%