mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Project fails to load in app if CRS set to EPSG:4647

Open raherin opened this issue 6 months ago • 2 comments

If a project is using CRS EPSG 4647, it will not load in the app. When the project is opened in the app, an error message will repeatedly pop-up on the app until the app crashes:

Image

To reproduce, download the following file and unzip, then upload the project as a new Mergin Maps project and try to open it in the app.

4647_test.zip

raherin avatar May 28 '25 14:05 raherin

PR #3912 prevents the app from crashing when opening the project, but it will eventually crash under:

8 Input QgsCoordinateTransform::transformInPlace(double&, double&, double&, Qgis::TransformDirection) const + 92
9 Input QgsPoint::transform(QgsCoordinateTransform const&, Qgis::TransformDirection, bool) + 120
10 Input QgsGeometryCollection::transform(QgsCoordinateTransform const&, Qgis::TransformDirection, bool) + 80
11 Input QgsGeometry::transform(QgsCoordinateTransform const&, Qgis::TransformDirection, bool) + 244

VitorVieiraZ avatar May 29 '25 09:05 VitorVieiraZ

Can you please test @VitorVieiraZ what happens to this project when opened on the #3912 version?

tomasMizera avatar May 29 '25 10:05 tomasMizera