osm2pgsql-dev / osm2pgsql

OpenStreetMap data to PostgreSQL converter
https://osm2pgsql.org
GNU General Public License v2.0
1.5k stars 474 forks source link

Ferry Routes #160

Closed MarkCupitt closed 10 years ago

MarkCupitt commented 10 years ago

The planet_roads table contains a subset of planet_lines to allow display of roads to minimize database look ups at zoomed out levels

In many countries, the Ferry Routes are part of the highway system forming Nautical Highways and are often consider as part of the trunk or primary road system, as well as local ferries.

Adding the following tags to planet_roads will allow the display of Nautical Highways that use Ferries to connect Islands.

route=ferry ferry= name= ref=*

(http://wiki.openstreetmap.org/wiki/Tag:route=ferry)

pnorman commented 10 years ago

There's no reason they need to be added to the roads table. A partial index works quite well on ferry routes if you're displaying them at low zoom.

MarkCupitt commented 10 years ago

Ok, Will try that, thanks