from shapely.geometry import Point, LineString line = LineString([(lat1,lon1),(lat2,lon2)]) point = Point(lat3, lon3) line.distance(point) < 1e-8
TypeError: only size-1 arrays can be converted to Python scalars
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)