Skip to main content

Tools to generates tiles from WMS or Mapnik, to S3, Berkley DB, MBTiles, or local filesystem in WMTS layout using Amazon cloud services.

Project description

The goal of TileCloud Chain is to have tools around tile generation on a chain like:

Source: WMS, Mapnik, and probably in future MapScript.

Optionally use an SQS queue.

Destination in WMTS layout, on local filesystem or on S3.

Feature:

  • Generate tiles.
  • Drop empty tiles.
  • Drop tiles outside a geometry or a bbox.
  • Use MetaTiles
  • Generate GetCapabilities.
  • Generate OpenLayers example page.
  • Obtain the hash of an empty tile
  • In future, measure tile generation speed
  • Calculate cost and generation time.
  • In future, manage the AWS hosts that generate tiles.
  • Delete empty tiles.

Use it

Install:

virtualenv .
./bin/pip install tilecloud-chain
./bin/pcreate -s tilecloud_chain .

Edit your layers configuration in ./tilegeneration/config.yaml.

Default self documented file: https://github.com/sbrunner/tilecloud-chain/blob/master/tilecloud_chain/scaffolds/create/tilegeneration/config.yaml.in.

Generate tiles:

./bin/generate_tiles

Generate WMTS capabilities:

./bin/generate_controller --generate_wmts_capabilities

From source

Build it:

python bootstrap.py --version 1.5.2 --distribute --download-base \
        http://pypi.camptocamp.net/distribute-0.6.22_fix-issue-227/ --setup-source \
        http://pypi.camptocamp.net/distribute-0.6.22_fix-issue-227/distribute_setup.py
./buildout/bin/buildout

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
tilecloud-chain-0.2.tar.gz (86.4 kB) Copy SHA256 hash SHA256 Source None Jan 7, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page