Currently the LEC functionality is accessed via
ST_MaximumInscribedCircle when the input is non-polygonal (lines and/or points). I suggest exposing it directly via a new function
ST_LargestEmptyCircle(geom, boundary, tolerance). This has the advantages:
- it provides an explicit boundary constraint polygon. This will support queries such as "Find the furthest point in a jurisdiction from all roads".
- it will allow polygonal obstacles (in the future, once the underlying algorithm is enhanced)
- it allows more focussed documentation and examples
The boundary is optional; if not provided the convex hull of the obstacles is used. Perhaps the function signature should allow the
boundary parameter to be optional? Or else it can be allowed to be NULL.
ST_MaximumInscribedCircle behaviour can be left unchanged for backwards compatibility.