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


Release history Release notifications | RSS feed

This version

0.2

Download files

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

Source Distribution

tilecloud-chain-0.2.tar.gz (86.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page