<Rule>
<MaxScaleDenominator>250000</MaxScaleDenominator>
<TextSymbolizer><Label><ogc:PropertyName>name</ogc:PropertyName></Label><Font><CssParameter
name="font-family">Arial</CssParameter><CssParameter
name="font-size">11</CssParameter></Font><LabelPlacement><PointPlacement><AnchorPoint><AnchorPointX>0</AnchorPointX><AnchorPointY>0</AnchorPointY></AnchorPoint><Displacement><DisplacementX>0</DisplacementX><DisplacementY>10</DisplacementY></Displacement></PointPlacement></LabelPlacement><Fill><CssParameter
name="fill">#000000</CssParameter></Fill>
<Priority><PropertyName>year</PropertyName></Priority>
</TextSymbolizer>
</Rule>
Adding the priority tag resulted in validation of:
line 63: cvc-complex-type.2.4.a: Invalid content was found starting with
element 'PropertyName'. One of '{"http://www.opengis.net/ogc":expression}' is
expected.
(line 63 is the priority).
Also, this labelling is producing unexpected results. With or without the
priority tag, 2 points very very close together get no label at all. I would
expect one of them to label. Another point has label at one zoom, but when
zooming in further, it disappears. (I am using Tiled).
Notice: This email and any attachments are confidential and may not be used,
published or redistributed without the prior written consent of the Institute
of Geological and Nuclear Sciences Limited (GNS Science). If received in error
please destroy and immediately notify GNS Science. Do not copy or disclose the
contents.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users