Phil,

 thank you for your vote.

> This looks like something I would actually use though I have some
> question marks about the json implementation. Its very hard to evaluate
> without writing some code to actually use it. For instance, it is not

Currently the javascript library we are using is under development but it will 
not be released until 12/12/12.

> clear to me what the advantage of serialising the image versus supplying
> a URL is.

Let's analyse differences:

Embedded URL advantages:
1. small and quick response body.
2. You can selectively download only really needed graphical resources.

Embedded URL disadvantages:
1. To show the graphic resources into the legend, multiple getLegendGraphic 
(filtered) requests to the GeoServer should be performed.

Embedded graphic resource advantages:
1. Get all the legend resources in one shot.
2. No other request are needed.

Embedded graphic resource disadvantages:
1. For some style you may have many external resources in some case this may 
result in a really big response.

So depending on the style you are using and the legend you want to generate, 
(sometime you only want to show the first (lower?) and the last (higher?) 
values), users may prefer the embedded url or the embedded graphic resource 
version.

Cheers,
Carlo Cancellieri

>
> Notice: This email and any attachments are confidential. If received in error 
> please destroy and immediately notify us. Do not copy or disclose the 
> contents.
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
                                          
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to