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

Hi

I'm new to using OSM. Currently I'm looking at OSM data through a GIS program (MapInfo) I have downloaded shape files for my country (Denmark) and looking through data. I'm interested in ferry lines, and I can not figure out where to find the data containing public transportation. Is it possible I have to extract this data myself somehow and convert it into shapefiles in order to see it? I can't find any premade shapefiles containing ferry routes/lines.

asked 22 May '13, 14:20

Kasper%20Pedersen's gravatar image

Kasper Pedersen
11113
accept rate: 0%


Ferry lines are often present in OSM as simple line geometries tagged appropriately. Extracting these from OSM using e.g. osm2shp or osmjs should be straightforward. Other public transport - trains, buses - is often more complex as it is modelled in the form of relations which are not perfectly supported by these tools. Your best bet is perhaps to import the data into a PostGIS database with osm2pgsql and then export from there.

permanent link

answered 22 May '13, 15:29

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Yes, you'll have to extract them yourself, using e.g. http://www.osm974.re/osm2gis/ or one of the other methods described in the wiki at http://wiki.openstreetmap.org/wiki/Shapefiles .

The Key-Value-Combination you need is route=ferry

edit: osm2gis does seem to be quite bad for obtaining large-scale sparse data extracts. So you'll be best off by downloading a denmark OSM extract, then filtering for route=ferry using osmfilter and then creating a shapefile from that.

permanent link

answered 22 May '13, 16:45

gormo's gravatar image

gormo
2.9k32660
accept rate: 13%

edited 22 May '13, 16:48

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:

×87
×16

question asked: 22 May '13, 14:20

question was seen: 5,827 times

last updated: 22 May '13, 16:48

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