mapnik/tests/visual_tests/styles/postgis-inline.xml

45 lines
6.5 KiB
XML
Raw Normal View History

<Map srs="+init=epsg:3857" maximum-extent="-20037508.34,-20037508.34,20037508.34,20037508.34">
<Style name="carto_tests" filter-mode="first" >
<Rule>
<LineSymbolizer stroke="[stroke]" />
<TextSymbolizer
size="[size]"
fill="[fill]"
placement="[placement]"
face-name="DejaVu Sans Book"
halo-radius="[halo_radius]"
placement-type="list">
[name]
<Placement>[abbr1]</Placement>
<Placement>[abbr2]</Placement>
<Placement>[abbr3]</Placement>
</TextSymbolizer>
</Rule>
</Style>
<Layer name="carto_tests"
srs="+init=epsg:3857" status="on">
<StyleName>carto_tests</StyleName>
<Datasource>
<Parameter name="type"><![CDATA[postgis]]></Parameter>
<Parameter name="dbname">template_postgis</Parameter>
<Parameter name="extent_from_subquery">true</Parameter>
<Parameter name="simplify"><![CDATA[true]]></Parameter>
<Parameter name="geometry_field"><![CDATA[geom]]></Parameter>
<Parameter name="srid"><![CDATA[3857]]></Parameter>
<Parameter name="table"><![CDATA[
(SELECT
'name' as name,
'abbr1' as abbr1,
'abbr2' as abbr2,
'abbr3' as abbr3,
'#000000' as stroke,
9 as size,
'#000000' as fill,
'line' as placement,
1 as halo_radius,
(ST_Dump('0102000020E61000009D0000005C8FC2753A6345418FC2F5907E246041A4703D4A0963454152B81E858424604114AE47C100634541CDCCCCEC84246041A4703DAAC46245413333339386246041B81E856BB862454114AE47A98724604185EB5178AD624541AE47E15A8924604152B81EC5A4624541666666EE8B2460416666664696624541000000D8902460413333333385624541D7A370F5952460415C8FC2157A62454185EB51609824604152B81E256062454148E17AA49C24604114AE47A12B62454166666656A424604152B81EA51C6245417B14AE4FA6246041B81E85CB0E6245418FC2F550A7246041CDCCCC6C01624541B81E85A3A7246041E17A140EEF6145413D0AD75BA7246041CDCCCC6CCC614541E17A14DEA5246041713D0A77A96145419A999959A62460416666668694614541E17A14DEA524604100000040846145413D0AD723A5246041F6285CCF486145411F85EBA1A0246041A4703DAA21614541F6285C0F9F2460417B14AE070C614541AE47E1729D24604152B81EA5F0604541C3F528249B246041F6285C4FD6604541D7A370CD98246041B81E85EBC76045411F85EB2996246041EC51B89EA660454148E17AE48E246041A4703DEA98604541000000988D246041666666E66D604541EC51B8BE8D246041C3F528BC636045417B14AEE78D2460417B14AE474A604541AE47E1828E246041EC51B8BE33604541333333C391246041295C8F0220604541B81E85D3952460413D0AD72306604541000000389C246041D7A3709DF45F4541713D0AD79F246041333333B3EA5F4541A4703D62A1246041B81E85CBE05F45411F85EB41A2246041D7A3709DD55F4541C3F52874A22460417B14AE67C95F45417B14AED7A12460413D0AD743AD5F4541000000909F2460418FC2F508895F45411F85EB819C2460417B14AEE7795F45415C8FC2659A2460413D0AD7236A5F4541000000889624604152B81EA5645F4541AE47E1FA932460418FC2F588605F4541E17A14568F2460415C8FC2D55C5F4541295C8F028C246041EC51B89E595F45417B14AEE78924604133333393545F45417B14AEB787246041713D0A774B5F454185EB51E884246041EC51B89E3D5F4541666666FE81246041000000E0265F454185EB51987D246041A4703DAA105F4541C3F528B47A2460417B14AE47065F4541000000C8782460417B14AE27FF5E4541A4703DE27624604114AE47E1F85E4541E17A1476742460413D0AD7A3EB5E4541E17A14866D246041CDCCCC4CE55E4541000000906B246041CDCCCCCCDE5E4541C3F5282C6A246041333333D3D75E4541AE47E1B269246041EC51B85ED05E4541B81E85A369246041B81E85CBC45E4541F6285C5F6A246041295C8F62B45E45413D0AD76B6B2460418FC2F5889F5E4541CDCCCC246B246041666666E6915E454148E17A346B246041D7A3709D805E4541666666466C2460417B14AE07725E45415C8FC22D6E2460415C8FC2B5695E454152B81ED56E2460413D0AD703625E4541666666EE6E2460411F85EBB15A5E4541F6285CC76E2460411F85EBF14D5E45410AD7A3806C2460417B14AEE7355E45413333334365246041AE47E17A0F5E45413D0AD7CB5D246041EC51B81EFF5D4541666666D656246041E17A144EE05D4541A4703DDA48246041EC51B81ED85D454148E17A8C452460419A999919D25D454152B81EB543246041713D0A77C65D4541CDCCCCB441246041295C8F42BC5D454133333323402460419A9999D9A65D4541F6285C173E246041000000608A5D45417B14AE9F3B246041D7A370DD7A5D45417B14AEEF39246041B81E85EB705D454185EB515838246041AE47E15A635D4541F6285CA73524604100000020565D45418FC2F5B0332460413D0AD7E34A5D454152B81E8D32246041295C8FA22F5D4541C3F5280431246041D7A3705D285D4541000000C03024604114AE47A1205D454185EB51D030246041000000801B5D4541713D0AFF30246041E17A142E135D45413333339B31246041AE47E1DA0B5D4541EC51B88E32246041A4703D0AF95C45419A99996135246041A4703D2AE55C4541D7A3701538246041713D0AF7CE5C454152B81E953A246041713D0A57C05C45418FC2F5D83B24604152B81EE5B35C45410AD7A3783C2460417B14AEE78C5C4541666666263E246041AE47E1FA5C5C454100000030402460410AD7A370245C45413333337B42246041000000A0085C45410AD7A338432460417B14AE07FD5B454100000088432460413D0AD783EF5B45410AD7A3B843246041AE47E1DAE85B45410AD7A3C84324604185EB51F8DF5B4541000000B043246041D7A370DDD15B4541AE47E18A4324604185EB5138955B4541D7A370DD42246041CDCCCC8C625B454148E17ADC4124604114AE4741495B45417B14AE8F402460410AD7A370165B45413D0AD76B3C24604166666666005B4541D7A370753A24604148E17A54F85A4541F6285C1F3A246041666666A6EA5A4541295C8F023A246041CDCCCC4CDC5A4541B81E85CB3A2460411F85EBB1CA5A454152B81EED3C246041E17A146EA55A45416666666642246041F6285C8F825A45413D0AD75349246041EC51B8FE6D5A4541AE47E19A4E246041F6285C8F625A45418FC2F53052246041713D0AF75D5A454114AE477955246041AE47E1BA5C5A45415C8FC2AD59246041B81E85CB575A45415C8FC2456424604185EB51B83E5A45417B14AEDF63246041CDCCCC6C335A45410AD7A3086324604114AE4701085A45415C8FC24D5E246041CDCCCC8CF75945411F85EB795C2460410AD7A3F0F2594541C3F528D45B2460415C8FC275EB59
</Datasource>
</Layer>
</Map>