lorenzo.pini ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cf6252deba18b0ea85a70d4 ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMTU1Mjk3MzUxOWMzNGI2MmIzNGU4ODc2MmU5N2UzYjgiLCJwIjoiaiJ9 ) / Bug ( https://osgeo-org.atlassian.net/browse/GEOS-9531?atlOrigin=eyJpIjoiMTU1Mjk3MzUxOWMzNGI2MmIzNGU4ODc2MmU5N2UzYjgiLCJwIjoiaiJ9 ) GEOS-9531 ( https://osgeo-org.atlassian.net/browse/GEOS-9531?atlOrigin=eyJpIjoiMTU1Mjk3MzUxOWMzNGI2MmIzNGU4ODc2MmU5N2UzYjgiLCJwIjoiaiJ9 ) WPS gs:DownloadMap process ignores legend decorator ( https://osgeo-org.atlassian.net/browse/GEOS-9531?atlOrigin=eyJpIjoiMTU1Mjk3MzUxOWMzNGI2MmIzNGU4ODc2MmU5N2UzYjgiLCJwIjoiaiJ9 ) Issue Type: Bug Affects Versions: 2.16.2, 2.17-RC Assignee: Unassigned Attachments: foo.xml, wps_downloadmap_request.xml Components: WPS Created: 06/Mar/20 10:03 AM Priority: Medium Reporter: lorenzo.pini ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cf6252deba18b0ea85a70d4 ) The WPS process gs:DownloadMap process, form the WPS Download plugin, does not apply the "legend" type WMS decorator. To reproduce: * Install WPS Plugin * Install WPS-Download plugin * Open the "giant_polygon" style * Add the "grass_fill.png" online resource * Preview the legend --> It shows a green square * Do a GetLegendGraphic of the tiger:giant_polygon layer ( http://localhost:8080/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&FORMAT=image%2Fpng&LAYER=tiger%3Agiant_polygon ) -->green square * Create a "layouts" folder in the geoserver datadir * Put the attached foo.xml file in the "layouts" folder * Do a GetMap with the format_options=layout:foo parameter to add the legend to the image ( http://localhost:8080/geoserver/wms?format_options=layout:foo&bbox=237.76611328125,4.5263671875,244.35791015625,11.1181640625&width=600&height=600&layers=tiger:giant_polygon&REQUEST=GetMap&FORMAT=image/png&styles=giant_polygon ) --> The legend is correct * Send a WPS with the same decorator layout. See the attached file for reference. Expected Result: The WPS output should show the legend Actual Result: The WPS output does not show the legend ( https://osgeo-org.atlassian.net/browse/GEOS-9531#add-comment?atlOrigin=eyJpIjoiMTU1Mjk3MzUxOWMzNGI2MmIzNGU4ODc2MmU5N2UzYjgiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-9531#add-comment?atlOrigin=eyJpIjoiMTU1Mjk3MzUxOWMzNGI2MmIzNGU4ODc2MmU5N2UzYjgiLCJwIjoiaiJ9 ) 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#100121- sha1:b4d24b6 )
_______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
