jord.shapely_utilities.projection.project_point_to_line#
- jord.shapely_utilities.projection.project_point_to_line(point: Point, line_start: Point, line_end: Point) Point [source]#
Find the nearest point on a straight line, measured from given point.
Source: http://gis.stackexchange.com/a/438/19627
- Parameters:
point – a shapely Point object
line_start – the line starting point as a shapely Point
line_end – the line end point as a shapely Point
- Returns:
a shapely Point that lies on the straight line closest to point