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 details)

Uploaded Source

File details

Details for the file tilecloud-chain-0.2.tar.gz.

File metadata

File hashes

Hashes for tilecloud-chain-0.2.tar.gz
Algorithm Hash digest
SHA256 fa5ef42dbbe6ee034cc2adbb52f965dd73a05579fdb740f28cd416efccdff485
MD5 61ac3cda54c4d1a9a10246a9b761a315
BLAKE2b-256 1f39626a5a4b47de7b6202aaffcf2cf7d1171a2c907677157f1bf02e074443d3

See more details on using hashes here.

Provenance

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