Alexander Bobrov ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Abb685e71-3552-4e90-ada2-ef4c200057ea
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMzZmMmViY2NkODBmNDUxYThhMjRkMzBkZjRiYTNhNzgiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-9595?atlOrigin=eyJpIjoiMzZmMmViY2NkODBmNDUxYThhMjRkMzBkZjRiYTNhNzgiLCJwIjoiaiJ9
 ) GEOS-9595 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9595?atlOrigin=eyJpIjoiMzZmMmViY2NkODBmNDUxYThhMjRkMzBkZjRiYTNhNzgiLCJwIjoiaiJ9
 ) Wrong charaster encoding in stile legend preview ( 
https://osgeo-org.atlassian.net/browse/GEOS-9595?atlOrigin=eyJpIjoiMzZmMmViY2NkODBmNDUxYThhMjRkMzBkZjRiYTNhNzgiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.17.0 Assignee: Unassigned Attachments: 
correct legend by wms.png, demo_abonents.sld, wrong legend.png Created: 
29/Apr/20 1:50 PM Environment:

microsoft windows 10, java 1.8.0.212, geoserver 2.17.0, ms sql 2017

Priority: Medium Reporter: Alexander Bobrov ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Abb685e71-3552-4e90-ada2-ef4c200057ea
 )

There are two way for preview legend of style. The first is wms 
getLegendGraphic request and it have execute good. The second way is preview 
style legend by special method in style edit page and it havent work correct 
with cyrillic particulary.
The url for wms way be like this
http://127.0.0.1:8083/geoserver/ows?service=wms&request=GetLegendGraphic&format=image/png&width=50&height=50&layer=te:AbonentsTE&legend_options=forceLabels:on
And url for preview legend at style edit page be like this
http://127.0.0.1:8083/geoserver/web/wicket/bookmarkable/org.geoserver.wms.web.data.StyleEditPage?9-IResourceListener-styleForm-context-panel-legendContainer-legendImg&name=demo_abonents&workspace=te&antiCache=1588158527777

Also I attached result for both methods and style sld file

( 
https://osgeo-org.atlassian.net/browse/GEOS-9595#add-comment?atlOrigin=eyJpIjoiMzZmMmViY2NkODBmNDUxYThhMjRkMzBkZjRiYTNhNzgiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9595#add-comment?atlOrigin=eyJpIjoiMzZmMmViY2NkODBmNDUxYThhMjRkMzBkZjRiYTNhNzgiLCJwIjoiaiJ9
 )

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#100125- 
sha1:e06514a )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to