I have a set of polygons specified by geographic (WGS84) coordinates: they live on a sphere.
I have a point specified by a latitude-longitude pair.
I would like to (efficiently) find the minimum great circle distance between the point and the polygon.
My current stack includes fiona, shapely, gdal, and proj.
Similar questions on StackOverflow mostly seem to project features onto a plane and find distances there, or (disturbingly) omit mention of projections or lack thereof entirely.
This is not especially efficient since so much of the manipulation takes place in Python, rather than within a compiled library, but it does get the job done:
Of course, you could speed things up by only considering points and ignoring great circle arcs, as would be appropriate for polygons with suitable dense boundary specification: