You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
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 since pybind11allows access to external python libraries, I think this should be possible.
The text was updated successfully, but these errors were encountered:
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:
Shapely's Point objects are not hashable, and hence we can't use it in many classes like InstantSet
Shapely's Point objects do not support attaching SRID information
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.The text was updated successfully, but these errors were encountered: