Skip to content

Commit 7358148

Browse files
committed
#468 fix stale Dutch PDOK URLs in Unit Test fixtures
1 parent 7e9dee8 commit 7358148

2 files changed

Lines changed: 31 additions & 31 deletions

File tree

tests/data/fixtures.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,18 @@
5757
"ows"
5858
]
5959
},
60-
"WOUDC WMTS": {
60+
"PDOK CP WMTS": {
6161
"owner": "admin",
6262
"resource_type": "OGC:WMTS",
6363
"active": true,
64-
"title": "Dutch Kadaster PDOK WMTS",
65-
"url": "https://geodata.nationaalgeoregister.nl/tiles/service/wmts",
64+
"title": "Dutch Kadaster PDOK BRT WMTS",
65+
"url": "https://service.pdok.nl/kadaster/kadastralekaart/wmts/v5_0",
6666
"tags": [
6767
"ows",
6868
"tiling"
6969
]
7070
},
71-
"PDOK WMTS": {
71+
"PDOK BRT WMTS": {
7272
"owner": "admin",
7373
"resource_type": "OGC:WMTS",
7474
"active": true,
@@ -200,19 +200,19 @@
200200
"version": "2.0.2"
201201
}
202202
},
203-
"WOUDC WMTS - GetCaps": {
204-
"resource": "WOUDC WMTS",
203+
"PDOK CP WMTS - GetCaps": {
204+
"resource": "PDOK CP WMTS",
205205
"probe_class": "GeoHealthCheck.plugins.probe.owsgetcaps.WmtsGetCaps",
206206
"parameters": {
207207
"service": "WMTS",
208208
"version": "1.0.0"
209209
}
210210
},
211-
"WOUDC WMTS - GetTileREST": {
212-
"resource": "WOUDC WMTS",
211+
"PDOK CP WMTS - GetTileREST": {
212+
"resource": "PDOK CP WMTS",
213213
"probe_class": "GeoHealthCheck.plugins.probe.wmts.WmtsGetTile",
214214
"parameters": {
215-
"layers": ["natura2000"],
215+
"layers": ["Kadastralekaart"],
216216
"tilematrixset": "sample",
217217
"tilematrix": "all",
218218
"latitude_4326": "52",
@@ -223,11 +223,11 @@
223223
"kvprest": "REST"
224224
}
225225
},
226-
"WOUDC WMTS - GetTileKVP": {
227-
"resource": "WOUDC WMTS",
226+
"PDOK CP WMTS - GetTileKVP": {
227+
"resource": "PDOK CP WMTS",
228228
"probe_class": "GeoHealthCheck.plugins.probe.wmts.WmtsGetTile",
229229
"parameters": {
230-
"layers": ["natura2000"],
230+
"layers": ["Kadastralekaart"],
231231
"tilematrixset": "sample",
232232
"tilematrix": "all",
233233
"latitude_4326": "52",
@@ -238,8 +238,8 @@
238238
"kvprest": "KVP"
239239
}
240240
},
241-
"PDOK WMTS - GetTileAllKVP": {
242-
"resource": "PDOK WMTS",
241+
"PDOK BRT WMTS - GetTileAllKVP": {
242+
"resource": "PDOK BRT WMTS",
243243
"probe_class": "GeoHealthCheck.plugins.probe.wmts.WmtsGetTileAll",
244244
"parameters": {
245245
"layers": ["All layers"],
@@ -358,8 +358,8 @@
358358
"check_class": "GeoHealthCheck.plugins.check.checks.XmlParse",
359359
"parameters": {}
360360
},
361-
"WOUDC WMTS - GetCaps - XML Parse": {
362-
"probe_vars": "WOUDC WMTS - GetCaps",
361+
"PDOK CP WMTS - GetCaps - XML Parse": {
362+
"probe_vars": "PDOK CP WMTS - GetCaps",
363363
"check_class": "GeoHealthCheck.plugins.check.checks.XmlParse",
364364
"parameters": {}
365365
},
@@ -397,33 +397,33 @@
397397
"check_class": "GeoHealthCheck.plugins.check.checks.HttpHasImageContentType",
398398
"parameters": {}
399399
},
400-
"WOUDC WMTS - GetTileREST - No Exception": {
401-
"probe_vars": "WOUDC WMTS - GetTileREST",
400+
"PDOK CP WMTS - GetTileREST - No Exception": {
401+
"probe_vars": "PDOK CP WMTS - GetTileREST",
402402
"check_class": "GeoHealthCheck.plugins.check.checks.NotContainsOwsException",
403403
"parameters": {"strings": ["ExceptionReport>", "ServiceException>"]}
404404
},
405-
"WOUDC WMTS - GetTileREST - Content Type": {
406-
"probe_vars": "WOUDC WMTS - GetTileREST",
405+
"PDOK CP WMTS - GetTileREST - Content Type": {
406+
"probe_vars": "PDOK CP WMTS - GetTileREST",
407407
"check_class": "GeoHealthCheck.plugins.check.checks.HttpHasImageContentType",
408408
"parameters": {}
409409
},
410-
"WOUDC WMTS - GetTileKVP - No Exception": {
411-
"probe_vars": "WOUDC WMTS - GetTileKVP",
410+
"PDOK CP WMTS - GetTileKVP - No Exception": {
411+
"probe_vars": "PDOK CP WMTS - GetTileKVP",
412412
"check_class": "GeoHealthCheck.plugins.check.checks.NotContainsOwsException",
413413
"parameters": {"strings": ["ExceptionReport>", "ServiceException>"]}
414414
},
415-
"WOUDC WMTS - GetTileKVP - Content Type": {
416-
"probe_vars": "WOUDC WMTS - GetTileKVP",
415+
"PDOK CP WMTS - GetTileKVP - Content Type": {
416+
"probe_vars": "PDOK CP WMTS - GetTileKVP",
417417
"check_class": "GeoHealthCheck.plugins.check.checks.HttpHasImageContentType",
418418
"parameters": {}
419419
},
420-
"PDOK WMTS - GetTileAllKVP - No Exception": {
421-
"probe_vars": "PDOK WMTS - GetTileAllKVP",
420+
"PDOK BRT WMTS - GetTileAllKVP - No Exception": {
421+
"probe_vars": "PDOK BRT WMTS - GetTileAllKVP",
422422
"check_class": "GeoHealthCheck.plugins.check.checks.NotContainsOwsException",
423423
"parameters": {"strings": ["ExceptionReport>", "ServiceException>"]}
424424
},
425-
"PDOK WMTS - GetTileAllKVP - Content Type": {
426-
"probe_vars": "PDOK WMTS - GetTileAllKVP",
425+
"PDOK BRT WMTS - GetTileAllKVP - Content Type": {
426+
"probe_vars": "PDOK BRT WMTS - GetTileAllKVP",
427427
"check_class": "GeoHealthCheck.plugins.check.checks.HttpHasImageContentType",
428428
"parameters": {}
429429
}

tests/data/resources.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"resource_type": "OGC:WCS",
1919
"active": true,
2020
"title": "PDOK AHN Web Coverage Service",
21-
"url": "https://geodata.nationaalgeoregister.nl/ahn1/wcs",
21+
"url": "https://service.pdok.nl/rws/ahn/wcs/v1_0",
2222
"tags": [
2323
"ows",
2424
"pdok"
@@ -61,7 +61,7 @@
6161
"resource_type": "OGC:WFS",
6262
"active": true,
6363
"title": "PDOK BAG Web Feature Service",
64-
"url": "https://geodata.nationaalgeoregister.nl/bag/wfs/v1_1",
64+
"url": "https://service.pdok.nl/lv/bag/wfs/v2_0",
6565
"tags": [
6666
"ows",
6767
"pdok"
@@ -120,7 +120,7 @@
120120
"resource": "PDOK AHN WCS",
121121
"probe_class": "GeoHealthCheck.plugins.probe.wcs.WcsGetCoverage",
122122
"parameters": {
123-
"layers": ["ahn1_100m"],
123+
"layers": ["dsm_05m"],
124124
"format": "image/png",
125125
"subset": ["10000", "300000", "280000", "619700"],
126126
"subsetting_crs": "http://www.opengis.net/def/crs/EPSG/0/28992",

0 commit comments

Comments
 (0)