Opened 18 years ago

Closed 18 years ago

#1737 closed defect (duplicate)

WMS SLD <TextSymbolizer> <Label> - not according to SLD 1.0.0

Reported by: havard.tveite@… Owned by: mapserverbugs
Priority: high Milestone:
Component: WMS Server Version: 4.8
Severity: minor Keywords:
Cc:

Description

WMS - SLD:
When specifying <Label> in a <TextSymbolizer> this does not work:

<Label><ogc:PropertyName>kartnavn</ogc:PropertyName></Label>

While this works: <Label>kartnavn</Label>

According to the SLD documentation
(http://www.opengeospatial.org/docs/02-070.pdf) <ogc:PropertyName> should be
used inside <Label>.

The result of using ogc:PropertyName is a service exception (it ends up in the
postgis select statement - DECLARE mycursor BINARY CURSOR FOR SELECT
PropertyName::text,...).

Change History (2)

comment:1 by havard.tveite@…, 18 years ago

Mapserver version was 4.8.3.
MapServer version 4.8.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
INPUT=EPPL7 INPUT=SDE INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
DEBUG=MSDEBUG

comment:2 by bartvde@…, 18 years ago

Resolution: duplicate
Status: newclosed

*** This bug has been marked as a duplicate of 1857 ***
Note: See TracTickets for help on using tickets.