I currently allow users to add a shapefile in. From the shapefile, allow the user to generate a new layer base on the polygons from the shapefile's polygon they imported.

Generating the new polygon and putting them into my own layer is no longer a problem, however, I see the Area/Area_Length attribute to be different between my new and old polygon.

Only difference is I projected the Map's spatial reference to the new polygon, instead of using the layer's spatial reference.

Do you guys know if that is the reason behind the different attributes?


foreach (IPolygon polygon in polygons)
   //Need to project to the map spatial reference

   //Generate a new polygon
   newPolygon = new Polygon() as IPolygon;


   //Add the feature
   subcatchmentFeature = new SubcatchmentFeature(newPolygon);
  • Are you referring to the differences in Area/Perimeter relationships between projected and unprojected data? – user681 May 17 '11 at 17:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.