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

manually selected datum transformation setting is ignored #29093

Closed
qgib opened this issue Feb 14, 2019 · 6 comments
Closed

manually selected datum transformation setting is ignored #29093

qgib opened this issue Feb 14, 2019 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Projections/Transformations Related to coordinate reference systems or coordinate transformation Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented Feb 14, 2019

Author Name: Jonas Hurst (Jonas Hurst)
Original Redmine Issue: 21275
Affected QGIS version: 3.5(master)
Redmine category:projection_support
Assignee: Nyall Dawson


affected version:
occured with 3.4.2
QGIS installed through OSGeo4W

precondition:
make sure, osgeo4w/share/proj folder contains transformation grid (in my case BETA2007)

reproduce:

  1. Settings > Options > CRS > "Ask for datum transformation if several are available"=checked
  2. load geodata (in my case a shapefile, GK zone 3, EPSG:31467)
  3. Right-click legend layer in legend > Export > Save features as
  4. enter file name and select a different CRS (in my case UTM zone 32N, EPSG: 25832)
  5. click "OK" -> New window "select datum transformation" opens
  6. choose one of these datum transformation options (in my case BETA2007)
    INFO: BETA2007 is not a paramter transformation but a grid-based transformation
  7. click "OK"

expected result:
shapefile is transformed using BETA2007-grid

actual result:
QGIS ignores the selection for BETA2007 and uses some other parameter transformation (the default transformation?).
The same happens when using transformation grid BWTA2017: Both results are identical.
Transformations with grids are much more accurate!

hints:
transformation worked correctly in 2.18.26

attachment:
-shapefile in EPSG:31467 to be transformed into EPSG:25832 (original.shp)
-shapefile transformed wrong (transform_wrong.shp from QGIS 3.4.2)
-shapefile transformed correctly (transform_correct.shp from QGIS 2.18.26)
(Note the difference between the two of about 1.70m!)

why is this important?
Germany is in the process of changing it's national grid from Gauss-Kruger to UTM coordinates.
For this, the governments requires BETA2007 to be used (in some cases BWTA2017)


@qgib
Copy link
Contributor Author

qgib commented Feb 15, 2019

Author Name: Alessandro Pasotti (@elpaso)


I've tested current master on Linux and I couldn't reproduce the issue.

Can you please test (on windows) the latest nightly build to check if the issue is still present on master?


  • category_id was changed from Processing/QGIS to Vectors
  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Feb 18, 2019

Author Name: Jonas Hurst (Jonas Hurst)


thank you for you quick feedback on this issue.

I am still able to reproduce this in todays nightly on win10 (delivered through osgeo).

@qgib
Copy link
Contributor Author

qgib commented Feb 18, 2019

Author Name: Giovanni Manghi (@gioman)


  • version was changed from 3.4.2 to 3.5(master)
  • regression was changed from 0 to 1
  • status_id was changed from Feedback to Open
  • category_id was changed from Vectors to Projection Support

@qgib
Copy link
Contributor Author

qgib commented Mar 5, 2019

Author Name: Andy Harfoot (Andy Harfoot)


As a workaround, if you define the desired transformation in the project CRS tab it appears to be honored when exporting

@qgib
Copy link
Contributor Author

qgib commented Mar 12, 2019

Author Name: Nyall Dawson (@nyalldawson)


  • assigned_to_id was configured as Nyall Dawson
  • status_id was changed from Open to In Progress

@qgib
Copy link
Contributor Author

qgib commented Mar 18, 2019

Author Name: Nyall Dawson (@nyalldawson)


Applied in changeset d1910f5.


  • status_id was changed from In Progress to Closed
  • done_ratio was changed from 0 to 100

@qgib qgib closed this as completed Mar 18, 2019
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Projections/Transformations Related to coordinate reference systems or coordinate transformation Regression Something which used to work, but doesn't anymore labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Projections/Transformations Related to coordinate reference systems or coordinate transformation Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

1 participant