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

Hi, I need extract tunnels from OSM file. Does exist any way how do it please? More detailed explanation: in fact I need solve two task: 1) extract tunnels to separate file (and compute some statistics over this file) 2) "Clean" roads from the tunnels - result will be layer of roads with "holes" in positions, where were tunnels.

asked 12 Jun '12, 16:08

kope's gravatar image

kope
55447
accept rate: 0%


You can do this in many different ways. What are your capabilities/ what do you want to do with the data? How much data do you want to analyze (the world, one country, a city?). Do you need a rendered version? The answer to your question depends on your specific needs and possibilities.

Please keep in mind that if you are only after "real" tunnels this is not trivial (if not impossible), because a lot of mappers abuse the tunnel=yes tag for situations that technically are not tunnels. Another complication arises from the fact that the technical definition of a tunnel differs in different countries. Do you want to use one definition for all tunnels in the world or use definitions on a by-country base?

permanent link

answered 13 Jun '12, 16:41

dieterdreist's gravatar image

dieterdreist
3.7k113567
accept rate: 3%

Have a look at Osmfilter or OverpassAPI ...there you have different features to filter data from local extracts or a mirror of the main OSM database.

permanent link

answered 16 Jun '12, 21:44

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

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:

×1

question asked: 12 Jun '12, 16:08

question was seen: 1,935 times

last updated: 16 Jun '12, 21:44

Related questions

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