Skip to content
Permalink
Browse files

Add pt grid shift entries to srs.db (provided by Giovanni)

  • Loading branch information
mhugent committed Nov 21, 2013
1 parent d19f361 commit 358239cc36778d219d400d44e63a5ff3e2f32921
Showing with 0 additions and 0 deletions.
  1. BIN resources/srs.db
BIN +0 Bytes (100%) resources/srs.db
Binary file not shown.

5 comments on commit 358239c

@gioman

This comment has been minimized.

Copy link
Contributor

@gioman gioman replied Nov 21, 2013

Hi Marco, I'm sure I'm doing something wrong, can you help me understand? I compiled qgis with this commit, but when I add two layers (with otfr on) that match one of the transformations that were added, then in the dialog I don't see anything that seems allow to choose the ntv2 grid transformation.

screenshot from 2013-11-21 20 18 48

@mhugent

This comment has been minimized.

Copy link
Contributor Author

@mhugent mhugent replied Nov 25, 2013

Hi Giovanni

What is the layer srs / destination srs you are using and what is the ntv2 transformation you are expecting to use?

@gioman

This comment has been minimized.

Copy link
Contributor

@gioman gioman replied Nov 26, 2013

Hi Marco, here you'll find 3 sample vectors (the number in the name is the EPSG code)

https://www.dropbox.com/s/0qan6vv0e6umeqx/tests_datum_shift_qgis.tar.gz

If the project is defined in EPSG 3763 and I add the vector in EPSG 27493, the datum shift dialog shows but I can't see the one with the grid that should have been added in this commit

INSERT INTO tbl_datum_transform (
coord_op_code,
source_crs_code,
target_crs_code,
coord_op_method_code,
p1
)
VALUES (
100003,
27493,
3763,
9615,
'pt73_e89.gsb'
);

when instead I add a layer in EPSG 20790 I can't see any datum shift dialog (and I would expect to see it).

cheers!

@mhugent

This comment has been minimized.

Copy link
Contributor Author

@mhugent mhugent replied Nov 27, 2013

Hi Giovanni

In the srs.db, the srs id of the related geographical crses need to be inserted (the projected ones are not important for datum transformation). Seems this is:

epsg:4274 for epsg: 27493
epsg:4258 for epsg:3763
epsg:4803 for epsg:20790 and epsg:20791

Is this correct? If yes, I'm going to adapt the srs.db with it.

@gioman

This comment has been minimized.

Copy link
Contributor

@gioman gioman replied Nov 28, 2013

Hi Marco,
the first 2 are correct (4274 and 4258), the third one is 4207 (the one for epsg:20790 and epsg:20791).

Thanks!

Please sign in to comment.
You can’t perform that action at this time.