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

Public transport paths

0

Hi OSM users! I'm currently trying to figure out how OSM works. I've been lurking around in the OSM wiki i just get more confused than before. I would like to get help with the following. Not asking for direct answers but rather directions.

  1. Am i supposed to host the OSM on local machine.
  2. Is there any third-party providers.
  3. Is it possible to get the nearest public transport station by providing long, latitude. How?
  4. Is it possible to get the most possible subways "number"(i.e the transport number eg. U1, buss 51) and direction by giving two long+lat, with X intervals.

Feel free to answer all or only some question. Every comment is appreciated.

Hope this is not to obvious questions, i've tried to google many times and tried, reading the wiki and reading stack exchange posts without any success.

Regards br

asked 12 Jul '14, 15:35

sdheb's gravatar image

sdheb
11112
accept rate: 0%

edited 13 Jul '14, 08:36

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701


2 Answers:

0

Concerning your technical questions about public transport:

You might want to use a reverse geocoder as nominatim for finding the closest busstop. You can also do a lot of processing, if you learned about the PT model schema(s) and play with Overpass API queries. If you want to go into multimodal routing, you might want to look for existing solutions as http://www.opentripplanner.org

answered 13 Jul '14, 13:49

iii's gravatar image

iii
4.9k84082
accept rate: 10%

-1

Hi Sdheb, Welcome

  1. use OSM as you like it live on its own server and ad anything conform these rules, read https://wiki.openstreetmap.org/wiki/Legal If you go a different way please start your own map at a local server, after reading those rules.
  2. no there's no third party providers, only supporters, read this as well https://wiki.openstreetmap.org/wiki/Using_OpenStreetMap and https://wiki.openstreetmap.org/wiki/Contribute_map_data as well
  3. since OSM is a database, you’ll be able to make any selection you like or wish to see. Use a rendering type you like. But as long as someone has added that data to the system you could use it. Otherwise you’ll have to add the data yourself or ask a lot of people politely to do so. 4 Almost the same answer if it’s in OSM you could get it out. It all comes down on the query you use. Please read the beginners pages as well, https://wiki.openstreetmap.org/wiki/Beginners%27_Guide

answered 12 Jul '14, 20:26

Hendrikklaas's gravatar image

Hendrikklaas
9.3k207238387
accept rate: 5%

edited 13 Jul '14, 13:45

iii's gravatar image

iii
4.9k84082

Source code available on GitHub .