Skip to content

A very simple caching proxy for the Web Map Tile Service protocol

License

Notifications You must be signed in to change notification settings

mcejp/wmts-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wmts-proxy

A very simple caching proxy for the Web Map Tile Service protocol

What it can do:

  • Forward requests to an upstream server
  • Cache JPEG & PNG tiles
  • Optionally spoof Referer and User-Agent headers

Usage:

pip3 install requests
./wmts-proxy.py <upstream> <self-url> <additional options>

e.g.

./wmts-proxy.py "https://example.com/wmts" \
                "http://localhost:8000/" \
                --referer "https://example.com/map/"

Then, you would use the following URL in QGIS: http://localhost:8000/?SERVICE=WMTS&REQUEST=GetCapabilities

About

A very simple caching proxy for the Web Map Tile Service protocol

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages