@timetabling it's easy as long as you're able to convert the geometry to shapely.geometry.* or well-known text.