[mapserver-users] Can variables be used in "PROCESSING"?

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Tue Oct 1 06:40:02 PDT 2013


Correct, currently it doesn't.  Substitution does have a performance impact (have to check/validate potential values against all places it's allowed) so we've been mindful of use. You could hack mapfile.c (see layerSubstituteString() function) and try it...

Steve

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Rahkonen Jukka
Sent: Wednesday, September 25, 2013 10:57 AM
To: Mapserver-Users (mapserver-users at lists.osgeo.org)
Subject: [mapserver-users] Can variables be used in "PROCESSING"?

Hi,

Is this list correct http://mapserver.org/cgi/runsub.html#runsub? It does not mention PROCESSING.

I have been thinking that it would be cool to have a WMS client which could adjust on-the-fly from the client side
-  PROCESSING "BANDS=1,2,3" for making diffferent RGB versions of multi-channel images
- LUT, LUT_1, LUT_2 and LUT_3 for adjusting colours on-the-fly
- SCALE, SCALE_1, SCALE_2 and SCALE_3 for the same and especially for setting 16-bit DEMs or measument data into visible range for on-screen work.

Some clever individual could perhaps make an OpenLayers demo with cool controls like sliders and dragable LUT-curves.

By fiddling with RESAMPLE and OVERSAMPLE_RATIO it would also be possible to get images fast into screen but also with top quality if that is needed for printing.

-Jukka Rahkonen-
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list