Merge pull request #2602 from mapycz/standalone-tests
Standalone visual tests
This commit is contained in:
commit
f0ba989596
184 changed files with 745 additions and 379 deletions
|
@ -196,6 +196,12 @@ std::shared_ptr<mapnik::parameter> create_parameter(mapnik::value_unicode_string
|
|||
return std::make_shared<mapnik::parameter>(key_utf8,value);
|
||||
}
|
||||
|
||||
bool contains(mapnik::parameters const& p, std::string const& key)
|
||||
{
|
||||
parameters::const_iterator pos = p.find(key);
|
||||
return pos != p.end();
|
||||
}
|
||||
|
||||
// needed for Python_Unicode to std::string (utf8) conversion
|
||||
|
||||
std::shared_ptr<mapnik::parameter> create_parameter_from_string(mapnik::value_unicode_string const& key, mapnik::value_unicode_string const& ustr)
|
||||
|
@ -233,6 +239,7 @@ void export_parameters()
|
|||
.def("__getitem__",get_params_by_key2)
|
||||
.def("__getitem__",get_params_by_index)
|
||||
.def("__len__",get_params_size)
|
||||
.def("__contains__",contains)
|
||||
.def("append",add_parameter)
|
||||
.def("iteritems",iterator<parameters>())
|
||||
;
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
background-image-opacity=".5"
|
||||
background-image-comp-op="soft-light"
|
||||
>
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512, 512</Parameter>
|
||||
</Parameters>
|
||||
<Style name="ellipse">
|
||||
<Rule>
|
||||
<BuildingSymbolizer fill="white" fill-opacity=".5" />
|
||||
|
@ -17,5 +20,4 @@
|
|||
<Parameter name="file">../data/marker-multi-policy.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
||||
</Map>
|
|
@ -1,6 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">300, 300</Parameter>
|
||||
<Parameter name="bbox">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>My Style</StyleName>
|
||||
|
|
|
@ -1,10 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">200, 400</Parameter>
|
||||
</Parameters>
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map>
|
||||
<Parameters>
|
||||
<Parameter name="sizes">600,400</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="line">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map[]>
|
||||
<Map>
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="countries">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map[]>
|
||||
<Map>
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="countries">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map[]>
|
||||
<Map>
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="countries">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map[]>
|
||||
<Map>
|
||||
<Parameters>
|
||||
<Parameter name="sizes">256,256</Parameter>
|
||||
<Parameter name="status">off</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="countries">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<Map
|
||||
background-color="#808080"
|
||||
srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="My Style" comp-op="src-over">
|
||||
<Rule>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">500, 500</Parameter>
|
||||
</Parameters>
|
||||
<FontSet name="book">
|
||||
<Font face-name="DejaVu Sans Book"/>
|
||||
</FontSet>
|
||||
|
@ -9,6 +12,7 @@
|
|||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.5, -0.5, 0.5, 0.5</Parameter>
|
||||
<Parameter name="inline">
|
||||
lat,long,horizontal_alignment,vertical_alignment,dy,text
|
||||
0.25,-0.35,left,top,0
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">256,256</Parameter>
|
||||
<Parameter name="status">off</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>My Style</StyleName>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map background-color="#eee" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512, 512</Parameter>
|
||||
</Parameters>
|
||||
<FontSet name="book-fonts">
|
||||
<Font face-name="DejaVu Sans Book"/>
|
||||
</FontSet>
|
||||
|
@ -23,6 +26,7 @@
|
|||
<StyleName>frame</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">ogr</Parameter>
|
||||
<Parameter name="extent">-15,-15,15,15</Parameter>
|
||||
<Parameter name="layer_by_index">0</Parameter>
|
||||
<Parameter name="inline"><![CDATA[
|
||||
{
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map background-color="#eee" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">256,256</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="frame" filter-mode="first">
|
||||
<Rule>
|
||||
|
@ -26,6 +29,7 @@
|
|||
<StyleName>frame</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">ogr</Parameter>
|
||||
<Parameter name="extent">-10,-10,10,10</Parameter>
|
||||
<Parameter name="layer_by_index">0</Parameter>
|
||||
<Parameter name="inline"><![CDATA[
|
||||
{
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map 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" background-color="white">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">600,400</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="test">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">500,500</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>polygon</StyleName>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">500,500</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>polygon</StyleName>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map background-color="#eee" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">200,200</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="polygon">
|
||||
<Rule>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map background-color="#eee" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">200,200</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="polygon">
|
||||
<Rule>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map background-color="#eee" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">200,200</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="polygon">
|
||||
<Rule>
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
<!-- Without unlock-image -->
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="green" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" minimum-version="2.0.0">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>points</StyleName>
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
<!-- Without unlock-image -->
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="green" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" minimum-version="2.0.0">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="obstacle" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>obstacle</StyleName>
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
<!-- Without unlock-image -->
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="green" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" minimum-version="2.0.0">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,256</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="obstacle" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>obstacle</StyleName>
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
<!-- Without unlock-image -->
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="green" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" minimum-version="2.0.0">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="alpha" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>alpha</StyleName>
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
<!-- Without unlock-image -->
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="green" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" minimum-version="2.0.0">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<!-- the aim here is to test the "repeat-key" parameter. it is
|
||||
supposed to stop collidable / placeable items from being
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map[]>
|
||||
<Map srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">450,450</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="raster">
|
||||
<Rule>
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 200</Parameter>
|
||||
</Parameters>
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
<Parameter name="extent">-1,-1,1,1</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
||||
|
|
|
@ -2,13 +2,16 @@
|
|||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84"
|
||||
font-directory="../fonts/KhmerOS/">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 200</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map[]>
|
||||
<Map background-color="#b8dee6" buffer-size="256" maximum-extent="-20037508.34,-20037508.34,20037508.34,20037508.34">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="countries-mask" filter-mode="first" comp-op="difference">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map[]>
|
||||
<Map background-color="#b8dee6" buffer-size="256" maximum-extent="-20037508.34,-20037508.34,20037508.34,20037508.34">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="countries-over" filter-mode="first">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map[]>
|
||||
<Map background-color="#b8dee6" buffer-size="256" maximum-extent="-20037508.34,-20037508.34,20037508.34,20037508.34">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="countries-over" filter-mode="first">
|
||||
<Rule>
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">200, 200</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -2,11 +2,15 @@
|
|||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84"
|
||||
font-directory="../fonts/KhmerOS/">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 200</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -1,10 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">900, 250</Parameter>
|
||||
</Parameters>
|
||||
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-5.192, 50.189, -5.174, 50.195</Parameter>
|
||||
<Parameter name="file">../data/line-offset.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map srs="+init=epsg:3857" maximum-extent="-20037508.34,-20037508.34,20037508.34,20037508.34">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
<Style name="polygon" filter-mode="first" >
|
||||
<Rule>
|
||||
<LineSymbolizer stroke-width="50" stroke-opacity="0.01" />
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Map background-color="white">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="style">
|
||||
<Rule>
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
background-image-opacity=".5"
|
||||
background-image-comp-op="soft-light"
|
||||
srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
|
|
|
@ -1,10 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">900, 250</Parameter>
|
||||
</Parameters>
|
||||
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-5.192, 50.189, -5.174, 50.195</Parameter>
|
||||
<Parameter name="file">../data/line-offset.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Map background-color="white">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="style">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<Map
|
||||
background-color="#eee"
|
||||
srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">256,256</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="bug">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<Map
|
||||
background-color="#eee"
|
||||
srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">256,256</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="bug">
|
||||
<Rule>
|
||||
|
|
|
@ -1,10 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 800</Parameter>
|
||||
</Parameters>
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 800; 600, 600; 400, 400; 200, 200</Parameter>
|
||||
<Parameter name="bbox">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>My Style</StyleName>
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 800; 600, 600; 400, 400; 200, 200</Parameter>
|
||||
<Parameter name="bbox">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>My Style</StyleName>
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 800; 600, 600; 400, 400; 200, 200</Parameter>
|
||||
<Parameter name="bbox">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>My Style</StyleName>
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
<!DOCTYPE Map>
|
||||
<!-- Upright test -->
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 800; 600, 600; 400, 400; 200, 200</Parameter>
|
||||
<Parameter name="bbox">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>lines</StyleName>
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
<!DOCTYPE Map>
|
||||
<!-- dy and multi lines test -->
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 800; 600, 600; 400, 400; 200, 200</Parameter>
|
||||
<Parameter name="bbox">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>lines</StyleName>
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
<!-- complex script on line test -->
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84"
|
||||
font-directory="../fonts/KhmerOS/">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 800; 600, 600; 400, 400; 200, 200</Parameter>
|
||||
<Parameter name="bbox">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>lines</StyleName>
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
<!DOCTYPE Map>
|
||||
<!-- dy and multi lines test -->
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 800; 600, 600; 400, 400; 200, 200</Parameter>
|
||||
<Parameter name="bbox">-1.2, -1.2, 1.2, 1.2</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>lines</StyleName>
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
<!DOCTYPE Map>
|
||||
<!-- Upright test -->
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 800</Parameter>
|
||||
<Parameter name="bbox">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>lines</StyleName>
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
<!DOCTYPE Map>
|
||||
<!-- Upright test -->
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 800</Parameter>
|
||||
<Parameter name="bbox">-1.2, -1.2, 1.2, 1.2</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>lines</StyleName>
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
<!DOCTYPE Map>
|
||||
<!-- Upright test -->
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 800</Parameter>
|
||||
<Parameter name="bbox">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>lines</StyleName>
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 800; 600, 600; 400, 400; 200, 200</Parameter>
|
||||
<Parameter name="bbox">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>My Style</StyleName>
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 100; 600, 100; 400, 100; 300, 100; 250, 100; 150, 100; 100, 100</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
background-image-opacity=".8"
|
||||
background-image-comp-op="screen"
|
||||
background-image="../data/pattern.png">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="ellipse">
|
||||
<Rule>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map>
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="line">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<Map
|
||||
background-color="#eee"
|
||||
srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">600,400</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="poly">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map 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" background-color="white">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">600, 400</Parameter>
|
||||
</Parameters>
|
||||
<Layer name="layer" 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>My Style</StyleName>
|
||||
<Datasource>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map maximum-extent="0,0,190,180">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">600,400</Parameter>
|
||||
</Parameters>
|
||||
<Style name="each">
|
||||
<Rule>
|
||||
<Filter>[i] = 1</Filter>
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+init=epsg:4326" minimum-version="0.7.2">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">600,400; 400,600; 257,256</Parameter>
|
||||
</Parameters>
|
||||
<Style name="1">
|
||||
<Rule>
|
||||
<LineSymbolizer stroke-width=".2" stroke="grey"/>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map>
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
<Style name="line" filter-mode="first" >
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="#000000" />
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map>
|
||||
<Parameters>
|
||||
<Parameter name="sizes">600,400</Parameter>
|
||||
</Parameters>
|
||||
<Style name="line" filter-mode="first" >
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="red"/>
|
||||
|
@ -21,6 +24,7 @@
|
|||
<StyleName>point-placement</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-10, 0, 15, 20</Parameter>
|
||||
<Parameter name="file">../data/marker-on-line.csv</Parameter>
|
||||
<Parameter name="separator">|</Parameter>
|
||||
</Datasource>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map>
|
||||
<Parameters>
|
||||
<Parameter name="sizes">600,400</Parameter>
|
||||
</Parameters>
|
||||
<Style name="lines">
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="#000000" />
|
||||
|
@ -17,6 +20,7 @@
|
|||
<StyleName>markers</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-1, -1, 11, 4</Parameter>
|
||||
<Parameter name="inline">
|
||||
wkt, placement
|
||||
"LINESTRING(0 0)", "vertex-first"
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map>
|
||||
<Parameters>
|
||||
<Parameter name="sizes">600,400</Parameter>
|
||||
</Parameters>
|
||||
<Style name="lines">
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="#000000" />
|
||||
|
@ -17,6 +20,7 @@
|
|||
<StyleName>markers</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-1, -1, 11, 4</Parameter>
|
||||
<Parameter name="inline">
|
||||
wkt, placement
|
||||
"LINESTRING(0 0)", "vertex-last"
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">600,400</Parameter>
|
||||
</Parameters>
|
||||
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>alpha</StyleName>
|
||||
<Datasource>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">600,400</Parameter>
|
||||
</Parameters>
|
||||
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>alpha</StyleName>
|
||||
<Datasource>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map>
|
||||
<Parameters>
|
||||
<Parameter name="sizes">600,400</Parameter>
|
||||
</Parameters>
|
||||
<Style name="line" filter-mode="first" >
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="#000000" />
|
||||
|
@ -15,6 +18,7 @@
|
|||
<StyleName>point-placement</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-10, 0, 15, 20</Parameter>
|
||||
<Parameter name="file">../data/marker-on-line.csv</Parameter>
|
||||
<Parameter name="separator">|</Parameter>
|
||||
</Datasource>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">256,128</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="point">
|
||||
<Rule>
|
||||
|
@ -14,6 +17,7 @@
|
|||
<StyleName>point</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-1,-0.5,1,0.5</Parameter>
|
||||
<Parameter name="inline">
|
||||
lat,lon,offset
|
||||
0,-0.35,10
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<Map
|
||||
background-color="#eee"
|
||||
srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">256,256</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="bug">
|
||||
<Rule>
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
background-image-opacity="0.8"
|
||||
background-image-comp-op="screen"
|
||||
background-image="../data/pattern.png">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="markers">
|
||||
<Rule>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map 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">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
<Style name="style">
|
||||
<Rule>
|
||||
<PolygonSymbolizer fill="white"/>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" background-image="../../data/images/checker.jpg">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">600,400; 400,600; 257,256</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="ellipse"
|
||||
direct-image-filters="scale-hsla(0,1,0,1,0,1,0,.5)"
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" background-image="../../data/images/checker.jpg">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">600,400; 400,600; 257,256</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="ellipse">
|
||||
<Rule>
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">800, 200</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
||||
<Parameter name="file">../data/points.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<Map
|
||||
background-color="#eee"
|
||||
srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">256,256</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="bug">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<Map
|
||||
background-color="#eee"
|
||||
srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">256,256</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="bug">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">500, 500</Parameter>
|
||||
</Parameters>
|
||||
<FontSet name="book">
|
||||
<Font face-name="DejaVu Sans Book"/>
|
||||
</FontSet>
|
||||
|
@ -9,6 +12,7 @@
|
|||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-0.5, -0.5, 0.5, 0.5</Parameter>
|
||||
<Parameter name="inline">
|
||||
lat,long,overlap,placement
|
||||
0.33,-0.36,noexpr-true,noexpr-false
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<Map
|
||||
background-color="#eee"
|
||||
srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">256,256</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="bug">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<Map
|
||||
background-color="#eee"
|
||||
srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">256,256</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="bug">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<Map
|
||||
background-color="#000"
|
||||
srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">300,300</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="polygon">
|
||||
<Rule>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map srs="+init=epsg:3857" maximum-extent="-20037508.34,-20037508.34,20037508.34,20037508.34">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
<Style name="carto_tests" filter-mode="first" >
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="[stroke]" />
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
<Map 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"
|
||||
>
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="style" image-filters="color-to-alpha(#00BDFF)">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<Map 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"
|
||||
background-color="steelblue"
|
||||
>
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="style" image-filters="color-to-alpha(#BCDAF5)">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<Map 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"
|
||||
background-color="steelblue"
|
||||
>
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="style" image-filters="color-to-alpha(black)">
|
||||
<Rule>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map background-color="white" srs="+init=epsg:32630" minimum-version="0.7.2">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="DISCRETE RAINBOW" direct-image-filters="color-to-alpha(white)" image-filters="color-to-alpha(yellow),color-to-alpha(blue)">
|
||||
<Rule>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map background-color="white" srs="+init=epsg:32630" minimum-version="0.7.2">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="DISCRETE RAINBOW" image-filters="color-to-alpha(black)">
|
||||
<Rule>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map background-color="white" srs="+init=epsg:32630" minimum-version="0.7.2">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<!-- blue yellow orange indigo green red transparent black white -->
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<Map background-color="white" srs="+init=epsg:32630" minimum-version="0.7.2">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">512,512</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="two-value">
|
||||
<Rule>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">750,250</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="line">
|
||||
<Rule>
|
||||
|
@ -36,6 +39,7 @@
|
|||
<StyleName>text</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-12, -4, 12, 4</Parameter>
|
||||
<Parameter name="file">../data/repeat-labels.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">750,250</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="line">
|
||||
<Rule>
|
||||
|
@ -36,6 +39,7 @@
|
|||
<StyleName>text</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-12, -4, 12, 4</Parameter>
|
||||
<Parameter name="file">../data/repeat-labels.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">750,250</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="line">
|
||||
<Rule>
|
||||
|
@ -36,6 +39,7 @@
|
|||
<StyleName>text</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">csv</Parameter>
|
||||
<Parameter name="extent">-12, -4, 12, 4</Parameter>
|
||||
<Parameter name="file">../data/repeat-labels.csv</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue