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
Built Distribution
File details
Details for the file fourmy-0.0.5.tar.gz
.
File metadata
- Download URL: fourmy-0.0.5.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6258740343d10f6b563d87ced18cbfec6e37e3c82a9b12f3a3fbe57808fe67b7 |
|
MD5 | b2c991f5f3958ced89449a1d6d37ccb1 |
|
BLAKE2b-256 | ccf5886d97e3f4eaadfc19c9cce295eee9437568725712096b00fd7d3d0c645c |
File details
Details for the file fourmy-0.0.5-cp310-cp310-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: fourmy-0.0.5-cp310-cp310-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.10, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e929f93090816ebb61c5fafd31c3c6bfbeeb4c3186ecad3d2157be2b948d7fb |
|
MD5 | c9fc8c26f088997c504ac7cf5a4826f9 |
|
BLAKE2b-256 | 9d4588d605a6113d1632a901e1eb8553d641a1cb1136c81661bae87fe1b10894 |