[Geoserver-devel] [JIRA] (GEOS-9037) SVG external graphics need width and height attributes

ArnaudA created an issue

GeoServer / BugGEOS-9037

SVG external graphics need width and height attributes

Issue Type:

BugBug

Affects Versions:

2.14.0

Assignee:

Unassigned

Attachments:

LI_TFR30_CONTOUR2.svg

Created:

28/Nov/18 8:38 AM

Priority:

MediumMedium

Reporter:

ArnaudA

SVG files used as external graphics need a width and a height attribute (in pixel units) in the svg tag to be drawn properly.
If these attributes are not present in the opening SVG tag, geoserver seems to have difficulties using the fallback method provided by Batik’s getBounds() method.

Attached is an example SVG file that does not render properly without these attributes

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100095-sha1:fea7ff4)

Atlassian logo