I have a shapefile with many minimum bounding box (envelope) polygons and I need to find out, if the boxes are rather landscape or portrait format. (See pic below, one of the selected boxes should be marked as landscape, the other as portrait)
I got the width and length of the boxes, however, the shorter line is always taken as the width by ESRI default so I cannot find out if the box is landscape or portrait using these values.
Anyone has an idea on how to solve this in an easy way?
All I can come up with is computing the corner coordinates, but not sure how to do it exactly.
I work with ArcGIS Desktop 10.1.