[Geoserver-devel] [JIRA] (GEOS-7025) Specifying a non-existing icon in a style creates a new empty file

Torben Barsballe created an issue

GeoServer / BugGEOS-7025

Specifying a non-existing icon in a style creates a new empty file

Issue Type:

BugBug

Assignee:

Unassigned

Created:

15/May/15 5:52 PM

Priority:

MediumMedium

Reporter:

Torben Barsballe

If you specify a non-existant external graphic in a style, when you try to render the style an empty file of the same name will be created in that location. For example, using the following point symbolizer will create the file icon.svg in your style directory:

<PointSymbolizer>
  <Graphic>
    <ExternalGraphic>
      <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="icon.svg"/>
      <Format>image/svg+xml</Format>
    </ExternalGraphic>
    <Size>20</Size>
  </Graphic>
</PointSymbolizer>

While this example uses a relative path, the same thing will occur if you use an absolute file path.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.5-OD-03-002#65000-sha1:b8f65f8)

Atlassian logo