Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Given a polygon featureclass containing many polygons of different sizes and shapes, which geometric attributes (area, perimeter, etc) could be used to filter the polygons? It's probably best to ask this in two parts:

  1. Which geometric attributes do polygons possess?
  2. How would you calculate these attributes? Geoprocessing tools/ArcObjects preferred, but I would be satisfied with conceptual calculations which could then be coded.

As an example, I am considering calculating the maximum length of a polygon by breaking the edge of the polygon into points at a small interval and then calculating the distance between all points - the longest distance would be the maximum length of that polygon.

I'm hoping to use these attributes to allow interactive user control of polygon filtering.

share|improve this question
4  
A little more guidance about the purpose of this interactive "polygon filtering" is needed here, because there are infinitely many conceivable geometric properties polygons can have. Thus your first question is not practically answerable. –  whuber Nov 19 '12 at 17:24
3  
2d or 3d realm? –  Brad Nesom Nov 19 '12 at 17:32
1  
@whuber Fair enough. To simplify: Which attributes could be pictured visually by a GIS user? For example, polygon area can be filtered easily by specifying only those polygons with an area > 200m^2 be kept. It would be harder for a GIS user to picture complex angular geometry. So, I'd like attributes that could be comprehended simply to translate to filtering in the GIS. –  Nick Ochoski Nov 19 '12 at 17:35
3  
Arguably, there are still infinitely many such attributes. For instance, consider the modulus of the 17th coefficient of the Fourier series of the radial part of a convex polygon relative to its centroid(!). It's just a number and so is easily "visualized" and used for filtering. (It actually has a fairly simple interpretation, too, but that doesn't matter.) Obviously I could have picked any one of the infinitely many coefficients. –  whuber Nov 19 '12 at 17:55
3  
In that case, start with his bounding container toolset. –  whuber Nov 19 '12 at 18:06

3 Answers 3

Here is an interesting Python tool named "Shape Metrics". It calculates 12 different metrics for each polygon. There is a good PowerPoint presentation describing each Metric. The Arc Tool Box is written for ArcGIS 9.3.

Shape Metrics Tool

share|improve this answer

Off the top of my head: Is composed of lines and points, encloses a plane, may have a centroid or identifier such as name or feature class. May contain a fill of a feature class, Has interior and exterior edges. segment can be read from origin point back to origin point with no seg fault error. Has more than 3 points. Has an area. Since all GIS polygons are already composed of segments, why not use existing segment endpoints? I think they have no length as that is the function of the lines, I'm guessing you meant perimeter.

share|improve this answer

Topological characteristics are generally quite intuitive to understand.

Geometrically people are usually pretty poor (how big is 200m at X scale on screen?) I would let them select one example or draw a primary shape on screen and then calculate matched from this.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.