Closed elmoflo33 closed 1 year ago
I am also experiencing this with some layers. Not all though.
wmts service is returning 404s for these datasets
Working: wmts/1.0.0/layer/50768/WMTSCapabilities.xml Not working: wmts/1.0.0/layer/48404/WMTSCapabilities.xml
@craigds CAn you see any reason why these WMTS URLs might be returning 404s?
@nyalldawson We have looked at this for a while, and it looks like some layers have "data.linz.govt.nz" in the failing URL when the layers are not published by LINZ. Can you have another look at this?
Can you advise on what the correct process is for building the WMTS url?
Eg what's the correct one for this response?
{
'id': 104400,
'url': 'https://koordinates.com/services/api/v1.x/layers/104400/',
'type': 'layer',
'title': 'LCDB v5.0 - Land Cover Database version 5.0, Mainland, New Zealand',
'first_published_at': '2019-12-20T00:05:12.149649Z',
'thumbnail_url': 'https://tiles-cdn.koordinates.com/services/tiles/v4/thumbnail/layer=104400.330111,style=auto/1200x630.png',
'published_at': '2021-11-11T03:59:24.630140Z',
'featured_at': '2020-10-20T03:46:02.101971Z',
'services': 'https://koordinates.com/services/api/v1.x/layers/104400/services/',
'user_permissions': [
'find',
'view',
'download'
],
'description': 'The New Zealand Land Cover Database (LCDB) is a multi-temporal, thematic classification of New Zealand\'s land cover. It identifies 33 mainland land cover classes (35 classes once the offshore Chatham Islands are included). The classification was revised between versions 1, 2, and 3 but has been consistent thereafter, and always with backward compatibility maintained. Land cover features are described by a polygon boundary, a land cover code, and a land cover name at each nominal time step; summer 1996/97, summer 2001/02, summer 2008/09, summer 2012/13, and summer 2018/19. The data set is designed to complement in theme, scale and accuracy, New Zealand’s 1:50,000 topographic database (https://www.linz.govt.nz/land/maps/topographic-maps/topo50-maps). LCDB is suitable for use in national and regional environment monitoring, forest and shrubland inventory, biodiversity assessment, trend analysis and infrastructure planning. The classification used in LCDBv5.0 is presented in the document \'LCDBClassesAtVersion5.pdf\' and a table correlating LCDB classes over all versions is presented in the document \'LCDBClassCorrelations.pdf\'. Both of these are among the accessory documents to this dataset in the LRIS portal (https://lris.scinfo.org.nz/). LCDB version 5.0 was released in January 2020 and includes corrections to all time steps1997/97, 2001/02, 2008/09, 2012/13 and 2018/19 for both the New Zealand mainland and Chatham Islands. A description of work undertaken for this release (including that of all earlier releases) is presented in the Lineage section. Of particular note at version 5.0 is the addition to LCDB, of attributes designed to readily identify and monitor wetlands over time and a similar capability to manage significant coastal changes. “EditAuthority” and "EditDate" are attributes, maintained since version 3.0 to indicate authorship and nominal date of polygon mapping, edit or change. Errors in the data due to misclassification (rather than land cover change) or poor delineation can be reported to Landcare Research for inclusion in the next release using the online feedback facility in https://lris.scinfo.org.nz/.',
'description_html': '<p>The New Zealand Land Cover Database (LCDB) is a multi-temporal, thematic classification of New Zealand\'s land cover. It identifies 33 mainland land cover classes (35 classes once the offshore Chatham Islands are included). The classification was revised between versions 1, 2, and 3 but has been consistent thereafter, and always with backward compatibility maintained. Land cover features are described by a polygon boundary, a land cover code, and a land cover name at each nominal time step; summer 1996/97, summer 2001/02, summer 2008/09, summer 2012/13, and summer 2018/19. The data set is designed to complement in theme, scale and accuracy, New Zealand’s 1:50,000 topographic database (<a href="https://www.linz.govt.nz/land/maps/topographic-maps/topo50-maps">www.linz.govt.nz/land/maps/topographic-maps/topo50...</a>). LCDB is suitable for use in national and regional environment monitoring, forest and shrubland inventory, biodiversity assessment, trend analysis and infrastructure planning. The classification used in LCDBv5.0 is presented in the document \'LCDBClassesAtVersion5.pdf\' and a table correlating LCDB classes over all versions is presented in the document \'LCDBClassCorrelations.pdf\'. Both of these are among the accessory documents to this dataset in the LRIS portal (<a href="https://lris.scinfo.org.nz/">lris.scinfo.org.nz/</a>). LCDB version 5.0 was released in January 2020 and includes corrections to all time steps1997/97, 2001/02, 2008/09, 2012/13 and 2018/19 for both the New Zealand mainland and Chatham Islands. A description of work undertaken for this release (including that of all earlier releases) is presented in the Lineage section. Of particular note at version 5.0 is the addition to LCDB, of attributes designed to readily identify and monitor wetlands over time and a similar capability to manage significant coastal changes. “EditAuthority” and "EditDate" are attributes, maintained since version 3.0 to indicate authorship and nominal date of polygon mapping, edit or change. Errors in the data due to misclassification (rather than land cover change) or poor delineation can be reported to Landcare Research for inclusion in the next release using the online feedback facility in <a href="https://lris.scinfo.org.nz/">lris.scinfo.org.nz/</a>.</p>',
'publisher': {
'id': 'lris.scinfo.org.nz',
'name': 'Landcare Research',
'html_url': 'https://lris.scinfo.org.nz/',
'theme': {
'logo': '//koordinates.a.ssl.fastly.net/media/settings/branding/lris_portal2.png',
'background_color': '4a8300'
},
'site': {
'url': 'https://lris.scinfo.org.nz',
'name': 'LRIS Portal'
},
'url': 'https://koordinates.com/services/api/v1.x/publishers/lris.scinfo.org.nz/',
'flags': {}
},
'data': {
'storage': 'classic',
'datasources': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/datasources/',
'fields': [
{
'name': 'GEOMETRY',
'type': 'geometry'
},
{
'name': 'Name_2018',
'type': 'string'
},
{
'name': 'Name_2012',
'type': 'string'
},
{
'name': 'Name_2008',
'type': 'string'
},
{
'name': 'Name_2001',
'type': 'string'
},
{
'name': 'Name_1996',
'type': 'string'
},
{
'name': 'Class_2018',
'type': 'integer'
},
{
'name': 'Class_2012',
'type': 'integer'
},
{
'name': 'Class_2008',
'type': 'integer'
},
{
'name': 'Class_2001',
'type': 'integer'
},
{
'name': 'Class_1996',
'type': 'integer'
},
{
'name': 'Wetland_18',
'type': 'string'
},
{
'name': 'Wetland_12',
'type': 'string'
},
{
'name': 'Wetland_08',
'type': 'string'
},
{
'name': 'Wetland_01',
'type': 'string'
},
{
'name': 'Wetland_96',
'type': 'string'
},
{
'name': 'Onshore_18',
'type': 'string'
},
{
'name': 'Onshore_12',
'type': 'string'
},
{
'name': 'Onshore_08',
'type': 'string'
},
{
'name': 'Onshore_01',
'type': 'string'
},
{
'name': 'Onshore_96',
'type': 'string'
},
{
'name': 'EditAuthor',
'type': 'string'
},
{
'name': 'EditDate',
'type': 'date'
},
{
'name': 'LCDB_UID',
'type': 'string'
}
],
'encoding': None,
'crs': {
'id': 'EPSG:2193',
'url': 'https://koordinates.com/services/api/v1.x/coordinate-systems/EPSG:2193/',
'name': 'NZGD2000 / New Zealand Transverse Mercator 2000',
'kind': 'projected',
'unit_horizontal': 'metre',
'unit_vertical': '',
'url_external': 'https://epsg.io/2193',
'component_horizontal': None,
'component_vertical': None,
'srid': 2193
},
'primary_key_fields': [],
'geometry_field': 'GEOMETRY',
'geometry_type': 'polygon',
'tile_revision': 330111,
'feature_count': 511104,
'extent': {
'type': 'Polygon',
'coordinates': [
[
[
166.42614834759615,
-47.29000156691811
],
[
166.42614834759615,
-34.129564578424414
],
[
178.5781522484155,
-34.129564578424414
],
[
178.5781522484155,
-47.29000156691811
],
[
166.42614834759615,
-47.29000156691811
]
]
]
},
'datasource_count': 1,
'change_summary': None,
'source_summary': {
'formats': [
'Shapefile'
],
'types': [
'Upload'
]
},
'import_started_at': '2020-01-29T19:43:47.250355Z',
'import_ended_at': '2020-01-29T20:29:21.535181Z',
'import_log': {
'invalid_geometries': 703,
'messages': 0,
'url': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/data/import-log/'
},
'import_version': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/294169/',
'update_available': False,
'sample': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/data/sample/',
'raster_resolution': None,
'empty_geometry_count': 0,
'has_z': False,
'export_formats': [
{
'name': 'Shapefile',
'mimetype': 'application/x-zipped-shp'
},
{
'name': 'MapInfo TAB',
'mimetype': 'application/x-ogc-mapinfo_file'
},
{
'name': 'MapInfo MIF',
'mimetype': 'application/x-ogc-mapinfo_file+mif'
},
{
'name': 'CSV',
'mimetype': 'text/csv'
},
{
'name': 'GeoPackage / SQLite',
'mimetype': 'application/x-ogc-gpkg'
},
{
'name': 'Geodatabase',
'mimetype': 'applicaton/x-ogc-filegdb'
},
{
'name': 'KML',
'mimetype': 'application/vnd.google-earth.kml+xml'
},
{
'name': 'DWG',
'mimetype': 'image/vnd.dwg'
},
{
'name': 'PDF',
'mimetype': 'application/pdf'
}
]
},
'url_html': 'https://koordinates.com/from/lris.scinfo.org.nz/layer/104400-lcdb-v50-land-cover-database-version-50-mainland-new-zealand/',
'url_canonical': 'https://lris.scinfo.org.nz/layer/104400-lcdb-v50-land-cover-database-version-50-mainland-new-zealand/',
'published_version': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/',
'this_version': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/',
'kind': 'vector',
'categories': [],
'tags': [
'Downloadable Data'
],
'collected_at': None,
'created_at': '2019-12-19T23:02:29.638687Z',
'license': {
'id': 171,
'title': 'Creative Commons Attribution 4.0 International',
'type': 'cc-by',
'jurisdiction': '',
'version': '4.0',
'url': 'https://koordinates.com/services/api/v1.x/licenses/171/',
'url_html': 'https://koordinates.com/license/attribution-4-0-international/',
'url_fulltext': 'https://koordinates.com/services/api/v1.x/licenses/171/fulltext/'
},
'metadata': {
'resource': 'https://koordinates.com/services/api/v1.x/sources/234854/metadata-resources/16407/',
'native': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/metadata/',
'iso': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/metadata/iso/',
'dc': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/metadata/dc/'
},
'elevation_field': '',
'styles': [],
'default_style': None,
'attachments': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/attachments/',
'settings': {
'is_pinned': False,
'feedback_enabled': True,
'is_source_mirror': False
},
'repository': {
'id': 'b8jOE53',
'full_name': 'landcare-research/layer-104400',
'url': 'https://koordinates.com/services/api/v1.x/repos/landcare-research/layer-104400/',
'clone_location_ssh': 'kart@data.koordinates.com:landcare-research/layer-104400',
'clone_location_https': 'https://data.koordinates.com/landcare-research/layer-104400',
'type': 'repo',
'title': 'LCDB v5.0 - Land Cover Database version 5.0, Mainland New Zealand',
'first_published_at': '2021-01-21T02:31:16.715964Z',
'published_at': '2021-03-29T03:45:44.414020Z',
'settings': {
'feedback_enabled': True
},
'user_capabilities': [
'can-clone'
],
'user_permissions': [
'find',
'view',
'download'
]
},
'geotags': 'https://koordinates.com/services/api/v1.x/layers/104400/geotags/',
'num_views': 54147,
'num_downloads': 5789,
'is_starred': False,
'public_access': 'download',
'version': {
'id': 322161,
'url': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/',
'status': 'ok',
'created_at': '2021-11-11T03:59:18.101808Z',
'reference': '',
'progress': 1.0,
'data_import': False
}
}
and for
{
'id': 104400,
'url': 'https://koordinates.com/services/api/v1.x/layers/104400/',
'type': 'layer',
'title': 'LCDB v5.0 - Land Cover Database version 5.0, Mainland, New Zealand',
'first_published_at': '2019-12-20T00:05:12.149649Z',
'thumbnail_url': 'https://tiles-cdn.koordinates.com/services/tiles/v4/thumbnail/layer=104400.330111,style=auto/1200x630.png',
'published_at': '2021-11-11T03:59:24.630140Z',
'featured_at': '2020-10-20T03:46:02.101971Z',
'services': 'https://koordinates.com/services/api/v1.x/layers/104400/services/',
'user_permissions': [
'find',
'view',
'download'
],
'description': 'The New Zealand Land Cover Database (LCDB) is a multi-temporal, thematic classification of New Zealand\'s land cover. It identifies 33 mainland land cover classes (35 classes once the offshore Chatham Islands are included). The classification was revised between versions 1, 2, and 3 but has been consistent thereafter, and always with backward compatibility maintained. Land cover features are described by a polygon boundary, a land cover code, and a land cover name at each nominal time step; summer 1996/97, summer 2001/02, summer 2008/09, summer 2012/13, and summer 2018/19. The data set is designed to complement in theme, scale and accuracy, New Zealand’s 1:50,000 topographic database (https://www.linz.govt.nz/land/maps/topographic-maps/topo50-maps). LCDB is suitable for use in national and regional environment monitoring, forest and shrubland inventory, biodiversity assessment, trend analysis and infrastructure planning. The classification used in LCDBv5.0 is presented in the document \'LCDBClassesAtVersion5.pdf\' and a table correlating LCDB classes over all versions is presented in the document \'LCDBClassCorrelations.pdf\'. Both of these are among the accessory documents to this dataset in the LRIS portal (https://lris.scinfo.org.nz/). LCDB version 5.0 was released in January 2020 and includes corrections to all time steps1997/97, 2001/02, 2008/09, 2012/13 and 2018/19 for both the New Zealand mainland and Chatham Islands. A description of work undertaken for this release (including that of all earlier releases) is presented in the Lineage section. Of particular note at version 5.0 is the addition to LCDB, of attributes designed to readily identify and monitor wetlands over time and a similar capability to manage significant coastal changes. “EditAuthority” and "EditDate" are attributes, maintained since version 3.0 to indicate authorship and nominal date of polygon mapping, edit or change. Errors in the data due to misclassification (rather than land cover change) or poor delineation can be reported to Landcare Research for inclusion in the next release using the online feedback facility in https://lris.scinfo.org.nz/.',
'description_html': '<p>The New Zealand Land Cover Database (LCDB) is a multi-temporal, thematic classification of New Zealand\'s land cover. It identifies 33 mainland land cover classes (35 classes once the offshore Chatham Islands are included). The classification was revised between versions 1, 2, and 3 but has been consistent thereafter, and always with backward compatibility maintained. Land cover features are described by a polygon boundary, a land cover code, and a land cover name at each nominal time step; summer 1996/97, summer 2001/02, summer 2008/09, summer 2012/13, and summer 2018/19. The data set is designed to complement in theme, scale and accuracy, New Zealand’s 1:50,000 topographic database (<a href="https://www.linz.govt.nz/land/maps/topographic-maps/topo50-maps">www.linz.govt.nz/land/maps/topographic-maps/topo50...</a>). LCDB is suitable for use in national and regional environment monitoring, forest and shrubland inventory, biodiversity assessment, trend analysis and infrastructure planning. The classification used in LCDBv5.0 is presented in the document \'LCDBClassesAtVersion5.pdf\' and a table correlating LCDB classes over all versions is presented in the document \'LCDBClassCorrelations.pdf\'. Both of these are among the accessory documents to this dataset in the LRIS portal (<a href="https://lris.scinfo.org.nz/">lris.scinfo.org.nz/</a>). LCDB version 5.0 was released in January 2020 and includes corrections to all time steps1997/97, 2001/02, 2008/09, 2012/13 and 2018/19 for both the New Zealand mainland and Chatham Islands. A description of work undertaken for this release (including that of all earlier releases) is presented in the Lineage section. Of particular note at version 5.0 is the addition to LCDB, of attributes designed to readily identify and monitor wetlands over time and a similar capability to manage significant coastal changes. “EditAuthority” and "EditDate" are attributes, maintained since version 3.0 to indicate authorship and nominal date of polygon mapping, edit or change. Errors in the data due to misclassification (rather than land cover change) or poor delineation can be reported to Landcare Research for inclusion in the next release using the online feedback facility in <a href="https://lris.scinfo.org.nz/">lris.scinfo.org.nz/</a>.</p>',
'publisher': {
'id': 'lris.scinfo.org.nz',
'name': 'Landcare Research',
'html_url': 'https://lris.scinfo.org.nz/',
'theme': {
'logo': '//koordinates.a.ssl.fastly.net/media/settings/branding/lris_portal2.png',
'background_color': '4a8300'
},
'site': {
'url': 'https://lris.scinfo.org.nz',
'name': 'LRIS Portal'
},
'url': 'https://koordinates.com/services/api/v1.x/publishers/lris.scinfo.org.nz/',
'flags': {}
},
'data': {
'storage': 'classic',
'datasources': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/datasources/',
'fields': [
{
'name': 'GEOMETRY',
'type': 'geometry'
},
{
'name': 'Name_2018',
'type': 'string'
},
{
'name': 'Name_2012',
'type': 'string'
},
{
'name': 'Name_2008',
'type': 'string'
},
{
'name': 'Name_2001',
'type': 'string'
},
{
'name': 'Name_1996',
'type': 'string'
},
{
'name': 'Class_2018',
'type': 'integer'
},
{
'name': 'Class_2012',
'type': 'integer'
},
{
'name': 'Class_2008',
'type': 'integer'
},
{
'name': 'Class_2001',
'type': 'integer'
},
{
'name': 'Class_1996',
'type': 'integer'
},
{
'name': 'Wetland_18',
'type': 'string'
},
{
'name': 'Wetland_12',
'type': 'string'
},
{
'name': 'Wetland_08',
'type': 'string'
},
{
'name': 'Wetland_01',
'type': 'string'
},
{
'name': 'Wetland_96',
'type': 'string'
},
{
'name': 'Onshore_18',
'type': 'string'
},
{
'name': 'Onshore_12',
'type': 'string'
},
{
'name': 'Onshore_08',
'type': 'string'
},
{
'name': 'Onshore_01',
'type': 'string'
},
{
'name': 'Onshore_96',
'type': 'string'
},
{
'name': 'EditAuthor',
'type': 'string'
},
{
'name': 'EditDate',
'type': 'date'
},
{
'name': 'LCDB_UID',
'type': 'string'
}
],
'encoding': None,
'crs': {
'id': 'EPSG:2193',
'url': 'https://koordinates.com/services/api/v1.x/coordinate-systems/EPSG:2193/',
'name': 'NZGD2000 / New Zealand Transverse Mercator 2000',
'kind': 'projected',
'unit_horizontal': 'metre',
'unit_vertical': '',
'url_external': 'https://epsg.io/2193',
'component_horizontal': None,
'component_vertical': None,
'srid': 2193
},
'primary_key_fields': [],
'geometry_field': 'GEOMETRY',
'geometry_type': 'polygon',
'tile_revision': 330111,
'feature_count': 511104,
'extent': {
'type': 'Polygon',
'coordinates': [
[
[
166.42614834759615,
-47.29000156691811
],
[
166.42614834759615,
-34.129564578424414
],
[
178.5781522484155,
-34.129564578424414
],
[
178.5781522484155,
-47.29000156691811
],
[
166.42614834759615,
-47.29000156691811
]
]
]
},
'datasource_count': 1,
'change_summary': None,
'source_summary': {
'formats': [
'Shapefile'
],
'types': [
'Upload'
]
},
'import_started_at': '2020-01-29T19:43:47.250355Z',
'import_ended_at': '2020-01-29T20:29:21.535181Z',
'import_log': {
'invalid_geometries': 703,
'messages': 0,
'url': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/data/import-log/'
},
'import_version': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/294169/',
'update_available': False,
'sample': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/data/sample/',
'raster_resolution': None,
'empty_geometry_count': 0,
'has_z': False,
'export_formats': [
{
'name': 'Shapefile',
'mimetype': 'application/x-zipped-shp'
},
{
'name': 'MapInfo TAB',
'mimetype': 'application/x-ogc-mapinfo_file'
},
{
'name': 'MapInfo MIF',
'mimetype': 'application/x-ogc-mapinfo_file+mif'
},
{
'name': 'CSV',
'mimetype': 'text/csv'
},
{
'name': 'GeoPackage / SQLite',
'mimetype': 'application/x-ogc-gpkg'
},
{
'name': 'Geodatabase',
'mimetype': 'applicaton/x-ogc-filegdb'
},
{
'name': 'KML',
'mimetype': 'application/vnd.google-earth.kml+xml'
},
{
'name': 'DWG',
'mimetype': 'image/vnd.dwg'
},
{
'name': 'PDF',
'mimetype': 'application/pdf'
}
]
},
'url_html': 'https://koordinates.com/from/lris.scinfo.org.nz/layer/104400-lcdb-v50-land-cover-database-version-50-mainland-new-zealand/',
'url_canonical': 'https://lris.scinfo.org.nz/layer/104400-lcdb-v50-land-cover-database-version-50-mainland-new-zealand/',
'published_version': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/',
'this_version': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/',
'kind': 'vector',
'categories': [],
'tags': [
'Downloadable Data'
],
'collected_at': None,
'created_at': '2019-12-19T23:02:29.638687Z',
'license': {
'id': 171,
'title': 'Creative Commons Attribution 4.0 International',
'type': 'cc-by',
'jurisdiction': '',
'version': '4.0',
'url': 'https://koordinates.com/services/api/v1.x/licenses/171/',
'url_html': 'https://koordinates.com/license/attribution-4-0-international/',
'url_fulltext': 'https://koordinates.com/services/api/v1.x/licenses/171/fulltext/'
},
'metadata': {
'resource': 'https://koordinates.com/services/api/v1.x/sources/234854/metadata-resources/16407/',
'native': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/metadata/',
'iso': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/metadata/iso/',
'dc': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/metadata/dc/'
},
'elevation_field': '',
'styles': [],
'default_style': None,
'attachments': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/attachments/',
'settings': {
'is_pinned': False,
'feedback_enabled': True,
'is_source_mirror': False
},
'repository': {
'id': 'b8jOE53',
'full_name': 'landcare-research/layer-104400',
'url': 'https://koordinates.com/services/api/v1.x/repos/landcare-research/layer-104400/',
'clone_location_ssh': 'kart@data.koordinates.com:landcare-research/layer-104400',
'clone_location_https': 'https://data.koordinates.com/landcare-research/layer-104400',
'type': 'repo',
'title': 'LCDB v5.0 - Land Cover Database version 5.0, Mainland New Zealand',
'first_published_at': '2021-01-21T02:31:16.715964Z',
'published_at': '2021-03-29T03:45:44.414020Z',
'settings': {
'feedback_enabled': True
},
'user_capabilities': [
'can-clone'
],{
'id': 6127,
'url': 'https://koordinates.com/services/api/v1.x/layers/6127/',
'type': 'layer',
'title': 'Rakai subcounties 2012 wgs84',
'first_published_at': '2013-04-16T05:13:39.640302Z',
'thumbnail_url': 'https://tiles-cdn.koordinates.com/services/tiles/v4/thumbnail/layer=6127.6078,style=auto/1200x630.png',
'published_at': '2013-04-16T05:13:39.640302Z',
'featured_at': None,
'services': 'https://koordinates.com/services/api/v1.x/layers/6127/services/',
'user_permissions': [
'find',
'view',
'download'
],
'description': '4th administrative unit level',
'description_html': '<p>4th administrative unit level</p>',
'user': {
'id': 15350,
'url': 'https://koordinates.com/services/api/v1.x/users/15350/',
'first_name': 'Bernard Justus',
'last_name': 'Muhwezi',
'country': 'UG'
},
'publisher': {
'id': 'user:u3N11MdcrQtqGS6',
'name': 'Bernard Justus Muhwezi',
'html_url': 'https://koordinates.com/user/u3N11MdcrQtqGS6/data/',
'theme': {
'logo': 'https://koordinates.com/media/user/avatar/50x50/Signature_-BJ.png',
'background_color': None
},
'site': {
'url': 'https://koordinates.com',
'name': 'Koordinates'
},
'url': 'https://koordinates.com/services/api/v1.x/publishers/user:u3N11MdcrQtqGS6/',
'flags': {}
},
'data': {
'storage': 'classic',
'datasources': 'https://koordinates.com/services/api/v1.x/layers/6127/versions/6075/datasources/',
'fields': [
{
'name': 'GEOMETRY',
'type': 'geometry'
},
{
'name': 'SNAME',
'type': 'string'
},
{
'name': 'C_NAME',
'type': 'string'
},
{
'name': 'LABEL',
'type': 'string'
}
],
'encoding': None,
'crs': {
'id': 'EPSG:4326',
'url': 'https://koordinates.com/services/api/v1.x/coordinate-systems/EPSG:4326/',
'name': 'WGS 84',
'kind': 'geographic 2D',
'unit_horizontal': 'degree',
'unit_vertical': '',
'url_external': 'https://epsg.io/4326',
'component_horizontal': None,
'component_vertical': None,
'srid': 4326
},
'primary_key_fields': [
'SNAME'
],
'geometry_field': 'GEOMETRY',
'geometry_type': 'multipolygon',
'tile_revision': 6078,
'feature_count': 22,
'extent': {
'type': 'Polygon',
'coordinates': [
[
[
31.091079861698727,
-1.001877485665053
],
[
31.091079861698727,
-0.431502082928885
],
[
32.00072954259552,
-0.431502082928885
],
[
32.00072954259552,
-1.001877485665053
],
[
31.091079861698727,
-1.001877485665053
]
]
]
},
'datasource_count': 1,
'change_summary': {
'inserted': 22,
'updated': 0,
'deleted': 0,
'schema_changes': {
'added': [
{
'name': 'SNAME',
'type': 'string'
},
{
'name': 'C_NAME',
'type': 'string'
},
{
'name': 'LABEL',
'type': 'string'
}
],
'changed': [],
'removed': [],
'srid_changed': False,
'geometry_type_changed': False,
'primary_keys_changed': False
}
},
'source_summary': {
'formats': [
'Shapefile'
],
'types': [
'Upload'
]
},
'import_started_at': '2013-04-16T05:12:07.714382Z',
'import_ended_at': '2013-04-16T05:12:12.108579Z',
'import_log': {
'invalid_geometries': 0,
'messages': 0,
'url': 'https://koordinates.com/services/api/v1.x/layers/6127/versions/6075/data/import-log/'
},
'import_version': 'https://koordinates.com/services/api/v1.x/layers/6127/versions/6075/',
'update_available': False,
'sample': 'https://koordinates.com/services/api/v1.x/layers/6127/versions/6075/data/sample/',
'raster_resolution': None,
'empty_geometry_count': 0,
'has_z': False,
'export_formats': [
{
'name': 'Shapefile',
'mimetype': 'application/x-zipped-shp'
},
{
'name': 'MapInfo TAB',
'mimetype': 'application/x-ogc-mapinfo_file'
},
{
'name': 'MapInfo MIF',
'mimetype': 'application/x-ogc-mapinfo_file+mif'
},
{
'name': 'CSV',
'mimetype': 'text/csv'
},
{
'name': 'GeoPackage / SQLite',
'mimetype': 'application/x-ogc-gpkg'
},
{
'name': 'Geodatabase',
'mimetype': 'applicaton/x-ogc-filegdb'
},
{
'name': 'KML',
'mimetype': 'application/vnd.google-earth.kml+xml'
},
{
'name': 'DWG',
'mimetype': 'image/vnd.dwg'
},
{
'name': 'PDF',
'mimetype': 'application/pdf'
}
]
},
'url_html': 'https://koordinates.com/layer/6127-rakai-subcounties-2012-wgs84/',
'url_canonical': 'https://koordinates.com/layer/6127-rakai-subcounties-2012-wgs84/',
'published_version': 'https://koordinates.com/services/api/v1.x/layers/6127/versions/6075/',
'this_version': 'https://koordinates.com/services/api/v1.x/layers/6127/versions/6075/',
'kind': 'vector',
'categories': [
{
'name': 'Boundaries & Administration',
'slug': 'boundaries',
'key': 'boundaries',
'url': 'https://koordinates.com/services/api/v1.x/categories/boundaries/',
'ancestors': []
}
],
'tags': [],
'collected_at': None,
'created_at': '2013-04-16T05:12:04.382190Z',
'license': {
'id': 6,
'title': 'Creative Commons Attribution-Noncommercial 3.0',
'type': 'cc-by-nc',
'jurisdiction': '',
'version': '3.0',
'url': 'https://koordinates.com/services/api/v1.x/licenses/6/',
'url_html': 'https://koordinates.com/license/attribution-noncommercial-3-0/',
'url_fulltext': 'https://koordinates.com/services/api/v1.x/licenses/6/fulltext/'
},
'metadata': None,
'elevation_field': '',
'styles': [],
'default_style': None,
'attachments': 'https://koordinates.com/services/api/v1.x/layers/6127/versions/6075/attachments/',
'settings': {
'is_pinned': None,
'feedback_enabled': False,
'is_source_mirror': False
},
'repository': {
'id': 'vqM0Xxr',
'full_name': 'u3N11MdcrQtqGS6/layer-6127',
'url': 'https://koordinates.com/services/api/v1.x/repos/u3N11MdcrQtqGS6/layer-6127/',
'clone_location_ssh': 'kart@data.koordinates.com:u3N11MdcrQtqGS6/layer-6127',
'clone_location_https': 'https://data.koordinates.com/u3N11MdcrQtqGS6/layer-6127',
'type': 'repo',
'title': 'Rakai subcounties 2012 wgs84',
'first_published_at': '2020-08-27T01:32:41.590062Z',
'published_at': None,
'settings': {
'feedback_enabled': False
},
'user_capabilities': [
'can-clone'
],
'user_permissions': [
'find',
'view',
'download'
]
},
'geotags': 'https://koordinates.com/services/api/v1.x/layers/6127/geotags/',
'num_views': 1256,
'num_downloads': 10,
'is_starred': False,
'public_access': 'download',
'version': {
'id': 6075,
'url': 'https://koordinates.com/services/api/v1.x/layers/6127/versions/6075/',
'status': 'ok',
'created_at': '2013-04-16T05:12:04.382190Z',
'reference': '',
'progress': 1.0,
'data_import': True
}
}
'user_permissions': [
'find',
'view',
'download'
]
},
'geotags': 'https://koordinates.com/services/api/v1.x/layers/104400/geotags/',
'num_views': 54147,
'num_downloads': 5789,
'is_starred': False,
'public_access': 'download',
'version': {
'id': 322161,
'url': 'https://koordinates.com/services/api/v1.x/layers/104400/versions/322161/',
'status': 'ok',
'created_at': '2021-11-11T03:59:18.101808Z',
'reference': '',
'progress': 1.0,
'data_import': False
}
}
@hamishcampbell Can I get your help here.
We have hardcoded data.linz.govt.nz into our WMTS requests. Which variable is the above code should we use to replace the LINZ URL?
for 'LCDB v5.0 - Land Cover Database version 5.0, Mainland, New Zealand', Remove "url=https://data.linz.govt.nz" and replace with "url=????"
@rcoup You might be able to help easily too.
Hi @nyalldawson, we'll get back to you on this one shortly.
@nyalldawson We are making a BE change to simplify this. Might be a day or two.
Thanks @BallJonathan ! It'll be a super-quick change on the plugin side to update this URL whenever you're ready
If I try and "Add" a layer via the Add button I get the following:
To Reproduce Steps to reproduce the behavior:
Expected behavior The layer should get added to the map
Screenshots
Version info (this is important!):
Additional context Add any other context about the problem here.