Opened 4 years ago
Closed 4 years ago
#20937 closed task (worksforme)
Missing '?' in the xlink:href wmts GetCapabilities gives error.
Reported by: | Allroads | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core imagery | Version: | |
Keywords: | wmts GetCapabilities | Cc: |
Description (last modified by )
This ticket:
https://josm.openstreetmap.de/ticket/20201#ticket
With images of the error.
The WMTS gives a layer error because of a missing '?'
https://service.pdok.nl/hwh/luchtfotorgb/wmts/v1_0?&request=GetCapabilities&service=wmts
The url that JOSM makes
https://service.pdok.nl/hwh/luchtfotorgb/wmts/v1_0SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=Actueel_ortho25&STYLE=&FORMAT=image/jpeg&tileMatrixSet=EPSG:3857&tileMatrix=10&tileRow=338&tileCol=5292
This is not working, halfway through, missing a ? after v1_0 and if you add it:
https://service.pdok.nl/hwh/luchtfotorgb/wmts/v1_0?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=Actueel_ortho25&STYLE=&FORMAT=image/jpeg&tileMatrixSet=EPSG:3857&tileMatrix=10&tileRow=338&tileCol=5291
That does produce a image in the browser.
In de wmts GetCapabilities
<ows:Get xlink:href=“https://service.pdok.nl/hwh/luchtfotorgb/wmts/v1_0”>
missing ? after v1_0
The agency is setting the '?' in the xml, GetCapabilities, the xml should change in the coming days, problem solved, but ..............
Josm is unable to add a missing one himself.
Should JOSM be able to do this itself?
I ask this, because a comment of the agency, other programs and viewers have no problems with it.
Is it mandatory to put in a wmts GetCapabilities this ' ? ' ?
If not, how to handle such case. If there is none ' ? '.
When a agency does not want to set this ' ? '.
Attachments (1)
Change History (6)
comment:1 by , 4 years ago
Description: | modified (diff) |
---|
follow-up: 3 comment:2 by , 4 years ago
comment:3 by , 4 years ago
Replying to stoecker:
Not sure if that's relevant, but the initial url is wrong. "?&request" should only be "?request".
deleting the & , with that url I also get error tiles in JOSM.
comment:4 by , 4 years ago
After the agency changed the xml and set a "?" at the end of the url xlink:href
But now.
"?&request" should only be "?request".
Should be, but it is the other way around.
With a " & " "?&request" this gives layer tiles and is working.
Only a " ? " "?request" GetCapabilities, this give error tiles. But a xml is shown, JOSM shows the layers in a menu.
This mandatory "&" problem, not usual.
by , 4 years ago
Attachment: | 20937_workforme.png added |
---|
Not sure if that's relevant, but the initial url is wrong. "?&request" should only be "?request".