Python core libraries for ROK4 project
Project description
ROK4 Python libraries
The rok4
package help to use ROK4 project concepts, like Tile Matrix Sets, data pyramids or layers.
Installation
Required system packages :
- debian :
apt install python3-rados python3-gdal
The rok4
package is available on :
- PyPI :
pip install rok4
- GitHub :
pip install https://github.com/rok4/core-python/releases/download/<version>/rok4-<version>-py3-none-any.whl
Usage
from rok4.TileMatrixSet import TileMatrixSet
from rok4.Vector import Vector
try:
tms = TileMatrixSet("file:///path/to/tms.json")
vector = Vector("file:///path/to/vector.shp")
vector_csv1 = Vector("file:///path/to/vector.csv", delimiter, column_x, column_y)
vector_csv1 = Vector("file:///path/to/vector.csv", delimiter, column_WKT)
except Exception as exc:
print(exc)
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
rok4-1.6.0.tar.gz
(48.7 kB
view hashes)
Built Distribution
rok4-1.6.0-py3-none-any.whl
(40.2 kB
view hashes)