Skip to content
/ prioritile Public
forked from v4lli/prioritile

Efficient slippy map XYZ/WMS tile priority fill implementation

Notifications You must be signed in to change notification settings

gju/prioritile

 
 

Repository files navigation

prioritile - efficient slippy map XYZ/WMS tile priority fill implementation

prioritile applies a painter-type algorithm in an efficient way by leveraging the XYZ (and WM(T)S) directory structure on local and remote file systems. It is intended to replace complicated and inefficient GDAL VRT chains which are sometimes used to create a "world grids" of e.g. satellite imagery. XYZ/WMS tile directories can be created with e.g. gdal2tiles and viewed with any slippy map software (OpenLayers or Leaflet) or GIS Software (e.g. QGIS).

prioritile supports S3 storage backends for both input and output tilesets, as well as mixed configurations. prioritile was developed for and is used by meteocool.

Go

Limitations

At least two (one base tileset + one overlay) source directives are required (obviously). Some assumptions about the tiles and structure:

  • All files are RGBA PNGs
  • "No data" is represented by 100% transparency
  • All zoom levels are the same (no up or downsampling supported)

Installation

go build 😜

(You can try make to run prioritile on the included demo dataset).

Usage

All source directives are overlayed in the z-order specified on the command line. The first path specification is both the base layer and the output:

prioritile [-q] [-parallel=4] /tiles/target/ /tiles/source1/ [s3://foo/tiles/source2/ [...]]

About

Efficient slippy map XYZ/WMS tile priority fill implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 71.2%
  • HTML 28.2%
  • Makefile 0.6%