[mapserver-users] Stretching subset of a raster
Lime, Steve D (MNIT)
steve.lime at state.mn.us
Thu Jun 13 10:45:33 PDT 2019
Hi Asen: Hmmm… What version of MapServer and GDAL? The scaling should be happening in GDAL before the data hit MapServer so the [pixel] values MapServer gets are already between 0-255 in both of your cases. What I don’t know is what GDAL does with values outside the scaling range – so with SCALE=10,20 what do 5 or 50 get mapped to.
Do you have a sample GeoTiff to play with?
--Steve
From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Radov, Asen (GSFC-619.0)[UNIVERSITY OF MARYLAND]
Sent: Wednesday, June 12, 2019 3:40 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Stretching subset of a raster
This message may be from an external email source.
Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center.
Hello,
Can someone help me with this issue?
https://gis.stackexchange.com/questions/316651/mapserver-processing-scale-a-b-does-not-stretch-data<https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__gis.stackexchange.com_questions_316651_mapserver-2Dprocessing-2Dscale-2Da-2Db-2Ddoes-2Dnot-2Dstretch-2Ddata%26d%3DDwMGaQ%26c%3DApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk%26r%3De281LxOLUXWX77lCDwwDG7yS4rW9wU7C6637XRybRqc%26m%3DNS38yaLTmsm6irtRXIRVXd-7QakCAwBaL1ubY3PECjs%26s%3DP-SLcTl5e-OHR1L68wOjGqdURUiDhstrL6ORn5w3rbY%26e%3D&data=02%7C01%7Csteve.lime%40state.mn.us%7C8bed199fd45341a12a8d08d6ef776981%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0%7C636959693533127749&sdata=KbsYs7Is173nVr2We5iTpgMoY%2B00bGG9KXu1kSXlxlk%3D&reserved=0>
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190613/18b6699a/attachment.htm>
More information about the MapServer-users
mailing list