qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.66k stars 3.02k forks source link

WMTS sniffer #58062

Open jidanni opened 4 months ago

jidanni commented 4 months ago

Feature description

I have an idea for a WMTS etc. sniffer, See below maybe it might be useful when QGIS users need to get WMTS parameters... I just can't think of any place where I can post my idea. No, I'm not a (real) programmer.

szooon1 commented 4 months ago

@jidanni link dosent work.

jidanni commented 4 months ago

Oops: OK, here it is,


Normally various web apps need the user to put together (usually XML) description files of tile servers, e.g.,

https://sourceforge.net/p/viking/wikiallura/Maps/ https://alpinequest.net/en/help/v2/maps/on-demand-create But let's say there is a tile server that doesn't have any documentation nor GetCapabilities files etc.

Couldn't there be some browser extension invented by somebody, that oh, say, after several minutes of browsing the maps on said server, could come up with a pretty good description of that server. Even reverse engineering highly resistant sites.

E.g., the user clicks zoom, and the URLs flowing into the browser change from .../5/... to .../6/.... Well there you've got your Z field.

Or the user clicks a button labeled "Satellite view". The browser extension notes the label, and associates it with a URL change from .../DMAPS/ to .../EMAPS/, etc.

Naturally easy items like an unchanging HTTP Referer field flowing into the browser would be noted and added to the final XML produced.