Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with geotiff request for projection epsg:32661 #7188

Open
mraspaud opened this issue Nov 13, 2024 · 0 comments
Open

Problem with geotiff request for projection epsg:32661 #7188

mraspaud opened this issue Nov 13, 2024 · 0 comments

Comments

@mraspaud
Copy link

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)
Screenshot from 2024-11-12 16-24-14

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:
image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy