[postgis-devel] New function ST_MinimumDiameter() ?
sfkeller at gmail.com
Mon Feb 9 01:01:16 PST 2015
It's really the Oriented Bounding Box (OBB) I'm after.
I'd like to label e.g. buildings or lakes alongside their longest extension.
2015-02-08 22:12 GMT+01:00 Nicklas Avén <nicklas.aven at jordogskog.no>:
> Hallo Stefan
> Isn't MinimumBOundingCircle usable?
> I guess that comes from the same function in Geos.
> From that you can get the diameter by just use
> Or do I misunderstand?
> On Sun, 2015-02-08 at 20:44 +0100, Stefan Keller wrote:
>> Hi Regina and Paul
>> I'd like to use function ST_MinimumDiameter() in PostGIS which
>> obviously is not yet ported from GEOS.
>> Are there potentially other nice functions like this, which could be
>> made available in PostGIS?
>> Should I try to make a list?
>> Yours, S.
>> 2015-02-06 21:34 GMT+01:00 Stefan Keller <sfkeller at gmail.com>:
>> > Hi,
>> > While asking about how to calculate the Oriented Bounding Box (OBB) of
>> > a polygon or point set  I realized that there exists a function
>> > MinimumDiameter() in GEOS .
>> > 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.
>> >  http://gis.stackexchange.com/questions/133327/how-to-calculate-the-oriented-bounding-box-obb-of-a-polygon-or-point-set
>> >  http://geos.refractions.net/ro/doxygen_docs/html/classgeos_1_1algorithm_1_1MinimumDiameter.html
>> postgis-devel mailing list
>> postgis-devel at lists.osgeo.org
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
More information about the postgis-devel