You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an image in polar stereographic with projection EPSG:32661 that I serv through mapserver.
Making a request to mapserver for that layer returns a geotiff that is wrongly navigated somehow, with a shift from south to north.
(example here shown in qgis)
I expect the resulting geotiff to show up correctly (eg in qgis) with regards to navigation.
Steps to reproduce the problem.
I'm starting mapserver 8.2.2 from the camptocamp docker image, serving a satelite image that is natively in epsg:32661 projection.
Once the server is started, and make a request for the same data, with the same projection, with the result in geotiff.
The resulting image is then visualised in eg gqis with reference coastline dataset, and it can be seen the image is off (while the original image is not).
The curl command to make the request: curl "http://localhost:8080/?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=TestLayer&CRS=EPSG:32661&BBOX=-5500000,-2000000,750000,7000000&WIDTH=800&HEIGHT=800&FORMAT=image/tiff" --output img.tiff
Attach simple test case (drag/drop it here)
Here is the test case, including the satellite image, the mapfile and the curl command to make the request: case_for_32661_navigation.zip
Here is the original satellite image shown in qgis:
Expected behavior and actual behavior.
I have an image in polar stereographic with projection EPSG:32661 that I serv through mapserver.
Making a request to mapserver for that layer returns a geotiff that is wrongly navigated somehow, with a shift from south to north.
(example here shown in qgis)
I expect the resulting geotiff to show up correctly (eg in qgis) with regards to navigation.
Steps to reproduce the problem.
I'm starting mapserver 8.2.2 from the camptocamp docker image, serving a satelite image that is natively in epsg:32661 projection.
Once the server is started, and make a request for the same data, with the same projection, with the result in geotiff.
The resulting image is then visualised in eg gqis with reference coastline dataset, and it can be seen the image is off (while the original image is not).
The curl command to make the request:
curl "http://localhost:8080/?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=TestLayer&CRS=EPSG:32661&BBOX=-5500000,-2000000,750000,7000000&WIDTH=800&HEIGHT=800&FORMAT=image/tiff" --output img.tiff
Attach simple test case (drag/drop it here)
Here is the test case, including the satellite image, the mapfile and the curl command to make the request:
case_for_32661_navigation.zip
Here is the original satellite image shown in qgis:
Operating system
Host os: Ubuntu 23.10
MapServer version and installation method
mapserv -v
:MapServer version 8.2.2 PROJ version 9.4 GDAL version 3.8 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=OGCAPI_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS SUPPORTS=PBF INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE INPUT=FLATGEOBUF
Using the dockerhub camptocamp mapserver build and starting it with podman.
https://hub.docker.com/r/camptocamp/mapserver
The text was updated successfully, but these errors were encountered: