Why not ask your question on the new OpenStreetMap Community Forum?

I need to extract information (latitude / longitude) from all public transport (bus stop and way) from a region. I want to draw public transport line like this :http://xn--pnvkarte-m4a.de/?zoom=14&lat=46.51856&lon=6.62505&layers=TBTTT

I try with http://www.openstreetmap.org/export#map=18/46.52906/6.59971&layers=T but didn't have all the relation (way), neither with http://overpass-turbo.eu/s/6Fp What is the best practice to do that ?

I just need to have stop node and way with coordonate of the point and the name of the bus/tram/train line


asked 25 Dec '14, 20:56

f3t's gravatar image

accept rate: 0%

edited 25 Dec '14, 20:57


do you know : http://overpass-api.de/public_transport.html ? Unfortunately it does not mention the queries it executes.

(25 Dec '14, 21:36) escada

yes but with this query http://overpass-api.de/api/sketch-line?network=TL&ref=17&operator= I have only the Public Transport Line Diagram when I try Public Transport Line Map, i have nothing I dont need time juste geolocation :)

(25 Dec '14, 22:34) f3t

What you are looking for is more along the lines of http://overpass-turbo.eu/s/6Gd Which simply fetches all elements of any trolleybus route relation. You will need to request the result to be in a format that you can easily process further and potentially request more information (name etc) in the query.

permanent link

answered 26 Dec '14, 09:27

SimonPoole's gravatar image

SimonPoole ♦
accept rate: 18%

edited 26 Dec '14, 09:27

Your answer
toggle preview

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](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:


question asked: 25 Dec '14, 20:56

question was seen: 3,413 times

last updated: 26 Dec '14, 09:27

powered by OSQA