Fixing other test cases for new textsymbolizer syntax
This commit is contained in:
parent
634e9014e2
commit
e830559d81
@ -28,7 +28,7 @@
|
||||
"srs":"",
|
||||
"class":"",
|
||||
"Datasource":{
|
||||
"file":"http://dl.dropbox.com/u/2398828/world-labels2.zip",
|
||||
"file":"http://tilemill-data.s3.amazonaws.com/natural-earth-10m-1.3.0/populated_places_simple.zip",
|
||||
"type":"shape"
|
||||
},
|
||||
"geometry":"point"
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -7,41 +7,41 @@
|
||||
<Rule>
|
||||
<MaxScaleDenominator>400000</MaxScaleDenominator>
|
||||
<Filter>([area] > 16000000)</Filter>
|
||||
<TextSymbolizer name="[name]" face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" />
|
||||
<TextSymbolizer face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" >[name]</TextSymbolizer>
|
||||
</Rule>
|
||||
<Rule>
|
||||
<MaxScaleDenominator>200000</MaxScaleDenominator>
|
||||
<Filter>([area] > 4000000)</Filter>
|
||||
<TextSymbolizer name="[name]" face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" />
|
||||
<TextSymbolizer face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" >[name]</TextSymbolizer>
|
||||
</Rule>
|
||||
<Rule>
|
||||
<MaxScaleDenominator>100000</MaxScaleDenominator>
|
||||
<Filter>([area] > 1000000)</Filter>
|
||||
<TextSymbolizer name="[name]" face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" />
|
||||
<TextSymbolizer face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" >[name]</TextSymbolizer>
|
||||
</Rule>
|
||||
<Rule>
|
||||
<MaxScaleDenominator>50000</MaxScaleDenominator>
|
||||
<Filter>([area] > 500000)</Filter>
|
||||
<TextSymbolizer name="[name]" face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" />
|
||||
<TextSymbolizer face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" >[name]</TextSymbolizer>
|
||||
</Rule>
|
||||
<Rule>
|
||||
<MaxScaleDenominator>25000</MaxScaleDenominator>
|
||||
<Filter>([area] > 250000)</Filter>
|
||||
<TextSymbolizer name="[name]" face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" />
|
||||
<TextSymbolizer face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" >[name]</TextSymbolizer>
|
||||
</Rule>
|
||||
<Rule>
|
||||
<MaxScaleDenominator>12500</MaxScaleDenominator>
|
||||
<Filter>([area] > 125000)</Filter>
|
||||
<TextSymbolizer name="[name]" face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" />
|
||||
<TextSymbolizer face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" >[name]</TextSymbolizer>
|
||||
</Rule>
|
||||
<Rule>
|
||||
<MaxScaleDenominator>5000</MaxScaleDenominator>
|
||||
<Filter>([area] > 62500)</Filter>
|
||||
<TextSymbolizer name="[name]" face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" />
|
||||
<TextSymbolizer face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" >[name]</TextSymbolizer>
|
||||
</Rule>
|
||||
<Rule>
|
||||
<MaxScaleDenominator>2500</MaxScaleDenominator>
|
||||
<TextSymbolizer name="[name]" face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" />
|
||||
<TextSymbolizer face-name="Helvetica" halo-fill="#ffffff" halo-radius="2" placement="interior" size="11" wrap-width="20" >[name]</TextSymbolizer>
|
||||
</Rule>
|
||||
</Style>
|
||||
<Layer name="world"
|
||||
|
@ -8,7 +8,7 @@
|
||||
</FontSet>
|
||||
<Style name="world" filter-mode="first">
|
||||
<Rule>
|
||||
<TextSymbolizer name="[NAME]" size="11" fontset-name="fontset-0" />
|
||||
<TextSymbolizer size="11" fontset-name="fontset-0">[NAME]</TextSymbolizer>
|
||||
</Rule>
|
||||
</Style>
|
||||
<Layer
|
||||
|
@ -7,21 +7,24 @@
|
||||
<Rule>
|
||||
<MaxScaleDenominator>6500000</MaxScaleDenominator>
|
||||
<MinScaleDenominator>3000000</MinScaleDenominator>
|
||||
<TextSymbolizer size="12" name="[COUNTRY]" face-name="DejaVu Sans Book" fill="#000000" />
|
||||
<TextSymbolizer size="12" face-name="DejaVu Sans Book" fill="#000000">[COUNTRY]</TextSymbolizer>
|
||||
|
||||
</Rule>
|
||||
<Rule>
|
||||
<MaxScaleDenominator>12500000</MaxScaleDenominator>
|
||||
<MinScaleDenominator>6500000</MinScaleDenominator>
|
||||
<TextSymbolizer size="11" name="[COUNTRY]" face-name="DejaVu Sans Book" fill="#000000" />
|
||||
<TextSymbolizer size="11" face-name="DejaVu Sans Book" fill="#000000">[COUNTRY]</TextSymbolizer>
|
||||
|
||||
</Rule>
|
||||
<Rule>
|
||||
<MaxScaleDenominator>25000000</MaxScaleDenominator>
|
||||
<MinScaleDenominator>12500000</MinScaleDenominator>
|
||||
<TextSymbolizer size="10" name="[COUNTRY]" face-name="DejaVu Sans Book" fill="#000000" />
|
||||
<TextSymbolizer size="10" face-name="DejaVu Sans Book" fill="#000000">[COUNTRY]</TextSymbolizer>
|
||||
|
||||
</Rule>
|
||||
<Rule>
|
||||
<MaxScaleDenominator>50000000</MaxScaleDenominator>
|
||||
<TextSymbolizer size="9" name="[COUNTRY]" face-name="DejaVu Sans Book" fill="#000000" />
|
||||
<TextSymbolizer size="9" face-name="DejaVu Sans Book" fill="#000000">[COUNTRY]</TextSymbolizer>
|
||||
</Rule>
|
||||
</Style>
|
||||
<Layer
|
||||
|
Loading…
Reference in New Issue
Block a user