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

EPSG:23032 coordinate system not correctly reprojected #405

Open
1 task done
fisholo opened this issue Apr 26, 2023 · 7 comments
Open
1 task done

EPSG:23032 coordinate system not correctly reprojected #405

fisholo opened this issue Apr 26, 2023 · 7 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@fisholo
Copy link

fisholo commented Apr 26, 2023

Checklist

  • I've searched through the existing issues and this bug has never been reported before

Subject of the issue

Hi all ant thanks for the great work done!
I have a QGIS project wiht EPSG:23032. I've selected OSM as base layer and layers are not correctly reprojected on OSM. If i change EPSG of my QGIS project in 3857 all is in place.
Any ideas?

Thanks in advance

Fabrizio

Steps to reproduce

with EPSG:3857

immagine

with EPSG:23032

immagine

Environment

  • g3w-admin: 3.5.dev-20230412084905
  • g3w-client: 3.8.0-alpha.2
  • browser: Firefox 112.0
  • operating system: Windows 10 64-bit

Link to your project

No response

Additional info

No response

@fisholo fisholo added the bug Something isn't working label Apr 26, 2023
@volterra79
Copy link
Member

@fisholo can you provide us QGIS project and some data to replicate it? Thanks

@Raruto
Copy link
Collaborator

Raruto commented Apr 26, 2023

Environment

g3wsuite/g3w-suite:dev
firefox 112.0.2 (64 bit)
ubuntu 22.04

@fisholo please run g3wsdk.info() within your browser console and update the Environment section with the output of that command.

PS a link to the bugged project would also nice (occasionally, we like to see how others use this software in the real world.. 🗺️😟)

👋 Raruto

@wlorenzetti
Copy link
Member

Hi @fisholo , we have verified that the proj4 definition that QGIS server sends to the client is not correct, in order to solve this problem it is sufficient that you insert the correct proj4 definition for EPSG:23032 inside your settings_docker.py if you are deploying via docker otherwise if you are developing inside your local_settings.py like this:

G3W_PROJ4_EPSG = {
  23032:  "+proj=utm +zone=32 +ellps=intl +towgs84=-87,-98,-121,0,0,0,0 +units=m +no_defs +type=crs"
}

@fisholo
Copy link
Author

fisholo commented Apr 26, 2023

Environment

  • g3w-admin: 3.5.dev-20230412084905
  • g3w-client: 3.8.0-alpha.2
  • browser: Firefox 112.0
  • operating system: Windows 10 64-bit

I try to create an anonymous user and I give you link of the project!

@Raruto Raruto changed the title Coordinate system reprojection issue EPSG:23032 coordinate system not correctly reprojected Apr 26, 2023
@fisholo
Copy link
Author

fisholo commented Apr 26, 2023

Many many thanks @wlorenzetti! Works like a charm!
I can create an account for you in order to view the project in production, like @Raruto ask!
I'll send you a private mail with account specifications on an email that you give me.

Thanks a lot!

@Raruto
Copy link
Collaborator

Raruto commented Apr 27, 2023

@wlorenzetti do you think is something that will be fixed by upcoming QGIS server release?

Should we transfer this issue to the g3w-admin/issues?

@wlorenzetti
Copy link
Member

wlorenzetti commented Apr 27, 2023

NO is a QGIS server issue, we have to speak with QGIS developers.

@Raruto Raruto added wontfix This will not be worked on and removed bug Something isn't working labels Aug 9, 2023
@Raruto Raruto assigned wlorenzetti and unassigned volterra79 Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants