Modify

Opened 4 months ago

Last modified 4 months ago

#23779 new enhancement

Support TILED WMS parameter

Reported by: BathoryPeter Owned by: team
Priority: normal Milestone:
Component: Core imagery Version:
Keywords: WMS Cc:

Description

QGIS supports the non standard TILED=TRUE which instructs the rendering engine to add a buffer around the requested box.
Documentation: https://docs.qgis.org/3.34/en/docs/server_manual/services/wms.html#wms-tiled

Since JOSM queries WMS in tile grid, anomalies may appear at tile boundaries in some cases (eg. for long texts).
For example check the "Magyar Közút / Buszmegállók" layer of WMS https://map.cartographia.hu/wms/osm-kozut somewhere in Hungary.

I recommend always sending &TILED=TRUE parameter for GetMap requests.

Attachments (2)

Képernyőkép 2024-07-05 16-20-43.png (207.1 KB ) - added by BathoryPeter 4 months ago.
"Buszmegállók" WMS layer in JOSM
Képernyőkép 2024-07-05 16-24-14.png (225.1 KB ) - added by BathoryPeter 4 months ago.
With &TILED=true

Download all attachments as: .zip

Change History (4)

by BathoryPeter, 4 months ago

"Buszmegállók" WMS layer in JOSM

by BathoryPeter, 4 months ago

With &TILED=true

comment:1 by stoecker, 4 months ago

As all imagery URLs are specified in the wiki and thus the URL is decided by the entry there is no need for special handling. TILED=TRUE can be added there. For the WMS adding feature in JOSM I don't see much sense in adding a non-standard parameter to work around a consistency issue in the software. As far as I see this "TILED=true" will only reduce the most obvious problem of that way of imagery generating, not fix it entirely.

comment:2 by BathoryPeter, 4 months ago

JOSM is what makes WMS request in an unconventional way. Most of the WMS clients requests full screen images, where out of screen texts and decorations are not a problem. JOSM's tiled approach is good, but WMS servers are not prepared for this by default.

I checked that adding ?TILED=true to WMS endpoint works in GetMap requests, just the generated url contains & duplicated: …?TILED=true&&FORMAT=image/png&…

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to BathoryPeter.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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