-
Notifications
You must be signed in to change notification settings - Fork 39
Add Hungarian grids #68
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
Closed
Closed
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 @@ | ||
| ../hu_bme_geod_README.txt |
This file contains hidden or 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,51 @@ | ||
| #!/bin/bash | ||
|
|
||
| BUILD_DIR=./build | ||
| NTV2_TO_GTIFF_PATH=../grid_tools/ntv2_to_gtiff.py | ||
| VERTOFFSET_GRID_TO_GTIFF=../grid_tools/vertoffset_grid_to_gtiff.py | ||
| AGENCY_PREFIX="hu_bme_geod" | ||
|
|
||
| ETRS2EOV_SOURCE_URL="https://raw.githubusercontent.com/OSGeoLabBp/eov2etrs/master/etrs2eov_notowgs.gsb" | ||
| ETRS2EOV_SOURCE_PATH=${ETRS2EOV_SOURCE_URL##*/} | ||
| ETRS2EOV_TARGET_PATH=${AGENCY_PREFIX}_${ETRS2EOV_SOURCE_PATH%gsb}tif | ||
| ETRS2EOV_SOURCE_CRS="EPSG:4237" | ||
| ETRS2EOV_TARGET_CRS="EPSG:4937" | ||
| ETRS2EOV_DESCRIPTION="Grid transformation from HD72 to ETRS89 (typically applied for transformations from projected CRS HD72/EOV (EPSG:23700) to ETRS89)." | ||
|
|
||
| GEOID_EHT2014_SOURCE_URL="https://raw.githubusercontent.com/OSGeoLabBp/eov2etrs/master/geoid_eht2014.gtx" | ||
| GEOID_EHT2014_SOURCE_PATH=${GEOID_EHT2014_SOURCE_URL##*/} | ||
| GEOID_EHT2014_TARGET_PATH=${AGENCY_PREFIX}_${GEOID_EHT2014_SOURCE_PATH%gtx}tif | ||
| GEOID_EHT2014_SOURCE_CRS="EPSG:4937" | ||
| GEOID_EHT2014_TARGET_CRS="EPSG:8357" | ||
| GEOID_EHT2014_DESCRIPTION="ETRS89 ellipsoidal heights to baltic height system transformation." | ||
|
|
||
| COMMON_COPYRIGHT="Budapest University of Technology and Economics - Faculty of Civil Engineering. Creative Commons Attribution 4.0 https://creativecommons.org/licenses/by/4.0/" | ||
| COMMON_AREA_OF_USE="Hungary" | ||
|
|
||
| rm -rf ${BUILD_DIR} | ||
| mkdir ${BUILD_DIR} | ||
|
|
||
| curl ${ETRS2EOV_SOURCE_URL} --output ${BUILD_DIR}/${ETRS2EOV_SOURCE_PATH} | ||
| python3 \ | ||
| ${NTV2_TO_GTIFF_PATH} \ | ||
| --source-crs "${ETRS2EOV_SOURCE_CRS}" \ | ||
| --target-crs "${ETRS2EOV_TARGET_CRS}" \ | ||
| --description "${ETRS2EOV_DESCRIPTION}" \ | ||
| --copyright "${COMMON_COPYRIGHT}" \ | ||
| --area-of-use "${COMMON_AREA_OF_USE}" \ | ||
| ${BUILD_DIR}/${ETRS2EOV_SOURCE_PATH} \ | ||
| ${ETRS2EOV_TARGET_PATH} | ||
|
|
||
| curl ${GEOID_EHT2014_SOURCE_URL} --output ${BUILD_DIR}/${GEOID_EHT2014_SOURCE_PATH} | ||
| python3 \ | ||
| ${VERTOFFSET_GRID_TO_GTIFF} \ | ||
| --type GEOGRAPHIC_TO_VERTICAL \ | ||
| --source-crs "${GEOID_EHT2014_SOURCE_CRS}" \ | ||
| --target-crs "${GEOID_EHT2014_TARGET_CRS}" \ | ||
| --description "${GEOID_EHT2014_DESCRIPTION}" \ | ||
| --copyright "${COMMON_COPYRIGHT}" \ | ||
| --area-of-use "${COMMON_AREA_OF_USE}" \ | ||
| ${BUILD_DIR}/${GEOID_EHT2014_SOURCE_PATH} \ | ||
| ${GEOID_EHT2014_TARGET_PATH} | ||
|
|
||
| rm -rf ${BUILD_DIR} |
This file contains hidden or 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,31 @@ | ||
| # hu_bme_geod_README.txt | ||
|
|
||
| The files in this section result from the conversion of datasets originating | ||
| from [Budapest University of Technology and Economics – Faculty of Civil Engineering](https://geod.bme.hu) | ||
|
|
||
| ## Included grids | ||
|
|
||
| ### Hungary: HD72 -> ETRS89 | ||
|
|
||
| *Source*: [Department of Geodesy and Surveying of Budapest University of Technology and Economics](https://github.com/OSGeoLabBp/eov2etrs) | ||
| *Format*: GeoTIFF converted from NTv2 | ||
| *License*: [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/) | ||
| *Source CRS*: EPSG:4237 (HD72) | ||
| *Target CRS*: EPSG:4937 (ETRS89) | ||
|
|
||
| Grid transformation from HD72 to ETRS89 (typically applied for transformations from projected CRS HD72/EOV (EPSG:23700) to ETRS89). | ||
|
|
||
| * hu_bme_geod_etrs2eov_notowgs.tif | ||
|
|
||
| ### Hungary: ETRS89 heights -> Baltic heights | ||
|
|
||
| *Source*: [Department of Geodesy and Surveying of Budapest University of Technology and Economics](https://github.com/OSGeoLabBp/eov2etrs) | ||
| *Format*: GeoTIFF converted from GTX | ||
| *License*: [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/) | ||
| *Source CRS*: EPSG:4937 (ETRS89) | ||
| *Target CRS*: EPSG:8357 (Baltic 1957 height) | ||
|
|
||
| ETRS89 ellipsoidal heights to baltic height system transformation. | ||
| The horizontal grid coordinates are referenced to ETRS89. | ||
|
|
||
| * hu_bme_geod_geoid_eht2014.tif |
Binary file not shown.
Binary file not shown.
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.