Feature request #9275
Choose custom grid shift binary when re-projecting/transforming a dataset.
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Projection Support | ||
Pull Request or Patch supplied: | No | Resolution: | wontfix |
Easy fix?: | No | Copied to github as #: | 17888 |
Description
It would be nice to be able to specify a grid shift binary file when re-projecting or transforming data.
I have some ntv2 grid shift files from both Federal and Provincial agencies that have been compiled into proj4 which gdal and qgis have, in-turn, been compiled against.
Maybe this option could be made available in the "save as..." window if the user chooses to specify a different target spatial reference system.
There are options to add "Data Source" and "Layer" Creation Options but can't specify custom proj transformations using a specific grid shift file (.gsb).
History
#1 Updated by Donovan Cameron almost 11 years ago
This option could also be useful in some cases when "re-project on the fly" is enabled.
#2 Updated by Giovanni Manghi almost 11 years ago
- Status changed from Open to Feedback
You have many options here:
*) create custom CRSs that include the parameter to specify the ntv2 grid
*) help us migrate the "transformation tools" plugin from qgis 1.8 to 2.0: the plugin allows to easily create datum transformations (then automatically recognized by qgis) based on ntv2 grids and other parameters
*) qgis master supports datum transformations and user defined ntvs grids, see
#3a14b5384977897de5ac35b74e89d1ae821d212e#commitcomment-4553078
for now you must provide the transformation parameters to be added in a QGIS internal database (then the grids must me placed where gdal is supposed to find them by default).
#3 Updated by Donovan Cameron almost 11 years ago
Thanks for those tips.
Going to consider them all.
#4 Updated by Donovan Cameron almost 9 years ago
I think this is fine to close, because since then there has been transformation enhancements since this report that allow me to select the transformation (but only if it's compiled with Proj4, but that's OK).
#5 Updated by Giovanni Manghi almost 9 years ago
- Status changed from Feedback to Closed
- Resolution set to wontfix
Donovan Cameron wrote:
I think this is fine to close, because since then there has been transformation enhancements since this report that allow me to select the transformation (but only if it's compiled with Proj4, but that's OK).
there is also
https://github.com/NaturalGIS/ntv2_transformations
if the grid can be redistributed I can add the transformations you need.
#6 Updated by Donovan Cameron almost 9 years ago
The NTv2 grid shift binary is covered by the Open Government License - Canada but I'm not a license expert to see if it's compatible with GPL for QGIS or the ntv2 plugin license.
You have to sign in to get it as well.
I was surprised when I put a request for the dataset to be under the Open Government License and the Gov of Canada did it!
It's a larger grid shift binary (>10MB) so that could affect the plugin size.
Looks like there is an open issue for your plugin with this exact thing - https://github.com/NaturalGIS/ntv2_transformations/issues/13
#7 Updated by Giovanni Manghi almost 9 years ago
It's a larger grid shift binary (>10MB) so that could affect the plugin size.
this is not an issue, ntv2 grids are not shipped with the plugin itself, but downloaded (from a github repo) the first time a specific transformation needs them.