Skip to main content

Automatically generate a vector tile cache for a table in postgreSQL.

Project description

postgresVectorTileGenerator

A python package to automatically generate a cache of vector tiles between two zoom levels and a bounding box for a table in postgreSQL.

Install

pip install postgresVectorTileGenerator

How to use

import os
from postgresVectorTileGenerator import generator

cache_location = f"{os.getcwd()}/cache"

tileGeneration = generator.GenerateTiles(cache_location, "localhost", 5432, "postgres", "postgres", "data", "states", 1, 5, [-118, 34, -84, 50])

tileGeneration.generate()

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

postgresVectorTileGenerator-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file postgresVectorTileGenerator-0.0.1.tar.gz.

File metadata

File hashes

Hashes for postgresVectorTileGenerator-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e7f43fca32c260e6b26db36f0e0188ea2f2a7469162534043838f018b4a2fa3a
MD5 b2a85547f29138cf304873fc64ba34d6
BLAKE2b-256 c6600d5b82e09f4289c7f4e9ab9cf3fc6d8d2aed06947684465ebcb22e11cb46

See more details on using hashes here.

File details

Details for the file postgresVectorTileGenerator-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for postgresVectorTileGenerator-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5d3161d3fd8bea829eed66d26e8885266564c64c58b8a2402576bc131e68118
MD5 29a0f1ddc9c7d8989abb73de140ff079
BLAKE2b-256 c97b46e82f871a77234cbba8d5271969d7d0b0fe555d008a6852a4a1221b849c

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