1

I'm working on a javascript project to navigate pedestrians. I use openstreetmap to give me the needed map information. I'm using ajax-requests with overpass-api to get the streets and footways (separately).

What I want to find are intersections of streets and footways, that aren't marked as such. They could only overlap each other.

Is there an efficent Query to achieve this goal?

4

2 回答 2

2

In principle, I do second scai's anwser: it's mostly better using already existing qa tools. But if you really want to go fancy with overpass, you can also get something like that with this somewhat complex (and probably not so über-efficient) query:

http://overpass-turbo.eu/s/1mk

于 2013-10-25T22:44:16.837 回答
1

Finding such errors via JavaScript would be very inefficient. What are you trying to achieve?

There are lots of quality assurance tools for OSM, some of them look for such missing intersections. One example is Keep Right. KeepRight offers a GPX export which you could use in your JavaScript application.

于 2013-10-25T16:38:41.837 回答