-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from jjimenezshaw/cz-geoid
Add Czech geoid model CR-2005
- Loading branch information
Showing
10 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../cz_cuzk_README.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash -e | ||
|
||
# https://geoportal.cuzk.cz/(S(dxlr1cfbjo0sj0my5vzaa22h))/Default.aspx?mode=TextMeta&side=sit.trans&text=souradsystemy | ||
# Download https://geoportal.cuzk.cz/dokumenty/CR2005.GTX.zip | ||
|
||
# Usage: | ||
# PROJ_DATA_DIR=/path/to/PROJ-data ./build_CR-2005.sh | ||
|
||
orig=CR2005_AAIGrid.asc | ||
input=$orig | ||
output=cz_cuzk_CR-2005.tif | ||
|
||
docker run --user $(id -u):$(id -g) --workdir $PWD \ | ||
--rm -v /home:/home ghcr.io/osgeo/gdal:alpine-normal-latest \ | ||
sh -c " \ | ||
# Call vertoffset_grid_to_gtiff-script | ||
python3 ${PROJ_DATA_DIR}/grid_tools/vertoffset_grid_to_gtiff.py \ | ||
--type GEOGRAPHIC_TO_VERTICAL \ | ||
--parameter-name geoid_undulation \ | ||
--source-crs \"EPSG:4937\" \ | ||
--target-crs \"EPSG:8357\" \ | ||
--description \"ETRS89 (EPSG:4937) to Baltic 1957 height (EPSG:8357). Converted from $orig\" \ | ||
--area-of-use \"Czechia\" \ | ||
--copyright \"Derived from work by ČÚZK Czechia. CC-BY-4.0 https://creativecommons.org/licenses/by/4.0/\" \ | ||
./$input ./$output && \ | ||
# Run check_gtiff_grid-script | ||
python3 ${PROJ_DATA_DIR}/grid_tools/check_gtiff_grid.py ./$output \ | ||
# Show info | ||
gdalinfo ./$output " |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# cz_cuzk_README.txt | ||
|
||
The files in this section result from the conversion of datasets originating | ||
from [ČÚZK](https://geoportal.cuzk.cz/) | ||
|
||
## Included grids | ||
|
||
### Czech vertical grid: | ||
|
||
*Source*: [ČÚZK](https://geoportal.cuzk.cz/dokumenty/CR2005.GTX.zip) | ||
*Format*: GeoTIFF converted from 'AAIGrid' | ||
*License*: [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/) | ||
*Credit*: (c) ČÚZK - Czech Republic | ||
*Horizontal CRS*: EPSG:4937 (ETRS89) | ||
|
||
Vertical transformation for Geoid model CR-2005. Used to make the transition | ||
from heights in vertical CRS Baltic 1957 height (EPSG:8357) | ||
to heights above the ellipsoid in ETRS89 (EPSG:4937). | ||
|
||
* cz_cuzk_CR-2005.tif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters