On Mon, Mar 18, 2013 at 2:59 PM, carlo cancellieri <
[email protected]> wrote:

> Hi all,
>  currently all the WMS requests are using the same interpolation method,
> I'd like to be able to select (by configuration) the interpolation method
> to use for a specific layer (overriding the global setting).
>
> Currently there's a setting for this into the 'Publishing' tab of the
> Layer configuration but this is used only in WCS requests.
>
> Since this is called 'Interpolation Methods', don't you think we can use
> this configuration setting to affect also the wms requests?
>
> Opinions? Suggestions? What do you think about this improvement?
>

My take: the GUI is not saying which service is consuming the
interpolation, and neither is the REST config, however, the interpolation
there is saved at the resource level, not at the layer (coverage.xml), e.g.:

<interpolationMethods>
<string>nearest neighbor</string>
</interpolationMethods>
<defaultInterpolationMethod>nearest neighbor</defaultInterpolationMethod>

So I would not mind reusing that setting for WMS as well... but it adds a
backwards incompatible change.
Say people never touched the WCS config, so they have NN as the default
interpolation, but
WMS global says bilinear instead.

We do this change, they upgrade, and voilĂ , all raster layers start working
in NN because their local
config says so.

_Maybe_ it's better to add a new WMS specific flag in LayerInfo, and remark
in the GUI that the
existing interpolation config is meant for WCS?

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to