Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

The area of feature don't equal the value Shape.Area ?

$
0
0
Hi everyone,

I used this statement to get the area value of polygon feature:

Code:

while (pFeature != null)
    {
             
                IGeometry shapeCopy = pFeature.ShapeCopy;                               

                IArea area = pFeature.Shape as IArea;
                double value = area.Area; // Result is: 110102.807...
                 
     
                // ....
                pFeature = pFeatureCursor.NextFeature();
      }

But when showing the identify: The Shape.Area is: 20737.12 (not equal 110102.807). Please see the image:

Attachment 31505

Do you know what's wrong with it ?

Thanks and regards,

Tai
Attached Thumbnails
Click image for larger version

Name:	ShowIdentify.PNG‎
Views:	N/A
Size:	26.0 KB
ID:	31505  

Viewing all articles
Browse latest Browse all 1374

Trending Articles