Thanks for your advice Arman. Unfortunately bbox is just the minimum bounding rectangle (i.e. min and max of x and y), not the minimum area bounding rectangle. I need MABR to get the short and long axes info.

I will wait for addition advice from others.

Murray

On 15/03/2011 12:53 PM, Aman Verma wrote:
bbox in the sp package is what you are looking for.

-----Original Message-----
From: r-sig-geo-boun...@r-project.org [mailto:r-sig-geo-boun...@r-project.org] 
On Behalf Of Murray Richardson
Sent: March 15, 2011 12:37 PM
To: r-sig-geo@r-project.org
Subject: [R-sig-Geo] minimum area bounding rectangles

Hi R users,

I would like to compute minimum area bounding rectangles for polygon
features to extract short and long axes and azimuths of the long axes.
Is this possible in R? I have not been able to find a way (yet).

Thanks in advance for any help.

Murray

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to