Permalink
Browse files

Reinstate the symbols-from-polygons layer that was added in 1475ce bu…

…t subsquently removed.
  • Loading branch information...
gravitystorm committed Nov 26, 2010
1 parent 40a4687 commit 493e921027e392df4d7e0353bc96362df0865449
Showing with 21 additions and 0 deletions.
  1. +21 −0 mapquest_inc/layer-symbols.xml.inc
@@ -123,3 +123,24 @@
&datasource-settings;
</Datasource>
</Layer>
+<Layer name="symbols-poly" status="on" srs="&osm2pgsql_projection;">
+ <StyleName>symbols</StyleName>
+ <Datasource>
+ <Parameter name="table">
+ (select *
+ from &prefix;_polygon
+ where aeroway in ('airport','aerodrome')
+ or "natural" in ('peak')
+ or "leisure" in ('golf_course','water_park','marina','sports_centre')
+ or "amenity" in ('hospital','parking')
+ or "tourism" in ('museum','attraction')
+ or "man_made" in ('mineshaft')
+ or "sport" in ('skiing')
+ or "amenity" in ('ferry_terminal')
+ or "highway" in ('motorway_junction')
+ or "railway" in ('station')
+ ) as symbols
+ </Parameter>
+ &datasource-settings;
+ </Datasource>
+</Layer>

0 comments on commit 493e921

Please sign in to comment.