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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file postgresVectorTileGenerator-0.0.1.tar.gz.
File metadata
- Download URL: postgresVectorTileGenerator-0.0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7f43fca32c260e6b26db36f0e0188ea2f2a7469162534043838f018b4a2fa3a
|
|
| MD5 |
b2a85547f29138cf304873fc64ba34d6
|
|
| BLAKE2b-256 |
c6600d5b82e09f4289c7f4e9ab9cf3fc6d8d2aed06947684465ebcb22e11cb46
|
File details
Details for the file postgresVectorTileGenerator-0.0.1-py3-none-any.whl.
File metadata
- Download URL: postgresVectorTileGenerator-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5d3161d3fd8bea829eed66d26e8885266564c64c58b8a2402576bc131e68118
|
|
| MD5 |
29a0f1ddc9c7d8989abb73de140ff079
|
|
| BLAKE2b-256 |
c97b46e82f871a77234cbba8d5271969d7d0b0fe555d008a6852a4a1221b849c
|