NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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


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

Alex

permanent link

answered 07 Apr '15, 10:32

AddisMap_Alexander's gravatar image

AddisMap_Ale...
1.1k314062
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×483
×67
×23
×7

question asked: 06 Apr '15, 21:16

question was seen: 2,652 times

last updated: 07 Apr '15, 10:32

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum