-
Notifications
You must be signed in to change notification settings - Fork 8
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
Added new grid for Bavaria; Fixed "grid not found error" on Mac OS #46
base: master
Are you sure you want to change the base?
Conversation
…S; Added BY-KANU Transformation for Vector Geometries
…sages to download the big grid file manually.
@vmarquar many thanks for your PR! have you tested the changes on all major OSes (Linux, Windows and macOS)? |
I added your suggestions. So far I have only tested the plugin under MacOS, but I can double check the plugin under Windows in the upcoming days. I will let you know if there are any Windows specific issues. |
Thanks!
We would appreciate it. We can test on Linux. Cheers! |
@alexbruy thanks for the review! |
So I checked the Plugin under Windows 10 (QGIS 3.6.2) and my adaptions seem to work fine. There is only one problem where QGIS is not guessing the EPSG Code correctly (it guesses EPSG:3397 PD/83 instead of EPSG:5678/EPSG:31468). Should I try the However, I found another bigger bug which is affecting all |
@vmarquar Nice, many thanks for your effort. That QGIS version is anyway too old especially because it uses ancient GDAL and Proj versions compared to the latest QGIS ltr. Any test at the moment must be done against QGIS installations using GDAL 3 and Proj 6/7.
What GDAL and Proj versions are used by the installations you have tested with? In the QGIS bug tracker a few similar issues have been reported and in most cases they were fixed upstream in GDAL or Proj. It is possible that the fixes have not yet landed in QGIS packages. You should test this hypotheses by doing a transformation from the command line using ogr2ogr and then loading the results in QGIS. Of course we can also test if -a_srs helps anyway.
I see, but this scenarios were never really in the scope of the plugin. Of course supporting this cases would be a nice improvement, but unfortunately right now we can't put any effort in it.
There is a "no binaries in plugins code" policy. |
@gioman I've conducted the test with following QGIS installation parameters:
You are right. My installation is indeed very old and I will try to update QGIS and will let you know if the problem still exists after the upgrade. |
@vmarquar hi, yes as said there is not point in testing any QGIS installation that does not use GDAL 3 and Proj 6/7. CRSs handling has changed a lot in this GDAL/Proj versions so we must test on them to see if any change is needed the way plugin uses ogr2ogr or gdalwarp.
no, but gdal_translate has it. So if needed we may think use translate instead of warp (or we can pipe the result of warp in a translate command). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added small improvements.
@vmarquar thanks for the follow up. I will review it ASAP. |
Hey Guys,
please see my attached pull request to integrate into your plugin.
Short Description:
nadgrids not found
under Mac OS XThe default plugin directory under Mac OS X contains a whitespace character > "Application Support", e.g.
/Users/<Username>/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/ntv2_transformations/grids
transformations.py
I added some code to create a hidden symbolic link which is placed inside the user's home directory and references the plugin directory. Not the best solution but I think it's acceptable.VectorDE_BY...
andRasterDE_BY...
If anything is unclear don't hesitate to contact me.
Kind regards
Valentin
Fixes #45