<Style name="%s" filter-mode="first" comp-op="screen">
  <Rule>
    <Filter>([mapnik::geometry_type] = 3)</Filter>
    <LineSymbolizer stroke-width="1" stroke="rgb(%s)" stroke-gamma="0" />
    <PolygonSymbolizer fill="rgba(%s,0.5)" gamma="0" />
  </Rule>
  <Rule>
    <Filter>([mapnik::geometry_type] = 2)</Filter>
    <LineSymbolizer stroke-width="1" stroke="rgb(%s)" stroke-gamma="0" />
  </Rule>
  <Rule>
    <Filter>([mapnik::geometry_type] = 1)</Filter>
    <DotSymbolizer width="5" fill="rgba(%s,0.5)" />
    <TextSymbolizer allow-overlap="true" justify-alignment="left" face-name="Source Sans Pro Regular" fill="rgba(%s,0.75)" size="12" dy="6" ><![CDATA[[name]]]></TextSymbolizer>
  </Rule>
</Style>

<Layer name="%s" 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">
    <StyleName>%s</StyleName>
</Layer>
