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

Tune concatenated operation instanciation, reference CR2005 geoid for Czechia and add (disabled by default) records for Czechia S-JTSK/05 based transformations #4044

Merged
merged 4 commits into from
Feb 19, 2024

Conversation

rouault
Copy link
Member

@rouault rouault commented Feb 9, 2024

  • ConcatenatedOperation::fixStepsDirection(): invert first and last steps when needed
  • Database: add transformations_czechia.sql with CR2005 geoid for ETRS89 to Baltic 1957 height
  • Database: add transformations_czechia_extra.sql for transformations based on S-JTSK/05
    For now this file is not integrated in the default build, due to
    licensing of grid cz_cuzk_table_yx_3_v1710_east_north.tif being not clarified (work in progress with CUZK).
    Thoat grid can be generated with the script https://github.com/OSGeo/PROJ-data/blob/master/cz_cuzk/convert_table_yx_3_v1710.py

Assuming the grids have been generated and are in the current directory,

$ cp data/proj.db $PWD && cat ../data/sql/transformations_czechia_extra.sql   | sqlite3 proj.db   # Add customizations_czechia.sql to proj.db
$ echo 50 15 100  |  PROJ_DATA=$PWD bin/cs2cs -d 3 "ETRS89" "S-JTSK / Krovak East North + Baltic 1957 height" --3d
-703011.900	-1058147.294 55.562

@rouault rouault added this to the 9.4.0 milestone Feb 9, 2024
@rouault rouault changed the title Tune concatenated operation instanciation and add (disabled by default) records for Czechia S-JTSK/05 based transformations Tune concatenated operation instanciation, reference CR2005 geoid for Czechia and add (disabled by default) records for Czechia S-JTSK/05 based transformations Feb 19, 2024
…ased on S-JTSK/05

For now this file is not integrated in the default build, due to
licensing of grid cz_cuzk_table_yx_3_v1710_east_north.tif being not clarified (work in progress with CUZK).
Thoat grid can be generated with the script https://github.com/OSGeo/PROJ-data/blob/master/cz_cuzk/convert_table_yx_3_v1710.py
@rouault rouault merged commit 99071b1 into OSGeo:master Feb 19, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant