Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/camptocamp/tilecloud-chain
Tools to generate tiles from WMS or Mapnik, to S3, Berkley DB, MBTiles, or local filesystem in WMTS layout using Amazon cloud services.
https://github.com/camptocamp/tilecloud-chain
Last synced: 2 months ago
JSON representation
Tools to generate tiles from WMS or Mapnik, to S3, Berkley DB, MBTiles, or local filesystem in WMTS layout using Amazon cloud services.
- Host: GitHub
- URL: https://github.com/camptocamp/tilecloud-chain
- Owner: camptocamp
- License: bsd-2-clause
- Created: 2012-09-21T08:10:43.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-09-17T20:34:16.000Z (5 months ago)
- Last Synced: 2024-09-18T02:51:31.165Z (5 months ago)
- Language: Python
- Homepage: https://pypi.python.org/pypi/tilecloud-chain
- Size: 8.95 MB
- Stars: 47
- Watchers: 12
- Forks: 13
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-starred - camptocamp/tilecloud-chain - Tools to generate tiles from WMS or Mapnik, to S3, Berkley DB, MBTiles, or local filesystem in WMTS layout using Amazon cloud services. (others)
README
# TileCloud-chain
The goal of TileCloud Chain is to provide tools around tile generation on a chain like:
Source: WMS, Mapnik.
Optionally using an SQS queue, AWS host, SNS topic.
Destination in WMTS layout, on S3, on Berkeley DB (`bsddb`), on MBTiles, or on local filesystem.
Features:
- Generate tiles.
- Drop empty tiles.
- Drop tiles outside a geometry or a bbox.
- Use MetaTiles.
- Generate the legend images.
- Generate GetCapabilities.
- Generate OpenLayers example page.
- Obtain the hash of an empty tile.
- In the future, measure tile generation speed.
- Calculate cost and generation time.
- In the future, manage the AWS hosts that generate tiles.
- Delete empty tiles.
- Copy files between caches.
- Be able to use an SQS queue to dispatch the generation.
- Post processing the generated tiles.
- ...Legacy features:
- bsddb support
- sqlite (mbtiles) support
- mapnik support (should be updated for Python3)## Screenshot
Screenshot of the admin page with queue stored on PostgreSQL:
![TileCloud Chain](./admin-screenshot.png)
## Get it
Create the config file `tilegeneration/config.yaml` see as [example](https://github.com/camptocamp/tilecloud-chain/blob/master/example/tilegeneration/config.yaml).
### Support
Only the latest release is supported and version < 1.11 contains security issues.
## From sources
Build it:
```bash
make build
```## Run prospector
```bash
make prospector
```## Run the tests
To run the tests:
```bash
make tests
```## Documentation
As documentation you can read the [USAGE.rst](https://github.com/camptocamp/tilecloud-chain/blob/master/tilecloud_chain/USAGE.rst)
and the [configuration reference](https://github.com/camptocamp/tilecloud-chain/blob/master/tilecloud_chain/CONFIG.md).## Contributing
Install the pre-commit hooks:
```bash
pip install pre-commit
pre-commit install --allow-missing-config
```