camptocamp / docker-mapserver

https://hub.docker.com/r/camptocamp/mapserver/
BSD 2-Clause "Simplified" License
44 stars 29 forks source link

Layer shifted - mailing list user suggests problem with proj #853

Open sgofferj opened 3 months ago

sgofferj commented 3 months ago

Hi there and thanks for making mapserver accessible to docker users!

I have the problem that my mapserver instance based on your arm64 image outputs a layer shifted 180° East. I posted about it on the mailing list (https://lists.osgeo.org/pipermail/mapserver-users/2024-July/083541.html) and Jaques Tati suspected it has something to do with proj (https://lists.osgeo.org/pipermail/mapserver-users/2024-July/083542.html). Unfortunately I lack understanding of the internal workings of mapserver so I'm unable to debug that. However, if it has something to do with proj and its config directories, I believe you guys might be the right ones to investigate?

BR: Stefan

sbrunner commented 3 months ago

In the container, you can try to rename /usr/local/share/proj to /usr/local/share/proj9.

sgofferj commented 3 months ago

Will try and report back

sgofferj commented 2 months ago

Nop, that makes mapserver very unhappy...: msProcessProjection(): Projection library error. proj error "Unknown error (code 2)" for "init=epsg:4326"