Skip to content

fegyi001/wms-thief

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wms-thief

Bulk WMS tile downloader and georeferencer

With wms-thief you can download WMS images from a server to your local machine. You can define multiple scales for a single run. The tile geometry and metadata can optionally be saved in a PostGIS database in case you wish to visualize the tile vectors. Furthermore, you can use a mask layer as well.

After downloading, the images are georeferenced and converted into GeoTiff format, so you can easily add them to e.g. GeoServer as an image mosaic layer.

Usage

  1. To run wms-thief the usage of the OSGeo4W shell is recommended. You may have to install the requests package locally with pip: pip install requests (this is how you install pip)
  2. Modify the run.py file to match your needs (see the code at the "user defined parameters" section)
  • set the WMS parameters such as url, image format, layer, crs, starting-ending coordinates etc.
  • optionally set the database connection
  • optionally add the WKT (well-known-text) file location containing a (multi)polygon for using as a mask layer
  1. Run the program from the command line: python run.py
  2. Please do not download private or sensitive data

Examples

Author

wms-thief was created by Gergely Padányi-Gulyás

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages