Basically this is currently implemented 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, but maybe Shapely 2.0 might (possibly) change this.
Basically this is currently implemented by introducing a pybind11 custom type caster to map from
GeomPoint
toshapely.geometry.point.Point
. However, in the current state, it suffers from two major issues:Point
objects are not hashable, and hence we can't use it in many classes like InstantSet.Point
objects do not support attaching SRID information, but maybe Shapely 2.0 might (possibly) change this.This PR, when complete, closes https://github.com/adonmo/meos/issues/8