Modify

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 Allroads)

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)

20937_workforme.png (468.9 KB ) - added by Don-vip 4 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Allroads, 4 years ago

Description: modified (diff)

comment:2 by stoecker, 4 years ago

Not sure if that's relevant, but the initial url is wrong. "?&request" should only be "?request".

in reply to:  2 comment:3 by Allroads, 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 Allroads, 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.

Last edited 4 years ago by Allroads (previous) (diff)

by Don-vip, 4 years ago

Attachment: 20937_workforme.png added

comment:5 by Don-vip, 4 years ago

Resolution: worksforme
Status: newclosed


Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.