[mapserver-users] Issue - Style constantly changes using Mapserver 7.6
Laframboise,Felix (ECCC)
Felix.Laframboise at ec.gc.ca
Mon Feb 28 09:15:23 PST 2022
Hi Jeff,
Thanks for your answer! I did try multiple PROCESSING directives like LOAD_FULL_RES_IMAGE and LOAD_WHOLE_IMAGE but the issue is still there unfortunately (unless I missed a important directive).
For the purpose of investigation, I've put the same mapfile with a different DATA pointing to a specific GRIB2 like you asked (mapfile available here: https://pastebin.com/AHnzpCz6). The GRIB2 file is available to download here: https://dd.weather.gc.ca/model_hrdps/continental/grib2/00/001/CMC_hrdps_continental_PTYPE_SFC_0_ps2.5km_2022022800_P001-00.grib2
I can see the issue on QGIS with the extent "-89.52, 33.63, -42.32, 56.52" and zooming 1 or 2 times after (to the "-74.71, 37.78, -51.16, 49.24" extent for example). Here is a visual example (GIF) with this GRIB2 file on those extents: https://pasteboard.co/hQr1ukpIczI5.gif
Hope this new mapfile and GRIB2 file helps spotting the issue on your side. It seems this issue is there on all GRIB2 files following the " /CMC_hrdps_continental_PTYPE_SFC_0_ps2.5km_*.grib2/ " pattern (when zooming a lot, we see the green and orange changing constantly).
Thanks a lot in advance for your help!
Félix Laframboise
-----Original Message-----
From: MapServer-users <mapserver-users-bounces at lists.osgeo.org> On Behalf Of Jeff McKenna
Sent: Saturday, February 26, 2022 10:16 AM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Issue - Style constantly changes using Mapserver 7.6
You can also play with the various PROCESSING directives for raster layers to see if that helps:
https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmapserver.org%2Finput%2Fraster.html%23special-processing-directives&data=04%7C01%7Cfelix.laframboise%40ec.gc.ca%7C63bdf2fa2ad44f2d6dde08d9f93af1a8%7C740c5fd36e8b41769cc9454dbe4e62c4%7C0%7C0%7C637814854842707812%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7yXpR2OYBNaUOcaGSw8wuu1ZsxGbYQjHDBXOUG%2FWQwA%3D&reserved=0
(RESAMPLE, LOAD_FULL_RES_IMAGE, ...)
-jeff
On 2022-02-25 4:34 p.m., Jeff McKenna wrote:
> Maybe my test does show it a little (the brown "rain-snow" area to the
> left of my mouse, on top of the "rain" green area), as the resampling
> happens as you zoom-in.
>
> -jeff
>
>
>
>
> On 2022-02-25 4:19 p.m., Jeff McKenna wrote:
>> Hi Felix,
>>
>> I have tested your case here locally on Windows with MS4W (this will
>> be MS4W 5.0-beta3, that contains GDAL 3.4.1, MapServer 8.0dev, PROJ
>> 8.2.1 etc).
>>
>> I have used one of those GRIB2 files (
>> https://dd.weather.gc.ca/model_hrdps/continental/grib2/00/001/CMC_hrd
>> ps_continental_PTYPE_SFC_0_ps2.5km_2022022500_P001-00.grib2
>> ) and created a WMS service through MS4W, and then used QGIS 3.24 to
>> add the WMS service, and zoomed-in 3 times : see the animated gif at
>> https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpas
>> teboard.co%2FN9LZcB9Nfgpc.gif&data=04%7C01%7Cfelix.laframboise%40
>> ec.gc.ca%7C63bdf2fa2ad44f2d6dde08d9f93af1a8%7C740c5fd36e8b41769cc9454
>> dbe4e62c4%7C0%7C0%7C637814854842707812%7CUnknown%7CTWFpbGZsb3d8eyJWIj
>> oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&a
>> mp;sdata=lL0i5%2FShEe8AkSgKWbrrIaKZ7icSvrS1dhnLUpGr4AU%3D&reserve
>> d=0
>>
>> I don't see your issue.
>>
>> Could you pick one GRIB2 file (the one that is shown in the extents
>> of your image) and change your mapfile to use that single data file
>> (no
>> patterns) and reproduce your issue?
>>
>> If yes, let us know here the exact filename that is shown in your
>> image (and the exact extents to use).
>>
>> Have a nice weekend,
>>
>> -jeff
>>
>>
>>
>>
>>
>
>
--
Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training co-founder of FOSS4G
https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgatewaygeo.com%2F&data=04%7C01%7Cfelix.laframboise%40ec.gc.ca%7C63bdf2fa2ad44f2d6dde08d9f93af1a8%7C740c5fd36e8b41769cc9454dbe4e62c4%7C0%7C0%7C637814854842707812%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Jvr3stU159osxOxEPCIiEpcwyGVwMARRBmx6vbu0LPA%3D&reserved=0
_______________________________________________
MapServer-users mailing list
MapServer-users at lists.osgeo.org
https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=04%7C01%7Cfelix.laframboise%40ec.gc.ca%7C63bdf2fa2ad44f2d6dde08d9f93af1a8%7C740c5fd36e8b41769cc9454dbe4e62c4%7C0%7C0%7C637814854842707812%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=eMIcGnu%2FFkS8vN70sfa7dgBVR99nrP%2BigJ4F9viCqZA%3D&reserved=0
More information about the MapServer-users
mailing list