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

Hi guys I'm a newbie so excuse me if my question could sound stupid... I have paths stored. for each path I have point where a user stopped. I need to know if each of that stop point is close to a bus stop. But... they could be quite a lot, so I need to use a single call to overpass api to retreive that validation and I need to receive the validation sapareted for each point (to know which of them is validated and which is not...). I need halp please!!! cheers Gian Luca

asked 12 Jul '17, 09:58

boka70's gravatar image

accept rate: 0%

edited 12 Jul '17, 10:02

There are some details missing in your question (for example how large the area is that your paths cover and so on), but ok: I would suggest loading your data in to a spatially enabled database (for example Postgresql with postgis), then querying the Overpass-api for all stops in the area (or extracting them from an OSM planet file, depending on how large the area is). Then you should import the stop nodes in to the database.

Once you've done all that (which includes figuring out the database schema you want to use etc), you can use spatial queries to find for example all of your user stop position that are within a pre-defined distance to a stop and so on.

permanent link

answered 13 Jul '17, 09:49

SimonPoole's gravatar image

SimonPoole ♦
accept rate: 18%

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 12 Jul '17, 09:58

question was seen: 2,225 times

last updated: 13 Jul '17, 09:49

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