Open chaitan94 opened 4 years ago
I have pushed a rudimentary effort of integrating with Shapely in PyMEOS in the shapely branch. Basically by introducing a pybind11 custom type caster to map from GeomPoint
to shapely.geometry.point.Point
. However, in the current state, it suffers from two major issues:
InstantSet
Right now when we are returning point data, we return a custom
Geometry
class. But when it comes to Python ecosystem, it would be great if we can return this data as Shapely objects. This would make the library play nicely with lots of other geospatial processing tools. Although I haven't looked into it how this can be achieved yet - but sincepybind11
allows access to external python libraries, I think this should be possible.