Re: [QGIS-Developer] MinimumRectangle implementation

2017-06-08 Thread L.Bartoletti
Hello, Yes, I have implemented this algorithm in python (processing). In my memories, my other template was a R source code . Regards. Le 08.06.2017 à 09:21, Havard Tveite a écrit : The QgsGeometry::orientedMinimumBoundingBox seems to impl

Re: [QGIS-Developer] MinimumRectangle implementation

2017-06-08 Thread Havard Tveite
The QgsGeometry::orientedMinimumBoundingBox seems to implement the rotating calipers method. If it does, it should produce the correct minimum bounding rectangle. (http://en.wikipedia.org/wiki/Minimum_bounding_box_algorithms) Håvard On 08. juni 2017 01:18, Nyall Dawson wrote: On 6 June 2017 at

Re: [QGIS-Developer] MinimumRectangle implementation

2017-06-07 Thread Nyall Dawson
On 6 June 2017 at 18:43, Paul Jobling wrote: > I am implementing geo in the Kognitio WX2 database using GEOS as a backend, > though I am using my own code for many things. One of those things is > ST_MinimumRectangle, which I have implemented as the rectangle with the > smallest area that enclose

[QGIS-Developer] MinimumRectangle implementation

2017-06-06 Thread Paul Jobling
I am implementing geo in the Kognitio WX2 database using GEOS as a backend, though I am using my own code for many things. One of those things is ST_MinimumRectangle, which I have implemented as the rectangle with the smallest area that encloses the geometry. This is different to the implementation