Skip to main content

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

VectorTileGenerator-0.0.6.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

VectorTileGenerator-0.0.6-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file VectorTileGenerator-0.0.6.tar.gz.

File metadata

  • Download URL: VectorTileGenerator-0.0.6.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for VectorTileGenerator-0.0.6.tar.gz
Algorithm Hash digest
SHA256 533ffab5b90d5d069cca2fdb25ee12052de254d7d60ba9e14dac42ddc4cbca82
MD5 06e648eb6ca6d8e6843e3481f950dcfd
BLAKE2b-256 e1da5a5897bc71abf655deef5013dcb92639954f1d6f0e3c2bad42f2844343f8

See more details on using hashes here.

File details

Details for the file VectorTileGenerator-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for VectorTileGenerator-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d7031085c03ea0a891bd09f85106258ff0221c8cb50fb89bd392e732a77f3550
MD5 7423b9437a02bc24c7163bc5ce5c97f4
BLAKE2b-256 53905226da72c01fcb59d8b330c355a00ffcec11bc891829c0437bca8d601527

See more details on using hashes here.

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