taibc

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

Discussion created by taibc on Feb 17, 2014
Latest reply on Mar 10, 2014 by iferrie
Hi everyone,

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

 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:

[ATTACH=CONFIG]31505[/ATTACH]

Do you know what's wrong with it ?

Thanks and regards,

Tai

Attachments

Outcomes