pietro.dorio (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5fbcdb924a09640069187b05
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMWU5ZGNiZDRhNTA0NGE5MzhjODYyYjhmOGIzNjk3NjYiLCJwIjoiaiJ9
) / Bug (
https://osgeo-org.atlassian.net/browse/GEOS-10378?atlOrigin=eyJpIjoiMWU5ZGNiZDRhNTA0NGE5MzhjODYyYjhmOGIzNjk3NjYiLCJwIjoiaiJ9
) GEOS-10378 (
https://osgeo-org.atlassian.net/browse/GEOS-10378?atlOrigin=eyJpIjoiMWU5ZGNiZDRhNTA0NGE5MzhjODYyYjhmOGIzNjk3NjYiLCJwIjoiaiJ9
) Render of svg in GetLegegendGraphic is not correct (
https://osgeo-org.atlassian.net/browse/GEOS-10378?atlOrigin=eyJpIjoiMWU5ZGNiZDRhNTA0NGE5MzhjODYyYjhmOGIzNjk3NjYiLCJwIjoiaiJ9
)
Issue Type: Bug Affects Versions: 2.20.2 Assignee: Unassigned Attachments:
2022-02-02_08h59_33.png, 2022-02-02_08h59_34.png, 2022-02-02_08h59_35.png,
2022-02-02_08h59_36.png, FK-BLP_1012100.png, FK-BLP_1012100.svg,
GeographicalNames-C66-S304.svg Components: WMS Created: 02/Feb/22 9:15 AM
Priority: Medium Reporter: pietro.dorio (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5fbcdb924a09640069187b05
)
*Promlem 1: Rendering*
When using SVGs for rendering, they are scaled and rendered correctly in the
GetMap call.
The same SVG image has rendering problems in the GetLegendGraphic
*Problem 2: Resizing*
The SVG images in the example above are small in nature.
If you use a very large SVG, it will not be scaled in the legend. For the next
example I use on the same layer, in two different rules, a 96dpi 50x25 PNG and
an SVG. See how the GetMap rendering is perfect, while the getlegend rendering
does not resize.
I can't tell if these are GeoServer bugs or SVG bugs. Our graphic designer said
that SVGs are ok, standard in version 1.0
(
https://osgeo-org.atlassian.net/secure/attachment/33841/33841_GeographicalNames-C66-S304.svg
)
(
https://osgeo-org.atlassian.net/secure/attachment/33842/33842_FK-BLP_1012100.svg
)
(
https://osgeo-org.atlassian.net/browse/GEOS-10378#add-comment?atlOrigin=eyJpIjoiMWU5ZGNiZDRhNTA0NGE5MzhjODYyYjhmOGIzNjk3NjYiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-10378#add-comment?atlOrigin=eyJpIjoiMWU5ZGNiZDRhNTA0NGE5MzhjODYyYjhmOGIzNjk3NjYiLCJwIjoiaiJ9
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100190-
sha1:4ce3a7c )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel