qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.62k stars 3.01k forks source link

Transformation of .shp files with Proj library #56343

Open A-Nesse1 opened 9 months ago

A-Nesse1 commented 9 months ago

What is the bug or the crash?

Transformation of shape files between EPSG 27391 to EPSG 25832 is not correct. If I use Json or DWG format it works fine. I am using the Proj library for transformation.

Steps to reproduce the issue

EPSG-27391.zip correct 27391 and 25832-GeoJson.zip

Versions

3.34.3

Supported QGIS version

New profile

Additional context

No response

m-kuhn commented 8 months ago

Can you add the precise steps to reproduce?

A-Nesse1 commented 8 months ago

Yes I can. I have attached a shape file and a GeoJson file in EPSG27391, then you can try to transform it in Q-GIS to EPSG 26832 or to EPSG 32632. You will then see the differences.

Anders

Anders Nesse Phone: +47 45 40 15 79 | @.***

Norconsult Digital AS Kjørboveien 22, NO-1337 Sandvika Tel: +47 67 57 10 00 | www.norconsult.no

Every day we improve everyday life

From: Matthias Kuhn @.> Sent: Sunday, February 25, 2024 9:53 PM To: qgis/QGIS @.> Cc: Anders Nesse @.>; Author @.> Subject: Re: [qgis/QGIS] Transformation of .shp files with Proj library (Issue #56343)

Det er ikkje ofte du får e-post frå @.*** Les meir om kvifor dette er viktig.https://aka.ms/LearnAboutSenderIdentification

Can you add the precise steps to reproduce?

- Reply to this email directly, view it on GitHubhttps://github.com/qgis/QGIS/issues/56343#issuecomment-1963057863, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BGEYMQ3SGV7CNMRQAZZFH5TYVOQCHAVCNFSM6AAAAABDH44FBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRTGA2TOOBWGM. You are receiving this because you authored the thread.Message ID: @.***>

CONFIDENTIALITY AND DISCLAIMER NOTICE: This message is for the sole use of the intended recipients and may contain confidential information. If you are not an intended recipient, you are requested to notify the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure or distribution is prohibited. While the sender has taken reasonable precautions to minimize the risk of viruses, we cannot warrant the absence of, or accept liability for, any such viruses in this message or any attachment.

m-kuhn commented 8 months ago

Can you add a screencast (or a few screenshots) that show how you transform? You particularly mention the proj library, so I wonder how you explicitly invoke or avoid that.

A-Nesse1 commented 8 months ago

Attached is my workflow in word format and EPSG27391 files in Shape and GeoJson.

If you try them, you will hopefully see that the transformation are different for .shp and .json

Anders

Anders Nesse Phone: +47 45 40 15 79 | @.***

Norconsult Digital AS Kjørboveien 22, NO-1337 Sandvika Tel: +47 67 57 10 00 | www.norconsult.no

Every day we improve everyday life

From: Matthias Kuhn @.> Sent: Monday, February 26, 2024 5:41 PM To: qgis/QGIS @.> Cc: Anders Nesse @.>; Author @.> Subject: Re: [qgis/QGIS] Transformation of .shp files with Proj library (Issue #56343)

Det er ikkje ofte du får e-post frå @.**@.>. Les meir om kvifor dette er viktig.https://aka.ms/LearnAboutSenderIdentification

Can you add a screencast (or a few screenshots) that show how you transform? You particularly mention the proj library, so I wonder how you explicitly invoke or avoid that.

- Reply to this email directly, view it on GitHubhttps://github.com/qgis/QGIS/issues/56343#issuecomment-1964605438, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BGEYMQ3QG2763TXY4YCDIDTYVS3JVAVCNFSM6AAAAABDH44FBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUGYYDKNBTHA. You are receiving this because you authored the thread.Message ID: @.**@.>>

CONFIDENTIALITY AND DISCLAIMER NOTICE: This message is for the sole use of the intended recipients and may contain confidential information. If you are not an intended recipient, you are requested to notify the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure or distribution is prohibited. While the sender has taken reasonable precautions to minimize the risk of viruses, we cannot warrant the absence of, or accept liability for, any such viruses in this message or any attachment.

m-kuhn commented 8 months ago

@A-Nesse1 It looks like your attachment didn't make it through, ideally you upload it directly on the github issue web interface.

A-Nesse1 commented 8 months ago

Transformation in Q-GIS.docx 27391.zip Files for testing and documentation on how it is done