Ticket #111 (closed enhancement: fixed)
Enhancement request - Minimum Bounding Circle for PostGIS
|Reported by:||rind...@…||Owned by:||robe|
Here is a proposed new function for Minimum Bounding Circle in PostGIS 1.4.
This can be added to lwpostgis_upgrade.sql and lwpostgis.sql since it is
all a stored procedure. The results of the function is a polygon buffer representing the minimum bounding circle. The default buffer has 192 verticies but this can be increased. The Roeck test can be easily computed from this function. See http://postgis.refractions.net/pipermail/postgis-users/2008-October/021713.html
The procedure can be improved by adding a Maximum diameter function in GEOS (not easy ?) and changing my construction of a 3 point circle to a direct solution.