[mapserver-users] SLD ExternalGraphic OnlineResource Validation
Martin Over
martinover at gmx.de
Fri Mar 24 02:32:21 PDT 2017
Hi,
I get the following error:
mapserv(): Web application error. SLD ExternalGraphic OnlineResource value fails to validate against sld_external_graphic VALIDATION
In the mapfile:
WEB
...
VALIDATION
"sld_external_graphic" "/myPathTo/images/.*gif"
END
...
In the SLD xml:
<Graphic>
<ExternalGraphic>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="aw_kom_klaeranlagen_owb.gif"/>
<Format>image/gif</Format>
</ExternalGraphic>
<Size>12</Size>
</Graphic>
The image aw_kom_klaeranlagen_owb.gif ist available in /myPathTo/images/.
Has anybody a working example how it should be?
Best,
Martin
More information about the MapServer-users
mailing list