Skip to main content

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


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 details)

Uploaded Source

Built Distribution

fourmy-0.0.5-cp310-cp310-manylinux_2_35_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.35+ x86-64

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

Hashes for fourmy-0.0.5.tar.gz
Algorithm Hash digest
SHA256 6258740343d10f6b563d87ced18cbfec6e37e3c82a9b12f3a3fbe57808fe67b7
MD5 b2c991f5f3958ced89449a1d6d37ccb1
BLAKE2b-256 ccf5886d97e3f4eaadfc19c9cce295eee9437568725712096b00fd7d3d0c645c

See more details on using hashes here.

File details

Details for the file fourmy-0.0.5-cp310-cp310-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for fourmy-0.0.5-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 7e929f93090816ebb61c5fafd31c3c6bfbeeb4c3186ecad3d2157be2b948d7fb
MD5 c9fc8c26f088997c504ac7cf5a4826f9
BLAKE2b-256 9d4588d605a6113d1632a901e1eb8553d641a1cb1136c81661bae87fe1b10894

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