[postgis-devel] New function ST_MinimumDiameter() ?

Stefan Keller sfkeller at gmail.com
Fri Feb 6 12:34:28 PST 2015


Hi,

While asking about how to calculate the Oriented Bounding Box (OBB) of
a polygon or point set [1] I realized that there exists a function
MinimumDiameter() in GEOS [2].
Now, I'm wondering how to integrate this into PostGIS.
Unfortunately I'm not a C programmer and i don't how to the process
goes for new features in PostGIS.
Can somebody help?

Yours, S.

[1] http://gis.stackexchange.com/questions/133327/how-to-calculate-the-oriented-bounding-box-obb-of-a-polygon-or-point-set
[2] http://geos.refractions.net/ro/doxygen_docs/html/classgeos_1_1algorithm_1_1MinimumDiameter.html



More information about the postgis-devel mailing list