</Rule>
</Style>
+<Style name="subwaylines" filter-mode="first">
+ <Rule>
+ &maxscale_zoom10;
+ <Filter>([ref] = 'Waterloo & City')</Filter>
+ <LineSymbolizer stroke="#88d0c4" stroke-width="3" />
+ <TextSymbolizer fill="#88d0c4" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer>
+ </Rule>
+ <Rule>
+ &maxscale_zoom10;
+ <Filter>([ref] = 'Victoria')</Filter>
+ <LineSymbolizer stroke="#0a9cda" stroke-width="3" />
+ <TextSymbolizer fill="#0a9cda" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer>
+ </Rule>
+ <Rule>
+ &maxscale_zoom10;
+ <Filter>([ref] = 'Piccadilly')</Filter>
+ <LineSymbolizer stroke="#094fa3" stroke-width="3" />
+ <TextSymbolizer fill="#094fa3" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer>
+ </Rule>
+ <Rule>
+ &maxscale_zoom10;
+ <Filter>([ref] = 'Northern')</Filter>
+ <LineSymbolizer stroke="#000000" stroke-width="3" />
+ <TextSymbolizer fill="#000000" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer>
+ </Rule>
+ <Rule>
+ &maxscale_zoom10;
+ <Filter>([ref] = 'Metropolitan')</Filter>
+ <LineSymbolizer stroke="#91005a" stroke-width="3" />
+ <TextSymbolizer fill="#91005a" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer>
+ </Rule>
+ <Rule>
+ &maxscale_zoom10;
+ <Filter>([ref] = 'Jubilee')</Filter>
+ <LineSymbolizer stroke="#949699" stroke-width="3" />
+ <TextSymbolizer fill="#949699" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer>
+ </Rule>
+ <Rule>
+ <MaxScaleDenominator>750000</MaxScaleDenominator>
+ <Filter>([ref] = 'Hammersmith & City')</Filter>
+ <LineSymbolizer stroke="#f491a8" offset="2" stroke-dasharray="8, 5" stroke-width="3" />
+ <TextSymbolizer fill="#f491a8" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer>
+ </Rule>
+ <Rule>
+ &maxscale_zoom10;
+ <Filter>([ref] = 'District')</Filter>
+ <LineSymbolizer stroke="#00a166" stroke-width="3" />
+ <TextSymbolizer fill="#00a166" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer>
+ </Rule>
+ <Rule>
+ &maxscale_zoom10;
+ <Filter>([ref] = 'Circle')</Filter>
+ <LineSymbolizer stroke="#ffe02b" offset="2" stroke-dasharray="8, 5" stroke-width="3" />
+ <TextSymbolizer fill="#ffe02b" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer>
+ </Rule>
+ <Rule>
+ &maxscale_zoom10;
+ <Filter>([ref] = 'Central')</Filter>
+ <LineSymbolizer stroke="#f15b2e" stroke-width="3" />
+ <TextSymbolizer fill="#f15b2e" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer>
+ </Rule>
+ <Rule>
+ &maxscale_zoom10;
+ <Filter>([ref] = 'Bakerloo')</Filter>
+ <LineSymbolizer stroke="#ae6017" stroke-width="3" />
+ <TextSymbolizer fill="#ae6017" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer>
+ </Rule>
+</Style>
+
<Layer name="amenity-points" status="on" srs="&osm2pgsql_projection;">
<StyleName>points</StyleName>
<Datasource>
&datasource-settings;
</Datasource>
</Layer>
+
+<Layer name="subwaylines" status="on" srs="&osm2pgsql_projection;">
+ <StyleName>subwaylines</StyleName>
+ <Datasource>
+ <Parameter name="table"><![CDATA[(SELECT way, ref, osm_id FROM planet_osm_line WHERE route='subway') AS subwayroutes]]></Parameter>
+ &datasource-settings;
+ </Datasource>
+</Layer>
+
</Map>