[Geoserver-devel] Selective (per layer) interpolation method

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?

Cheers,
Carlo

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

Dott. Carlo Cancellieri
@cancellieric
Software Engineer

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

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


Makes sense to me, but i’ll delegate to others on how to apply the setting.

···

On Mon, Mar 18, 2013 at 7:59 AM, carlo cancellieri <carlo.cancellieri@anonymised.com> 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?

Cheers,
Carlo

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

Dott. Carlo Cancellieri
@cancellieric
Software Engineer

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

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
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

On Mon, Mar 18, 2013 at 2:59 PM, carlo cancellieri <carlo.cancellieri@anonymised.com> 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.:

nearest neighbor

nearest neighbor

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


Andrea,
this is the jira for the improvement in object:

https://jira.codehaus.org/browse/GEOS-5722

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?

This is a good POV and probably the right way to proceed.

Next improvement will be probably a better organization for the GUI setting :wink:

Ciao,
Carlo

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


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

Dott. Carlo Cancellieri
@cancellieric
Software Engineer

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

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