Intersections of 3D polygons in python
Posted
by Andrew Walker
on Stack Overflow
See other posts from Stack Overflow
or by Andrew Walker
Published on 2010-03-31T00:49:19Z
Indexed on
2010/03/31
0:53 UTC
Read the original article
Hit count: 484
Are there any open source tools or libraries (ideally in python) that are available for performing lots of intersections with 3D geometry read from an ESRI shapefile? Most of the tests will be simple line segments vs polygons.
I've looked into OGR 1.7.1 / GEOS 3.2.0, and whilst it loads the data correctly, the resulting intersections aren't correct, and most of the other tools available seem to build on this work.
Whilst CGAL would have been an alternative, it's license isn't suitable. The Boost generic geometry library looks fantastic, but the api is huge, and doesn't seem to support wkt or wkb readers out of the box.
© Stack Overflow or respective owner