I'm looking for a Python module that can provide some / all of the following services using latitude/longitude to define points:
Distance between two points
Point in polygon
Distance along a multi-point path
Identifier of closest point from a dict of points with identifiers
Distance from a point to each point in a dict containing points with identifiers
etc
You get the idea… Any suggestions?
Best Answer
You can use the GDAL Python bindings. Examples on how to use it can you find here.
For example you create points with lat/lon like this
Create a transformation from EPSG:4326 (lat/long) to EPSG:3035 (Projected coordinate system for Europe in meters)
Transform our points
And get the distance like this
Or you can create a polygon
And check if the polygon contains the point
And for the rest you can write functions to do what you want.