Automatically generate a list of all possible tiles options between two zoom levels and a bounding box.
Project description
VectorTileGenerator
A python package to automatically generate a list of all possible z,x,y tiles options between two zoom levels and a bounding box.
Install
pip install VectorTileGenerator
How to use
from VectorTileGenerator import generator
import json
tileGeneration = generator.GenerateTiles(1, 3, [-118, 34, -84, 50])
# Demo of generating tiles
print(json.dumps(tileGeneration.generate(), indent=4))
{
"1": [
[
1,
0,
0
]
],
"2": [
[
2,
0,
1
],
[
2,
1,
1
]
],
"3": [
[
3,
1,
2
],
[
3,
1,
3
],
[
3,
2,
2
],
[
3,
2,
3
]
]
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for VectorTileGenerator-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 533ffab5b90d5d069cca2fdb25ee12052de254d7d60ba9e14dac42ddc4cbca82 |
|
MD5 | 06e648eb6ca6d8e6843e3481f950dcfd |
|
BLAKE2b-256 | e1da5a5897bc71abf655deef5013dcb92639954f1d6f0e3c2bad42f2844343f8 |
Close
Hashes for VectorTileGenerator-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7031085c03ea0a891bd09f85106258ff0221c8cb50fb89bd392e732a77f3550 |
|
MD5 | 7423b9437a02bc24c7163bc5ce5c97f4 |
|
BLAKE2b-256 | 53905226da72c01fcb59d8b330c355a00ffcec11bc891829c0437bca8d601527 |