Replies: 1 comment 2 replies
-
Shapely is indeed wrapping GEOS, and so it is limited to the functionality of GEOS on this aspect. In general, GEOS supports storing 3D geometries, but the actual support for this third dimension in operations (eg overlay operations or spatial predicates) is quite limited (AFAIK quite some of those will ignore the third dimension). While improved 3D support could maybe be a possible topic of discussion in the GEOS project, I don't think it is likely that there will ever be support for higher dimensions like 4d, 5d, etc. For alternatives, you might want to take a look at CGAL (https://www.cgal.org/), although I have no experience with it (their docs seems to mention some things about nD, eg https://doc.cgal.org/latest/Kernel_d/index.html#Chapter_dD_Geometry_Kernel). There is a python package that provides basic bindings: https://github.com/scikit-geometry/scikit-geometry (although I think it only supports 2D and 3D geometries at the moment). |
Beta Was this translation helpful? Give feedback.
-
Dear Developers and Users,
currently, I am using the Shapely package for my project in 2-dimensional cases. In our project, we deal with Polygons( 2-dimensional) and polyhedrons (3-dimensional). Later we plan to apply our method for further higher dimensions, like 4-d, 5-d, etc.
With Shapely performance in the 2d case, we are excited to use it for further dimensions. But Shapely on the backend uses GEOS, which is for 2d polygons. so I hope that I can not use Shapely on any dimension higher than 2.
Is it correct ?? (correct me if I am wrong )
is there any way to use Shapely on higher dimensional Polygon ( i.e on Polyhedra )?
I highly appreciate any suggestions on this topic!
thank you
Best regards
Muthu Vallinayagam,
Researcher,
TU Freiberg, Germany
Beta Was this translation helpful? Give feedback.
All reactions