diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-01-01 16:17:37 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-01-01 16:17:37 +0100 |
| commit | a6352d3758b700ce9c091785497d70561b905347 (patch) | |
| tree | 4d7aca619793347cb8f26444ec68ec05cc24c541 | |
| parent | 015a39b5a911e0d3afcdca63d992cee4bd52ef9a (diff) | |
| download | PROJ-data-a6352d3758b700ce9c091785497d70561b905347.tar.gz PROJ-data-a6352d3758b700ce9c091785497d70561b905347.zip | |
Fix eur_nkg links
| -rw-r--r-- | agency.json | 6 | ||||
| -rw-r--r-- | files.geojson | 2 | ||||
| -rw-r--r-- | index.html | 2 | ||||
| -rw-r--r-- | regenerate_index_html.py | 9 |
4 files changed, 10 insertions, 9 deletions
diff --git a/agency.json b/agency.json index 88d2bac..577839b 100644 --- a/agency.json +++ b/agency.json @@ -78,6 +78,12 @@ "url": "http://www.icgc.cat/" }, { + "id": "eur_nkg", + "country": "Europe", + "agency":"The Nordic Geodetic Commission", + "url": "http://www.nordicgeodeticcommission.com/" + }, + { "id": "fr_ign", "country": "France", "agency":"IGN France", diff --git a/files.geojson b/files.geojson index 642cdec..9996b4e 100644 --- a/files.geojson +++ b/files.geojson @@ -55,7 +55,7 @@ { "type": "Feature", "properties": { "url": "https:\/\/cdn.proj.org\/gvr2000.tif", "name": "gvr2000.tif", "area_of_use": "Greenland", "type": "VERTICAL_OFFSET_GEOGRAPHIC_TO_VERTICAL", "source_crs_code": "EPSG:4909", "source_crs_name": "GR96", "target_crs_code": "EPSG:8266", "target_crs_name": "GVR2000 height", "source": "Danish Agency for Data Supply and Efficiency", "source_country": "Denmark", "source_id": "dk_sdfe", "source_url": "https:\/\/github.com\/NordicGeodesy\/NordicTransformations", "description": "GR96 (EPSG:4909) to GVR2000 height (EPSG:8266)" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -75.0, 59.0 ], [ -10.0, 59.0 ], [ -10.0, 84.0 ], [ -75.0, 84.0 ], [ -75.0, 59.0 ] ] ] } }, { "type": "Feature", "properties": { "url": "https:\/\/cdn.proj.org\/gvr2016.tif", "name": "gvr2016.tif", "area_of_use": "Greenland", "type": "VERTICAL_OFFSET_GEOGRAPHIC_TO_VERTICAL", "source_crs_code": "EPSG:4909", "source_crs_name": "GR96", "target_crs_code": "EPSG:8267", "target_crs_name": "GVR2016 height", "source": "Danish Agency for Data Supply and Efficiency", "source_country": "Denmark", "source_id": "dk_sdfe", "source_url": "https:\/\/github.com\/NordicGeodesy\/NordicTransformations", "description": "GR96 (EPSG:4909) to GVR2016 height (EPSG:8267)" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -77.015, 58.0 ], [ -6.975, 58.0 ], [ -6.975, 85.0 ], [ -77.015, 85.0 ], [ -77.015, 58.0 ] ] ] } }, { "type": "Feature", "properties": { "url": "https:\/\/cdn.proj.org\/100800401.tif", "name": "100800401.tif", "area_of_use": "Spain - Catalonia", "type": "HORIZONTAL_OFFSET", "source_crs_code": "EPSG:4230", "source_crs_name": "ED50", "target_crs_code": "EPSG:4258", "target_crs_name": "ETRS89", "source": "Institut Cartogràfic i Geològic de Catalunya (ICGC)", "source_country": "Spain", "source_id": "es_cat_icgc", "source_url": "http:\/\/www.icgc.cat\/", "description": "ED50 (EPSG:4230) to ETRS89 (EPSG:4258)" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -0.0, 40.0 ], [ 3.5, 40.0 ], [ 3.5, 43.0 ], [ -0.0, 43.0 ], [ -0.0, 40.0 ] ] ] } }, -{ "type": "Feature", "properties": { "url": "https:\/\/cdn.proj.org\/nkgrf03vel_realigned.tif", "name": "nkgrf03vel_realigned.tif", "area_of_use": "Nordic and Baltic countries", "type": "VELOCITY", "source_crs_name": "Unknown based on GRS80", "source": "Institut Cartogràfic i Geològic de Catalunya (ICGC)", "source_country": "Spain", "source_id": "es_cat_icgc", "source_url": "http:\/\/www.icgc.cat\/", "description": "Deformation model covering the Nordic and Baltic countries. Used in transformations between global reference frames and the local realisations of ETRS89 in the Nordic and Baltic countries" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 3.0, 53.0 ], [ 40.0, 53.0 ], [ 40.0, 73.0 ], [ 3.0, 73.0 ], [ 3.0, 53.0 ] ] ] } }, +{ "type": "Feature", "properties": { "url": "https:\/\/cdn.proj.org\/nkgrf03vel_realigned.tif", "name": "nkgrf03vel_realigned.tif", "area_of_use": "Nordic and Baltic countries", "type": "VELOCITY", "source_crs_name": "Unknown based on GRS80", "source": "The Nordic Geodetic Commission", "source_country": "Europe", "source_id": "eur_nkg", "source_url": "http:\/\/www.nordicgeodeticcommission.com\/", "description": "Deformation model covering the Nordic and Baltic countries. Used in transformations between global reference frames and the local realisations of ETRS89 in the Nordic and Baltic countries" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 3.0, 53.0 ], [ 40.0, 53.0 ], [ 40.0, 73.0 ], [ 3.0, 73.0 ], [ 3.0, 53.0 ] ] ] } }, { "type": "Feature", "properties": { "url": "https:\/\/cdn.proj.org\/CGVD2013RGSPM06.tif", "name": "CGVD2013RGSPM06.tif", "area_of_use": "France - Saint-Pierre et Miquelon", "type": "VERTICAL_OFFSET_GEOGRAPHIC_TO_VERTICAL", "source_crs_code": "EPSG:4466", "source_crs_name": "RGSPM06", "target_crs_code": "EPSG:6647", "target_crs_name": "CGVD2013(CGG2013) height", "source": "IGN France", "source_country": "France", "source_id": "fr_ign", "source_url": "http:\/\/www.ign.fr\/", "description": "RGSPM06 (EPSG:4466) to CGVD2013(CGG2013) height (EPSG:6647)" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -56.55, 46.45 ], [ -55.95, 46.45 ], [ -55.95, 47.2833333 ], [ -56.55, 47.2833333 ], [ -56.55, 46.45 ] ] ] } }, { "type": "Feature", "properties": { "url": "https:\/\/cdn.proj.org\/RAC09.tif", "name": "RAC09.tif", "area_of_use": "France - Corsica", "type": "VERTICAL_OFFSET_GEOGRAPHIC_TO_VERTICAL", "source_crs_code": "EPSG:4965", "source_crs_name": "RGF93", "target_crs_code": "EPSG:5721", "target_crs_name": "NGF-IGN78 height", "source": "IGN France", "source_country": "France", "source_id": "fr_ign", "source_url": "http:\/\/www.ign.fr\/", "description": "RGF93 (EPSG:4965) to NGF-IGN78 height (EPSG:5721)" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 8.4166667, 41.2 ], [ 9.7166667, 41.2 ], [ 9.7166667, 43.2 ], [ 8.4166667, 43.2 ], [ 8.4166667, 41.2 ] ] ] } }, { "type": "Feature", "properties": { "url": "https:\/\/cdn.proj.org\/RAF09.tif", "name": "RAF09.tif", "area_of_use": "France", "type": "VERTICAL_OFFSET_GEOGRAPHIC_TO_VERTICAL", "source_crs_code": "EPSG:4965", "source_crs_name": "RGF93", "target_crs_code": "EPSG:5720", "target_crs_name": "NGF-IGN69 height", "source": "IGN France", "source_country": "France", "source_id": "fr_ign", "source_url": "http:\/\/www.ign.fr\/", "description": "RGF93 (EPSG:4965) to NGF-IGN69 height (EPSG:5720)" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -5.5, 42.0 ], [ 8.5, 42.0 ], [ 8.5, 51.5 ], [ -5.5, 51.5 ], [ -5.5, 42.0 ] ] ] } }, @@ -395,7 +395,7 @@ map.on('singleclick', function(evt) { </ul><hr><h3><a href="http://www.icgc.cat/">Institut Cartogràfic i Geològic de Catalunya (ICGC)</a></h3><ul> <li><a href="README.es_cat_icgc">README.es_cat_icgc</a></li> <li><a href="100800401.tif">100800401.tif</a> - Spain - Catalonia - ED50 (EPSG:4230) to ETRS89 (EPSG:4258). Last modified: 2019-12-27</li> -</ul><hr><h3>eur_nkg</h3><ul> +</ul><hr><h3><a href="http://www.nordicgeodeticcommission.com/">The Nordic Geodetic Commission</a></h3><ul> <li><a href="README.eur_nkg">README.eur_nkg</a></li> <li><a href="NKG">NKG</a>. Last modified: 2020-01-01</li> <li><a href="nkgrf03vel_realigned.tif">nkgrf03vel_realigned.tif</a> - Nordic and Baltic countries - Deformation model covering the Nordic and Baltic countries. Used in transformations between global reference frames and the local realisations of ETRS89 in the Nordic and Baltic countries. Last modified: 2020-01-01</li> diff --git a/regenerate_index_html.py b/regenerate_index_html.py index 00afa92..652bf22 100644 --- a/regenerate_index_html.py +++ b/regenerate_index_html.py @@ -63,13 +63,8 @@ for dirname in sorted(dirnames): else: filenames.append(f) - title = '%s' % (dirname) - try: - agency = agencies[dirname] - title = '<a href="%s">%s</a>' % (agency['url'].replace('&', "&"), agency['agency']) - except KeyError: - - pass + agency = agencies[dirname] + title = '<a href="%s">%s</a>' % (agency['url'].replace('&', "&"), agency['agency']) links.append('</ul><hr><h3>%s</h3><ul>' % title ) for f in [readme_filename] + sorted(filenames): |
