Skip to content

Commit

Permalink
Put the navigable network over the bridge
Browse files Browse the repository at this point in the history
This sounds unnatural, but we are talking about global view of
the naviagble network, so the less noise, the better.
  • Loading branch information
yohanboniface committed Nov 11, 2012
1 parent 09df55c commit 95704a6
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions openriverboatmap/project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -634,13 +634,13 @@
"dbname": "osm",
"geometry_field": "way",
"host": "localhost",
"id": "waterway",
"id": "bridge",
"key_field": "",
"password": "osm",
"port": "5432",
"project": "foss4g-2011",
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
"table": "( SELECT way, waterway AS type, tags->'motorboat' as motorboat\n FROM planet_osm_line\n WHERE waterway IN ('river', 'canal') and tags->'motorboat'='yes'\n) AS data",
"project": "osm-bright-master",
"srs": null,
"table": "( SELECT way, COALESCE(highway, railway) AS type, 1 AS bridge, access, render, layer, 0 as tunnel,\n CASE\n WHEN highway IN ('motorway', 'trunk') THEN 'motorway'\n WHEN highway IN ('primary', 'secondary') THEN 'mainroad'\n WHEN highway IN ('motorway_link', 'trunk_link', 'primary_link', 'secondary_link', 'tertiary', 'tertiary_link', 'residential', 'unclassified', 'road', 'living_street') THEN 'minorroad'\n WHEN highway IN ('service', 'track') THEN 'service'\n WHEN highway IN ('path', 'cycleway', 'footway', 'pedestrian', 'steps', 'bridleway') THEN 'noauto'\n WHEN railway IN ('light_rail', 'subway', 'narrow_gauge', 'rail', 'tram') THEN 'railway'\n ELSE 'other' END AS stylegroup\n FROM (\n SELECT *, '1_outline' AS render FROM planet_osm_line\n WHERE bridge NOT IN ('', '0', 'no')\n UNION ALL\n SELECT *, '2_line' AS render FROM planet_osm_line\n WHERE bridge NOT IN ('', '0', 'no')\n UNION ALL\n SELECT *, '3_inline' AS render FROM planet_osm_line\n WHERE bridge NOT IN ('', '0', 'no')\n ) AS bridges\n ORDER BY layer ASC, render ASC\n) AS data",
"type": "postgis",
"user": "osm",
"extent_cache": "auto",
Expand All @@ -649,8 +649,8 @@
},
"class": "",
"geometry": "linestring",
"id": "waterway_low",
"name": "waterway_low",
"id": "bridge",
"name": "bridge",
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
"srs-name": "900913",
"status": "on",
Expand All @@ -669,13 +669,13 @@
"dbname": "osm",
"geometry_field": "way",
"host": "localhost",
"id": "bridge",
"id": "waterway",
"key_field": "",
"password": "osm",
"port": "5432",
"project": "osm-bright-master",
"srs": null,
"table": "( SELECT way, COALESCE(highway, railway) AS type, 1 AS bridge, access, render, layer, 0 as tunnel,\n CASE\n WHEN highway IN ('motorway', 'trunk') THEN 'motorway'\n WHEN highway IN ('primary', 'secondary') THEN 'mainroad'\n WHEN highway IN ('motorway_link', 'trunk_link', 'primary_link', 'secondary_link', 'tertiary', 'tertiary_link', 'residential', 'unclassified', 'road', 'living_street') THEN 'minorroad'\n WHEN highway IN ('service', 'track') THEN 'service'\n WHEN highway IN ('path', 'cycleway', 'footway', 'pedestrian', 'steps', 'bridleway') THEN 'noauto'\n WHEN railway IN ('light_rail', 'subway', 'narrow_gauge', 'rail', 'tram') THEN 'railway'\n ELSE 'other' END AS stylegroup\n FROM (\n SELECT *, '1_outline' AS render FROM planet_osm_line\n WHERE bridge NOT IN ('', '0', 'no')\n UNION ALL\n SELECT *, '2_line' AS render FROM planet_osm_line\n WHERE bridge NOT IN ('', '0', 'no')\n UNION ALL\n SELECT *, '3_inline' AS render FROM planet_osm_line\n WHERE bridge NOT IN ('', '0', 'no')\n ) AS bridges\n ORDER BY layer ASC, render ASC\n) AS data",
"project": "foss4g-2011",
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
"table": "( SELECT way, waterway AS type, tags->'motorboat' as motorboat\n FROM planet_osm_line\n WHERE waterway IN ('river', 'canal') and tags->'motorboat'='yes'\n) AS data",
"type": "postgis",
"user": "osm",
"extent_cache": "auto",
Expand All @@ -684,8 +684,8 @@
},
"class": "",
"geometry": "linestring",
"id": "bridge",
"name": "bridge",
"id": "waterway_low",
"name": "waterway_low",
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
"srs-name": "900913",
"status": "on",
Expand Down

0 comments on commit 95704a6

Please sign in to comment.