This module provides utility functions for integrating with Shapely.
Function to convert a Shapely geometry to a geoalchemy2.types.WKBElement.
Additional arguments:
srid
An integer representing the spatial reference system. E.g. 4326. Default value is -1, which means no/unknown reference system.
Example:
from shapely.geometry import Point
wkb_element = from_shape(Point(5, 45), srid=4326)