Some functions from CGAL for GIS, it does not aim to become full CGAL bindings. The interface is modeled after shapely.
Project description
fourmy
Fourmy is a minimalistic library to access some CGAL functions from python.
The aim of the library is to be compatible with shapely and to offer functions that are not there.
usage
from shapely.geometry import Polygon, Point
from fourmy import tessellate
t = tessellate(Polygon([(0,0), (1,0), (1,1), (0,1)]))
print(t.wkt)
install
Fourmy depends on the c++ library CGAL and the python module shapely which sould be installed on your system before running setup script.
python setup.py build
sudo python setup.py install
history
The necessity arose for contrained triangulation of polygons for wich several libs exists in python, but none was found robust enough for our use case.
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
fourmy-0.0.5.tar.gz
(16.2 kB
view hashes)
Built Distribution
Close
Hashes for fourmy-0.0.5-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e929f93090816ebb61c5fafd31c3c6bfbeeb4c3186ecad3d2157be2b948d7fb |
|
MD5 | c9fc8c26f088997c504ac7cf5a4826f9 |
|
BLAKE2b-256 | 9d4588d605a6113d1632a901e1eb8553d641a1cb1136c81661bae87fe1b10894 |