Skip to content

Commit cb9f710

Browse files
authored
Merge pull request #119 from jjimenezshaw/cz-geoid
Add Czech geoid model CR-2005
2 parents c81e61e + 1e0ce7f commit cb9f710

File tree

10 files changed

+67
-0
lines changed

10 files changed

+67
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ set(CPACK_SOURCE_INSTALLED_DIRECTORIES
2626
"${CMAKE_CURRENT_SOURCE_DIR}/ca_nrc/" "."
2727
"${CMAKE_CURRENT_SOURCE_DIR}/ca_que_mern/" "."
2828
"${CMAKE_CURRENT_SOURCE_DIR}/ch_swisstopo/" "."
29+
"${CMAKE_CURRENT_SOURCE_DIR}/cz_cuzk/" "."
2930
"${CMAKE_CURRENT_SOURCE_DIR}/de_adv/" "."
3031
"${CMAKE_CURRENT_SOURCE_DIR}/de_bkg/" "."
3132
"${CMAKE_CURRENT_SOURCE_DIR}/de_geosn/" "."

agency.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@
5353
"agency":"Swisstopo Federal Office of Topography",
5454
"url": "https://www.swisstopo.admin.ch/en/knowledge-facts/surveying-geodesy/reference-frames/transformations-position.html"
5555
},
56+
{
57+
"id": "cz_cuzk",
58+
"country": "Czech Republic",
59+
"agency":"ČÚZK",
60+
"url": "https://geoportal.cuzk.cz/"
61+
},
5662
{
5763
"id": "de_adv",
5864
"country": "Germany",

copyright_and_licenses.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ ch_swisstopo_CHENyx06_ETRS.tif,"2007, Swisstopo",CC0-1.0,,
7373
ch_swisstopo_chgeo2004_ETRS89_LHN95.tif,Swisstopo,CC0-1.0,,
7474
ch_swisstopo_chgeo2004_ETRS89_LN02.tif,Swisstopo,CC0-1.0,,
7575
ch_swisstopo_README.txt,Disclaimed,Public domain,,
76+
cz_cuzk_CR-2005.tif,ČÚZK,CC-BY-4.0,1.17,
77+
cz_cuzk_README.txt,Disclaimed,Public domain,1.17,
7678
de_adv_BETA2007.tif,ADV,Free redistribution is allowed and welcome,,
7779
de_adv_README.txt,Disclaimed,Public domain,,
7880
de_bkg_gcg2016.tif,BKG,CC-BY-4.0,1.16,

cz_cuzk/.github/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../cz_cuzk_README.txt

cz_cuzk/build_CR-2005.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/bin/bash -e
2+
3+
# https://geoportal.cuzk.cz/(S(dxlr1cfbjo0sj0my5vzaa22h))/Default.aspx?mode=TextMeta&side=sit.trans&text=souradsystemy
4+
# Download https://geoportal.cuzk.cz/dokumenty/CR2005.GTX.zip
5+
6+
# Usage:
7+
# PROJ_DATA_DIR=/path/to/PROJ-data ./build_CR-2005.sh
8+
9+
orig=CR2005_AAIGrid.asc
10+
input=$orig
11+
output=cz_cuzk_CR-2005.tif
12+
13+
docker run --user $(id -u):$(id -g) --workdir $PWD \
14+
--rm -v /home:/home ghcr.io/osgeo/gdal:alpine-normal-latest \
15+
sh -c " \
16+
# Call vertoffset_grid_to_gtiff-script
17+
python3 ${PROJ_DATA_DIR}/grid_tools/vertoffset_grid_to_gtiff.py \
18+
--type GEOGRAPHIC_TO_VERTICAL \
19+
--parameter-name geoid_undulation \
20+
--source-crs \"EPSG:4937\" \
21+
--target-crs \"EPSG:8357\" \
22+
--description \"ETRS89 (EPSG:4937) to Baltic 1957 height (EPSG:8357). Converted from $orig\" \
23+
--area-of-use \"Czechia\" \
24+
--copyright \"Derived from work by ČÚZK Czechia. CC-BY-4.0 https://creativecommons.org/licenses/by/4.0/\" \
25+
./$input ./$output && \
26+
# Run check_gtiff_grid-script
27+
python3 ${PROJ_DATA_DIR}/grid_tools/check_gtiff_grid.py ./$output \
28+
# Show info
29+
gdalinfo ./$output "

cz_cuzk/cz_cuzk_CR-2005.tif

104 KB
Binary file not shown.

cz_cuzk/cz_cuzk_README.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# cz_cuzk_README.txt
2+
3+
The files in this section result from the conversion of datasets originating
4+
from [ČÚZK](https://geoportal.cuzk.cz/)
5+
6+
## Included grids
7+
8+
### Czech vertical grid:
9+
10+
*Source*: [ČÚZK](https://geoportal.cuzk.cz/dokumenty/CR2005.GTX.zip)
11+
*Format*: GeoTIFF converted from 'AAIGrid'
12+
*License*: [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/)
13+
*Credit*: (c) ČÚZK - Czech Republic
14+
*Horizontal CRS*: EPSG:4937 (ETRS89)
15+
16+
Vertical transformation for Geoid model CR-2005. Used to make the transition
17+
from heights in vertical CRS Baltic 1957 height (EPSG:8357)
18+
to heights above the ellipsoid in ETRS89 (EPSG:4937).
19+
20+
* cz_cuzk_CR-2005.tif
21+

files.geojson

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@
7575
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/ch_swisstopo_CHENyx06a.tif", "name": "ch_swisstopo_CHENyx06a.tif", "area_of_use": "Switzerland", "type": "HORIZONTAL_OFFSET", "source_crs_code": "EPSG:4149", "source_crs_name": "CH1903", "target_crs_code": "EPSG:4150", "target_crs_name": "CH1903+", "source": "Swisstopo Federal Office of Topography", "source_country": "Switzerland", "source_id": "ch_swisstopo", "source_url": "https://www.swisstopo.admin.ch/en/knowledge-facts/surveying-geodesy/reference-frames/transformations-position.html", "description": "CH1903 (EPSG:4149) to CH1903+ (EPSG:4150)", "file_size": 1021779, "sha256sum": "986d81da9445bdd4cbc3b5e36d8ccdad757d7e09246da68040dd21e53bdfbe40" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 5.55, 45.4666667 ], [ 11.05, 45.4666667 ], [ 11.05, 48.0666667 ], [ 5.55, 48.0666667 ], [ 5.55, 45.4666667 ] ] ] } },
7676
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/ch_swisstopo_chgeo2004_ETRS89_LHN95.tif", "name": "ch_swisstopo_chgeo2004_ETRS89_LHN95.tif", "area_of_use": "Switzerland", "type": "VERTICAL_OFFSET_GEOGRAPHIC_TO_VERTICAL", "source_crs_code": "EPSG:4937", "source_crs_name": "ETRS89", "target_crs_code": "EPSG:5729", "target_crs_name": "LHN95 height", "source": "Swisstopo Federal Office of Topography", "source_country": "Switzerland", "source_id": "ch_swisstopo", "source_url": "https://www.swisstopo.admin.ch/en/knowledge-facts/surveying-geodesy/reference-frames/transformations-position.html", "description": "ETRS89 (EPSG:4937) to LHN95 height (EPSG:5729)", "file_size": 259441, "sha256sum": "459e317ba9bf1f744ad920b3fe0d6ee0b1bdfc960cad7d4ea428db7bb229280f" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 5.85, 45.75 ], [ 10.5, 45.75 ], [ 10.5, 47.85 ], [ 5.85, 47.85 ], [ 5.85, 45.75 ] ] ] } },
7777
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/ch_swisstopo_chgeo2004_ETRS89_LN02.tif", "name": "ch_swisstopo_chgeo2004_ETRS89_LN02.tif", "area_of_use": "Switzerland", "type": "VERTICAL_OFFSET_GEOGRAPHIC_TO_VERTICAL", "source_crs_code": "EPSG:4937", "source_crs_name": "ETRS89", "target_crs_code": "EPSG:5728", "target_crs_name": "LN02 height", "source": "Swisstopo Federal Office of Topography", "source_country": "Switzerland", "source_id": "ch_swisstopo", "source_url": "https://www.swisstopo.admin.ch/en/knowledge-facts/surveying-geodesy/reference-frames/transformations-position.html", "description": "ETRS89 (EPSG:4937) to LN02 height (EPSG:5728)", "file_size": 295192, "sha256sum": "ec9638c152f4519278b3e7a781d1a7c2769bd54de39accec099bd5036f4fd214" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 5.85, 45.75 ], [ 10.5, 45.75 ], [ 10.5, 47.85 ], [ 5.85, 47.85 ], [ 5.85, 45.75 ] ] ] } },
78+
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/cz_cuzk_README.txt", "name": "cz_cuzk_README.txt", "source": "ČÚZK", "source_country": "Czech Republic", "source_id": "cz_cuzk", "source_url": "https://geoportal.cuzk.cz/", "file_size": 684, "sha256sum": "92f0ccdd74c6c017d55de04ad14d8f1d376017b69bb3d12f2ccc462912ed5bbe", "version_added": "1.17" }, "geometry": null },
79+
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/cz_cuzk_CR-2005.tif", "name": "cz_cuzk_CR-2005.tif", "area_of_use": "Czechia", "type": "VERTICAL_OFFSET_GEOGRAPHIC_TO_VERTICAL", "source_crs_code": "EPSG:4937", "source_crs_name": "ETRS89", "target_crs_code": "EPSG:8357", "target_crs_name": "Baltic 1957 height", "source": "ČÚZK", "source_country": "Czech Republic", "source_id": "cz_cuzk", "source_url": "https://geoportal.cuzk.cz/", "description": "ETRS89 (EPSG:4937) to Baltic 1957 height (EPSG:8357)", "file_size": 106664, "sha256sum": "2fba4e5bcd3e48f737b3655d5a7c196de1c56e199967f7e12311710646d4f0a1", "version_added": "1.17" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 11.7, 48.3 ], [ 19.325, 48.3 ], [ 19.325, 51.2 ], [ 11.7, 51.2 ], [ 11.7, 48.3 ] ] ] } },
7880
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/de_adv_README.txt", "name": "de_adv_README.txt", "source": "Arbeitsgemeinschaft der Vermessungsverwaltungender der Länder der Bundesrepublik Deutschland (AdV)", "source_country": "Germany", "source_id": "de_adv", "source_url": "http://www.adv-online.de/icc/extdeu/nav/9ae/9ae594bb-a094-311a-3b21-718a438ad1b2&sel_uCon=3c10e056-7955-311a-3b21-718a438ad1b2&uTem=73d607d6-b048-65f1-80fa-29f08a07b51a.htm", "file_size": 802, "sha256sum": "69c387720cba6f596671de999d8a9683194fa5787294d2e10f81ed90e04ba11c" }, "geometry": null },
7981
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/de_adv_BETA2007.tif", "name": "de_adv_BETA2007.tif", "area_of_use": "Germany", "type": "HORIZONTAL_OFFSET", "source_crs_code": "EPSG:4314", "source_crs_name": "DHDN", "target_crs_code": "EPSG:4258", "target_crs_name": "ETRS89", "source": "Arbeitsgemeinschaft der Vermessungsverwaltungender der Länder der Bundesrepublik Deutschland (AdV)", "source_country": "Germany", "source_id": "de_adv", "source_url": "http://www.adv-online.de/icc/extdeu/nav/9ae/9ae594bb-a094-311a-3b21-718a438ad1b2&sel_uCon=3c10e056-7955-311a-3b21-718a438ad1b2&uTem=73d607d6-b048-65f1-80fa-29f08a07b51a.htm", "description": "DHDN (EPSG:4314) to ETRS89 (EPSG:4258)", "file_size": 24379, "sha256sum": "46e681fcc7d022dde1db1f9d0a3426a9bfb1d4a151af69a81b3c30104c9388e2" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 5.5, 47.0 ], [ 15.6666667, 47.0 ], [ 15.6666667, 55.3 ], [ 5.5, 55.3 ], [ 5.5, 47.0 ] ] ] } },
8082
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/de_bkg_README.txt", "name": "de_bkg_README.txt", "source": "Bundesamt für Kartographie und Geodäsie (BKG)", "source_country": "Germany", "source_id": "de_bkg", "source_url": "https://gdz.bkg.bund.de/index.php/default/digitale-geodaten.html", "file_size": 840, "sha256sum": "032f7f735dd47f381488cc9476b4ff491caea4e094fbe8d4688da3e88515be51", "version_added": "1.16" }, "geometry": null },

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,9 @@ <h2>Content</h2>
582582
<li><a style="word-break: break-word" href="ch_swisstopo_CHENyx06a.tif">ch_swisstopo_CHENyx06a.tif</a> - Switzerland - CH1903 (EPSG:4149) to CH1903+ (EPSG:4150). Last modified: 2020-01-24</li>
583583
<li><a style="word-break: break-word" href="ch_swisstopo_chgeo2004_ETRS89_LHN95.tif">ch_swisstopo_chgeo2004_ETRS89_LHN95.tif</a> - Switzerland - ETRS89 (EPSG:4937) to LHN95 height (EPSG:5729). Last modified: 2021-03-25</li>
584584
<li><a style="word-break: break-word" href="ch_swisstopo_chgeo2004_ETRS89_LN02.tif">ch_swisstopo_chgeo2004_ETRS89_LN02.tif</a> - Switzerland - ETRS89 (EPSG:4937) to LN02 height (EPSG:5728). Last modified: 2021-03-25</li>
585+
</ul><hr><h3><a href="https://geoportal.cuzk.cz/">ČÚZK</a></h3><ul>
586+
<li><a style="word-break: break-word" href="cz_cuzk_README.txt">cz_cuzk_README.txt</a>. Last modified: 2024-02-12</li>
587+
<li><a style="word-break: break-word" href="cz_cuzk_CR-2005.tif">cz_cuzk_CR-2005.tif</a> - Czechia - ETRS89 (EPSG:4937) to Baltic 1957 height (EPSG:8357). Last modified: 2024-02-12</li>
585588
</ul><hr><h3><a href="http://www.adv-online.de/icc/extdeu/nav/9ae/9ae594bb-a094-311a-3b21-718a438ad1b2&amp;sel_uCon=3c10e056-7955-311a-3b21-718a438ad1b2&amp;uTem=73d607d6-b048-65f1-80fa-29f08a07b51a.htm">Arbeitsgemeinschaft der Vermessungsverwaltungender der Länder der Bundesrepublik Deutschland (AdV)</a></h3><ul>
586589
<li><a style="word-break: break-word" href="de_adv_README.txt">de_adv_README.txt</a>. Last modified: 2020-01-24</li>
587590
<li><a style="word-break: break-word" href="de_adv_BETA2007.tif">de_adv_BETA2007.tif</a> - Germany - DHDN (EPSG:4314) to ETRS89 (EPSG:4258). Last modified: 2020-01-24</li>

travis/expected_main.lst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ ch_swisstopo_CHENyx06_ETRS.tif
7171
ch_swisstopo_chgeo2004_ETRS89_LHN95.tif
7272
ch_swisstopo_chgeo2004_ETRS89_LN02.tif
7373
ch_swisstopo_README.txt
74+
cz_cuzk_CR-2005.tif
75+
cz_cuzk_README.txt
7476
copyright_and_licenses.csv
7577
de_adv_BETA2007.tif
7678
de_adv_README.txt

0 commit comments

Comments
 (0)