2014-11-02 18:13:19 +00:00
|
|
|
<Map background-color="white" 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">
|
2014-12-09 15:31:23 +00:00
|
|
|
<Parameters>
|
|
|
|
<Parameter name="sizes">500, 1000</Parameter>
|
|
|
|
</Parameters>
|
2014-11-02 18:13:19 +00:00
|
|
|
<Style name="lines">
|
|
|
|
<Rule>
|
|
|
|
<LineSymbolizer simplify-algorithm="[algorithm]" simplify="[simplify]" geometry-transform="translate(0, [ty])" />
|
|
|
|
</Rule>
|
|
|
|
</Style>
|
|
|
|
<Layer name="world" 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>lines</StyleName>
|
|
|
|
<Datasource>
|
|
|
|
<Parameter name="type">sqlite</Parameter>
|
|
|
|
<Parameter name="file">../../data/sqlite/world.sqlite</Parameter>
|
|
|
|
<Parameter name="use_spatial_index">true</Parameter>
|
|
|
|
<Parameter name="table">
|
|
|
|
(SELECT *, 'zhao-saalfeld' as algorithm, 1 as simplify, -375 as ty FROM world_merc UNION ALL
|
|
|
|
SELECT *, 'zhao-saalfeld' as algorithm, 2 as simplify, -125 as ty FROM world_merc UNION ALL
|
|
|
|
SELECT *, 'zhao-saalfeld' as algorithm, 4 as simplify, 125 as ty FROM world_merc UNION ALL
|
|
|
|
SELECT *, 'zhao-saalfeld' as algorithm, 10 as simplify, 375 as ty FROM world_merc)
|
|
|
|
</Parameter>
|
|
|
|
</Datasource>
|
|
|
|
</Layer>
|
|
|
|
</Map>
|