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

Hi, I would like to export (or modify the exported file) such that I get only the transportation route.

Any suggestions?

Michele

asked 10 Sep '13, 13:42

aliekor's gravatar image

aliekor
31113
accept rate: 0%


You can query Overpass API with a query like the following:

(rel[network=VRS][ref=636];>;);
out meta;

It searches for the bus line 636 in the network VRS. Other tags can be used for selecting in the same way. For convenience the query as a link: http://overpass-turbo.eu/s/112

permanent link

answered 11 Sep '13, 08:13

Roland%20Olbricht's gravatar image

Roland Olbricht
6.7k36489
accept rate: 36%

Thanks, but how can i get the boundaries of the map I am exporting?

(11 Sep '13, 09:27) aliekor
1

The boundaries are just the smallest/largest lat and lon values of the appearing nodes. So it is straightforward to determine them.

(12 Sep '13, 08:54) Roland Olbricht

@aliekor: or do you want to limit the area by a bounding box where the query should be made from?

If yes, this is possible: Read http://wiki.openstreetmap.org/wiki/Overpass_API very intensively ... there are many possibilities.

(12 Sep '13, 16:53) stephan75

Follow this question

By Email:

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

By RSS:

Answers

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:

×315
×84
×1

question asked: 10 Sep '13, 13:42

question was seen: 5,004 times

last updated: 12 Sep '13, 16:53

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