[mapserver-users] Stretching subset of a raster

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Jun 12 15:04:29 PDT 2019


Hi Asen,

What happens if you remove the PROCESSING line from your first test, 
save that image with a shp2img command, and then add PROCESSING 
"SCALE=10,20" and re-run shp2img?  The pixel values in the 10-20 range 
should be stretched in the second image, which you can compare to your 
first non-stretched image.

(if I am understanding your situation, ha)

-jeff




-- 
Jeff McKenna
MapServer Consulting and Training Services
https://gatewaygeomatics.com/




On 2019-06-12 4:39 PM, Radov, Asen (GSFC-619.0)[UNIVERSITY OF MARYLAND] 
wrote:
> Hello,
> 
> Can someone help me with this issue?
> 
> https://gis.stackexchange.com/questions/316651/mapserver-processing-scale-a-b-does-not-stretch-data 
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__gis.stackexchange.com_questions_316651_mapserver-2Dprocessing-2Dscale-2Da-2Db-2Ddoes-2Dnot-2Dstretch-2Ddata&d=DwMGaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=e281LxOLUXWX77lCDwwDG7yS4rW9wU7C6637XRybRqc&m=NS38yaLTmsm6irtRXIRVXd-7QakCAwBaL1ubY3PECjs&s=P-SLcTl5e-OHR1L68wOjGqdURUiDhstrL6ORn5w3rbY&e=>
> 
> Any help is greatly appreciated.
> 
> /Thank you, /
> 
> /Asen Radov/
> 
> //
> 
> /NASA Goddard Space Flight Center / Code 619/
> 
> /Phone: 301-614-6517/
> 
> /E-mail: asen.s.radov at nasa.gov <mailto:asen.s.radov at nasa.gov>/
> 
> 



More information about the mapserver-users mailing list