Skip to content

Commit

Permalink
Merge pull request #128 from jjimenezshaw/thueringen
Browse files Browse the repository at this point in the history
Grid file for PD/83 to ETRS89 in Thüringen, Germany
  • Loading branch information
rouault authored Nov 1, 2024
2 parents 4a07255 + 491ab7b commit 6ce11dc
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ set(CPACK_SOURCE_INSTALLED_DIRECTORIES
"${CMAKE_CURRENT_SOURCE_DIR}/de_hvbg/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/de_lgl_bw/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/de_lgvl_saarland/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/de_tlbg_thueringen/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/dk_sdfe/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/dk_sdfi/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/es_ign/" "."
Expand Down
6 changes: 6 additions & 0 deletions agency.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@
"agency":"LVGL Saarland",
"url": "https://www.saarland.de/"
},
{
"id": "de_tlbg_thueringen",
"country": "Germany",
"agency":"Thüringer Landesamt für Bodenmanagement und Geoinformation",
"url": "https://tlbg.thueringen.de/"
},
{
"id": "dk_sdfe",
"country": "Denmark",
Expand Down
2 changes: 2 additions & 0 deletions copyright_and_licenses.csv
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ de_lgl_bw_BWTA2017.tif,Landesamt für Geoinformation und Landentwicklung (LGL) B
de_lgl_bw_README.txt,Disclaimed,Public domain,,
de_lgvl_saarland_README.txt,Disclaimed,Public domain,,
de_lgvl_saarland_SeTa2016.tif,"Landesamt für Vermessung, Geoinformation und Landentwicklung (LVGL) Saarland",CC-BY-4.0,,
de_tlbg_thueringen_NTv2gridTH.tif,"Thüringer Landesamt für Bodenmanagement und Geoinformation",CC-BY-4.0,1.20,
de_tlbg_thueringen_README.txt,Disclaimed,Public domain,1.20,
DK,Agency for Data Supply and Efficiency (SDFE),CC-BY-4.0,,
dk_sdfe_DK_bornholm.pol,Agency for Data Supply and Efficiency (SDFE),CC-BY-4.0,,
dk_sdfe_DK_bridges.pol,Agency for Data Supply and Efficiency (SDFE),CC-BY-4.0,,
Expand Down
1 change: 1 addition & 0 deletions de_tlbg_thueringen/.github/README.md
26 changes: 26 additions & 0 deletions de_tlbg_thueringen/build_tlbg_thueringen_NTv2gridTH.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/bash -e

# https://geoportal.thueringen.de/gdi-th/download-offene-geodaten/ntv2-gittertransformation

# Usage:
# PROJ_DATA_DIR=/path/to/PROJ-data ./build_tlbg_thueringen_NTv2gridTH.sh

orig=de_tlbg_thueringen_NTv2gridTH.gsb
input=$orig
output=de_tlbg_thueringen_NTv2gridTH.tif

docker run --user $(id -u):$(id -g) --workdir $PWD \
--rm -v /home:/home ghcr.io/osgeo/gdal:alpine-normal-latest \
sh -c " \
python3 ${PROJ_DATA_DIR}/grid_tools/ntv2_to_gtiff.py \
--source-crs \"EPSG:4746\" \
--target-crs \"EPSG:4258\" \
--accuracy-unit arc-second \
--description \"PD/83 (EPSG:4746) to ETRS89 (EPSG:4258). Converted from $orig\" \
--area-of-use \"Germany - Thuringen\" \
--copyright \"Derived from work by TLGB Thueringen. 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.
14 changes: 14 additions & 0 deletions de_tlbg_thueringen/de_tlbg_thueringen_README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# de_tlbg_thueringen_README.txt

The files in this section result from the conversion of datasets originating
from [TLGB Thüringen](https://tlbg.thueringen.de/)

## Included grids

### Germany (Thüringen): PD/83 -> ETRS89

*Source*: [TLGB Thüringen](https://geoportal.thueringen.de/gdi-th/download-offene-geodaten/ntv2-gittertransformation)
*Format*: GeoTIFF converted from NTv2
*License*: [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/)

* de_tlbg_thueringen_NTv2gridTH.tif
2 changes: 2 additions & 0 deletions files.geojson
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/de_lgl_bw_BWTA2017.tif", "name": "de_lgl_bw_BWTA2017.tif", "area_of_use": "Germany - Baden-Wurttemberg", "type": "HORIZONTAL_OFFSET", "source_crs_code": "EPSG:4314", "source_crs_name": "DHDN", "target_crs_code": "EPSG:4258", "target_crs_name": "ETRS89", "source": "LGL Baden-Württemberg", "source_country": "Germany", "source_id": "de_lgl_bw", "source_url": "https://www.lgl-bw.de/", "description": "DHDN (EPSG:4314) to ETRS89 (EPSG:4258)", "file_size": 73022201, "sha256sum": "83adfea14dbe037f1dc3f717949b6f23304f362eccdc198cf31d4cd5e54be9b6" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 7.4833333, 47.5 ], [ 10.5166667, 47.5 ], [ 10.5166667, 49.8375 ], [ 7.4833333, 49.8375 ], [ 7.4833333, 47.5 ] ] ] } },
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/de_lgvl_saarland_README.txt", "name": "de_lgvl_saarland_README.txt", "source": "LVGL Saarland", "source_country": "Germany", "source_id": "de_lgvl_saarland", "source_url": "https://www.saarland.de/", "file_size": 446, "sha256sum": "8db9566b7426795872a4312de610056b77c6ef0c52e7cdc6e9b36b58af2d02d6" }, "geometry": null },
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/de_lgvl_saarland_SeTa2016.tif", "name": "de_lgvl_saarland_SeTa2016.tif", "area_of_use": "Germany - Saarland", "type": "HORIZONTAL_OFFSET", "source_crs_code": "EPSG:4314", "source_crs_name": "DHDN", "target_crs_code": "EPSG:4258", "target_crs_name": "ETRS89", "source": "LVGL Saarland", "source_country": "Germany", "source_id": "de_lgvl_saarland", "source_url": "https://www.saarland.de/", "description": "DHDN (EPSG:4314) to ETRS89 (EPSG:4258)", "file_size": 547937, "sha256sum": "529acdef6f5634669087de3dfc7923ab0100a9a7d94fa5e5b4aadb7ec4226c6c" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 6.345, 49.1 ], [ 7.455, 49.1 ], [ 7.455, 49.6466667 ], [ 6.345, 49.6466667 ], [ 6.345, 49.1 ] ] ] } },
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/de_tlbg_thueringen_README.txt", "name": "de_tlbg_thueringen_README.txt", "source": "Thüringer Landesamt für Bodenmanagement und Geoinformation", "source_country": "Germany", "source_id": "de_tlbg_thueringen", "source_url": "https://tlbg.thueringen.de/", "file_size": 512, "sha256sum": "5f9c85b03a40e25d2d9588ce0f6063c398c7501b0d6d89536012e8b363025f45", "version_added": "1.20" }, "geometry": null },
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/de_tlbg_thueringen_NTv2gridTH.tif", "name": "de_tlbg_thueringen_NTv2gridTH.tif", "area_of_use": "Germany - Thuringen", "type": "HORIZONTAL_OFFSET", "source_crs_code": "EPSG:4746", "source_crs_name": "PD/83", "target_crs_code": "EPSG:4258", "target_crs_name": "ETRS89", "source": "Thüringer Landesamt für Bodenmanagement und Geoinformation", "source_country": "Germany", "source_id": "de_tlbg_thueringen", "source_url": "https://tlbg.thueringen.de/", "description": "PD/83 (EPSG:4746) to ETRS89 (EPSG:4258)", "file_size": 71953, "sha256sum": "32249e46cdaa97cbd2cea723a413d73a04a8420b11ed81ebe48be18034fa6354", "version_added": "1.20" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 9.8333333, 50.2 ], [ 12.6666667, 50.2 ], [ 12.6666667, 51.675 ], [ 9.8333333, 51.675 ], [ 9.8333333, 50.2 ] ] ] } },
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/dk_sdfe_README.txt", "name": "dk_sdfe_README.txt", "source": "Danish Agency for Data Supply and Efficiency", "source_country": "Denmark", "source_id": "dk_sdfe", "source_url": "https://github.com/NordicGeodesy/NordicTransformations", "file_size": 2726, "sha256sum": "16cbd36b7b62d2faa275265afa163ca3da20724513220c34445c5368d6a33ca1" }, "geometry": null },
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/DK", "name": "DK", "source": "Danish Agency for Data Supply and Efficiency", "source_country": "Denmark", "source_id": "dk_sdfe", "source_url": "https://github.com/NordicGeodesy/NordicTransformations", "file_size": 25032, "sha256sum": "d77b1bb517965a1e8afd2ada0cb552379ffd7c606f9d7fde71f3bb9f64fab041" }, "geometry": null },
{ "type": "Feature", "properties": { "url": "https://cdn.proj.org/FO", "name": "FO", "source": "Danish Agency for Data Supply and Efficiency", "source_country": "Denmark", "source_id": "dk_sdfe", "source_url": "https://github.com/NordicGeodesy/NordicTransformations", "file_size": 1487, "sha256sum": "9cec499def4678cefdfc924c931c78f6a5c7505824f6e0c6ae4f964701f223fb" }, "geometry": null },
Expand Down
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,9 @@ <h2>Content</h2>
</ul><hr><h3><a href="https://www.saarland.de/">LVGL Saarland</a></h3><ul>
<li><a style="word-break: break-word" href="de_lgvl_saarland_README.txt">de_lgvl_saarland_README.txt</a>. Last modified: 2020-01-24</li>
<li><a style="word-break: break-word" href="de_lgvl_saarland_SeTa2016.tif">de_lgvl_saarland_SeTa2016.tif</a> - Germany - Saarland - DHDN (EPSG:4314) to ETRS89 (EPSG:4258). Last modified: 2020-01-24</li>
</ul><hr><h3><a href="https://tlbg.thueringen.de/">Thüringer Landesamt für Bodenmanagement und Geoinformation</a></h3><ul>
<li><a style="word-break: break-word" href="de_tlbg_thueringen_README.txt">de_tlbg_thueringen_README.txt</a>. Last modified: 2024-10-31</li>
<li><a style="word-break: break-word" href="de_tlbg_thueringen_NTv2gridTH.tif">de_tlbg_thueringen_NTv2gridTH.tif</a> - Germany - Thuringen - PD/83 (EPSG:4746) to ETRS89 (EPSG:4258). Last modified: 2024-10-31</li>
</ul><hr><h3><a href="https://github.com/NordicGeodesy/NordicTransformations">Danish Agency for Data Supply and Efficiency</a></h3><ul>
<li><a style="word-break: break-word" href="dk_sdfe_README.txt">dk_sdfe_README.txt</a>. Last modified: 2024-01-04</li>
<li><a style="word-break: break-word" href="DK">DK</a>. Last modified: 2024-01-04</li>
Expand Down
2 changes: 2 additions & 0 deletions travis/expected_main.lst
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ de_lgl_bw_BWTA2017.tif
de_lgl_bw_README.txt
de_lgvl_saarland_README.txt
de_lgvl_saarland_SeTa2016.tif
de_tlbg_thueringen_NTv2gridTH.tif
de_tlbg_thueringen_README.txt
DK
dk_sdfe_DK_bornholm.pol
dk_sdfe_DK_bridges.pol
Expand Down

0 comments on commit 6ce11dc

Please sign in to comment.