From philippe.ghesquiere at airbus.com Mon Mar 2 01:44:17 2026 From: philippe.ghesquiere at airbus.com (Philippe Ghesquiere) Date: Mon, 2 Mar 2026 10:44:17 +0100 Subject: [MapServer-users] WMS with a GPKG-based layer : different responses, dependending on version (1.1.1 vs 1.3.0) In-Reply-To: <5490829a-67c2-4713-930d-e9d29338f64d@app.fastmail.com> References: <5490829a-67c2-4713-930d-e9d29338f64d@app.fastmail.com> Message-ID: Hi Seth, I opened a new issue: #7450 . I tried to upload the TGZ archive, containing the GPKG file, but it was refused. Thus, I gave a link to my google drive, but this is not really "safe" as this data may not be available "for ever". Is there a way to upload TGZ on github? Philippe On Sat, Feb 28, 2026 at 7:09?PM Seth G wrote: > That's some great debugging Jukka! > > Philippe - seems like a valid issue. Would you be able to open an issue > with these details? Including the workaround as this could be a hard issue > to fix/test, so it may be open a while. > > Seth > > On Fri, Feb 27, 2026, at 5:58 PM, Philippe Ghesquiere via MapServer-users > wrote: > > Hi Jukka, > > Thanks for your clear, in depth explanation. > Your "OVERSAMPLE_RATIO=1.0" workaround works just fine. And it makes sense > to me. > > Philippe > > On Fri, Feb 27, 2026 at 3:27?PM Rahkonen Jukka < > jukka.rahkonen at maanmittauslaitos.fi> wrote: > > Hi, > > Thank you for the test package. I think I know what happens and I have a > fix or a workaround for you. > > I added some more debugging first, not sure if all these were really > needed. > > CONFIG MS_ERRORFILE "c:\ms4w_data\test2\errorfile.txt" > CONFIG "CPL_DEBUG" "ON" > CONFIG "PROJ_DEBUG" "ON" > > The MS_ERRORFILE shows what is the difference. > > > WMS 1.1.0 is using method "msDrawRasterLayerGDAL()" > > msDrawRasterLayerGDAL(): Entering transform. > msDrawRasterLayerGDAL(): src=0,0,4096,2048, dst=0,10,994,498 > > WMS 1.3.0 probably believes that is must do warping and it selects to use > method "msDrawGDAL(Image_Layer)" > > msResampleGDALToMap in effect: cellsize = 0.181087 > msDrawGDAL(Image_Layer): using RAW_WINDOW=0 0 4096 2048, dst=0,0,1988,994 > > I do not understand the details, but in WMS 1.3.0 case the values in "dst" > (destination) are about doubled. > > The Apache error log shows that depending on the WMS version, GDAL selects > different overview levels from the GeoPackage, either "overview 1024 x 512" > or "overview 2048 x 1024" > > Maybe the best fix for this case would be to make Mapserver consider that > EPSG:4326 and CRS:84 are the same and no warping is needed between those > two. And therefore there is no need to select the other code path. > > As a workaround, see https://mapserver.org/input/raster.html and add this > line into your LAYER: > PROCESSING "OVERSAMPLE_RATIO=1.0" > Oversampling means that higher resolution data than what is needed for the > output is read in for warping. That improves the quality of the warped > result. That is fine for orthophotos and scanned maps, but in your use case > the better resolution overview contains also different data from another > zoom level. > > I tried also "PROCESSING ALLOW_OVERSAMPLE=NO" but for some reason it did > not work for me. I was testing with a bit old MapServer version 8.3.0-dev > (MS4W 5.0.0). > > -Jukka Rahkonen- > > The information in this e-mail is confidential. The contents may not be > disclosed or used by anyone other than the addressee. Access to this e-mail > by anyone else is unauthorised. > If you are not the intended recipient, please notify Airbus immediately > and delete this e-mail. > Airbus cannot accept any responsibility for the accuracy or completeness > of this e-mail as it has been sent over public networks. If you have any > concerns over the content of this message or its Accuracy or Integrity, > please contact Airbus immediately. > All outgoing e-mails from Airbus are checked using regularly updated virus > scanning software but you should take whatever measures you deem to be > appropriate to ensure that this message and any attachments are virus free. > _______________________________________________ > MapServer-users mailing list > MapServer-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > > > The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Mon Mar 2 02:07:55 2026 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka) Date: Mon, 2 Mar 2026 10:07:55 +0000 Subject: [MapServer-users] WMS with a GPKG-based layer : different responses, dependending on version (1.1.1 vs 1.3.0) In-Reply-To: References: <5490829a-67c2-4713-930d-e9d29338f64d@app.fastmail.com> Message-ID: Hi, By the documentation .tgz should be supported https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files#archive-and-compressed-files. But is that any better than zip? -Jukka Rahkonen- ________________________________________ L?hett?j?: Philippe Ghesquiere L?hetetty: Maanantai 2. maaliskuuta 2026 11.44 Vastaanottaja: Seth G Kopio: Rahkonen Jukka ; MapServer Users ; Sylvain Pomeon Aihe: Re: [MapServer-users] WMS with a GPKG-based layer : different responses, dependending on version (1.1.1 vs 1.3.0) Hi Seth,I opened a new issue: #7450.I tried to upload the TGZ archive, containing the GPKG file, but it was refused.Thus, I gave a link to my google drive, but this is not really "safe" as this data may not be available "for ever".Is there a way to upload TGZ on github?PhilippeOn Sat, Feb 28, 2026 at 7:09?PM Seth G wrote:That's some great debugging Jukka!Philippe - seems like a valid issue. Would you be able to open an issue with these details? Including the workaround as this could be a hard issue to fix/test, so it may be open a while.SethOn Fri, Feb 27, 2026, at 5:58 PM, Philippe Ghesquiere via MapServer-users wrote:Hi Jukka,Thanks for your clear, in depth explanation.Your "OVERSAMPLE_RATIO=1.0" workaround?works just fine. And it makes sense to me.PhilippeOn Fri, Feb 27, 2026 at 3:27?PM Rahkonen Jukka wrote:Hi,Thank you for the test package. I think I know what happens and I have a fix or a workaround for you.I added some more debugging first, not sure if all these were really needed.CONFIG MS_ERRORFILE "c:\ms4w_data\test2\errorfile.txt"CONFIG "CPL_DEBUG" "ON"CONFIG "PROJ_DEBUG" "ON"The MS_ERRORFILE shows what is the difference.WMS 1.1.0 is using method "msDrawRasterLayerGDAL()"msDrawRasterLayerGDAL(): Entering transform.msDrawRasterLayerGDAL(): src=0,0,4096,2048, dst=0,10,994,498WMS 1.3.0 probably believes that is must do warping and it selects to use method "msDrawGDAL(Image_Layer)"msResampleGDALToMap in effect: cellsize = 0.181087msDrawGDAL(Image_Layer): using RAW_WINDOW=0 0 4096 2048, dst=0,0,1988,994I do not understand the details, but in WMS 1.3.0 case the values in "dst" (destination) are about doubled.The Apache error log shows that depending on the WMS version, GDAL selects different overview levels from the GeoPackage, either "overview 1024 x 512" or "overview 2048 x 1024"Maybe the best fix for this case would be to make Mapserver consider that EPSG:4326 and CRS:84 are the same and no warping is needed between those two. And therefore there is no need to select the other code path.As a workaround, see https://mapserver.org/input/raster.html and add this line into your LAYER:PROCESSING "OVERSAMPLE_RATIO=1.0"Oversampling means that higher resolution data than what is needed for the output is read in for warping. That improves the quality of the warped result. That is fine for orthophotos and scanned maps, but in your use case the better resolution overview contains also different data from another zoom level.I tried also "PROCESSING ALLOW_OVERSAMPLE=NO" but for some reason it did not work for me. I was testing with a bit old MapServer version 8.3.0-dev? (MS4W 5.0.0).-Jukka Rahkonen-The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free._______________________________________________MapServer-users mailing listMapServer-users at lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/mapserver-usersThe information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free. From gkvoelkl at nelson-games.de Wed Mar 4 14:12:59 2026 From: gkvoelkl at nelson-games.de (=?utf-8?Q?Gerhard_V=C3=B6lkl?=) Date: Wed, 4 Mar 2026 23:12:59 +0100 Subject: [MapServer-users] Using WMS with Security Token? Message-ID: Hello, I have a WMS service on the internet. Is it possible to secure it so that only certain users can access it? With a security token or something similar? Any experience with this? Best Regards Gerhard From jmckenna at gatewaygeomatics.com Wed Mar 11 08:19:47 2026 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Wed, 11 Mar 2026 12:19:47 -0300 Subject: [MapServer-users] demo.mapserver.org maintenance today Message-ID: <8bf0ee2a-4bbc-46ef-8066-b3241a110156@gatewaygeomatics.com> Hi all, I'm performing some important upgrades on demo.mapserver.org today, so many services will be affected. thanks, -jeff -- Jeff McKenna GatewayGeo: Developers of MS4W, & offering MapServer Consulting/Dev co-founder of FOSS4G http://gatewaygeo.com/ From jmckenna at gatewaygeomatics.com Thu Mar 12 11:24:29 2026 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Thu, 12 Mar 2026 15:24:29 -0300 Subject: [MapServer-users] demo.mapserver.org maintenance today In-Reply-To: <8bf0ee2a-4bbc-46ef-8066-b3241a110156@gatewaygeomatics.com> References: <8bf0ee2a-4bbc-46ef-8066-b3241a110156@gatewaygeomatics.com> Message-ID: Thanks for everyone's patience. I've made many upgrades to the OGC services and libraries, it should be back online for everyone now: https://demo.mapserver.org/ As always, please let me know if you need anything, thanks, -jeff -- Jeff McKenna GatewayGeo: Developers of MS4W, & offering MapServer Consulting/Dev co-founder of FOSS4G http://gatewaygeo.com/ On 2026-03-11 12:19 p.m., Jeff McKenna via MapServer-users wrote: > Hi all, > > I'm performing some important upgrades on demo.mapserver.org today, so > many services will be affected. > > thanks, > > -jeff > > >