Jose Macchi (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5fbfd5d9aa1d30006f1cdfca
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNGU2YmU3N2M3YWYwNDllZDgzZDBhOTY4NmJlY2MzNWIiLCJwIjoiaiJ9
) / Improvement (
https://osgeo-org.atlassian.net/browse/GEOS-9814?atlOrigin=eyJpIjoiNGU2YmU3N2M3YWYwNDllZDgzZDBhOTY4NmJlY2MzNWIiLCJwIjoiaiJ9
) GEOS-9814 (
https://osgeo-org.atlassian.net/browse/GEOS-9814?atlOrigin=eyJpIjoiNGU2YmU3N2M3YWYwNDllZDgzZDBhOTY4NmJlY2MzNWIiLCJwIjoiaiJ9
) Support decorations with multiple layers and legend styling in WPS downloads
(
https://osgeo-org.atlassian.net/browse/GEOS-9814?atlOrigin=eyJpIjoiNGU2YmU3N2M3YWYwNDllZDgzZDBhOTY4NmJlY2MzNWIiLCJwIjoiaiJ9
)
Issue Type: Improvement Assignee: Unassigned Attachments:
99308331-951d4300-2836-11eb-8860-b799d3f09085.png Components: WPS Created:
01/Dec/20 2:23 PM Priority: Medium Reporter: Jose Macchi (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5fbfd5d9aa1d30006f1cdfca
)
This ticket involves improvements on decorations and legend styling on WPS
downloads, in a way that:
1) allow to style the background color, opacity and other styling attributed
for a LegendDecorator,
2) allow to add multiple legend decorations based on layers that are requested
in the WPS payload.
As an example of use, a request with this payload
<wps:Execute version= "1.0.0" service= "WPS"
(...)
<wps:Input>
<ows:Identifier> layer </ows:Identifier>
<wps:Data>
<wps:ComplexData xmlns:dwn = "http://geoserver.org/wps/download" >
<dwn:Layer>
<dwn:Name> tiger:tiger_roads, </dwn:Name>
<dwn:DecoratorName> layout1 </dwn:Name>
</dwn:Layer>
</wps:ComplexData>
</wps:Data>
</wps:Input>
(...)
<wps:Input>
<ows:Identifier> layer </ows:Identifier>
<wps:Data>
<wps:ComplexData xmlns:dwn = "http://geoserver.org/wps/download" >
<dwn:Layer>
<dwn:Name> tiger:poly_landmarks </dwn:Name>
<dwn:DecoratorName> layout2 </dwn:Name>
</dwn:Layer>
</wps:ComplexData>
</wps:Data>
</wps:Input>
</wps:DataInputs>
(...)
with these layouts definitions (layout1 and layout2)
<layout>
<decoration type= "layout_roads" affinity= "top,right" offset= "6,6"
size= "auto" >
<option name= "legend_options" value= "bgColor:0xFFFFEE;" " />
</decoration>
</layout>
and
<layout>
<decoration type= "layout_lands" affinity= "top,left" offset= "6,6"
size= "auto" >
<option name= "legend_options" value= "bgColor:0xFFFFEE;" " />
</decoration>
</layout>
would result in attached image.
Also it's possible to set a header area at top of result on which legends can
be placed (using a new optional Input for the WPS gs:downloadMap process)
(
https://osgeo-org.atlassian.net/browse/GEOS-9814#add-comment?atlOrigin=eyJpIjoiNGU2YmU3N2M3YWYwNDllZDgzZDBhOTY4NmJlY2MzNWIiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-9814#add-comment?atlOrigin=eyJpIjoiNGU2YmU3N2M3YWYwNDllZDgzZDBhOTY4NmJlY2MzNWIiLCJwIjoiaiJ9
)
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#100152-
sha1:66422ce )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel