Question

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?

Was it helpful?

Solution

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top