1

I converted my polygon feature class P1 stored in GDB to centroids by Feature to point tool. I would like to keep the Shape_Area and Shape_Length, native to original polygons, in my resulting Centroids.

I tried to add Shape_Area and Shape_Length to Centroid data by Spatial Join: the attribute table is copied, but the Shape_Area and Shape_Length are missing. I also tried the Intersect the data, without success.

Is there a way how to add attributes (Shape_Area, Shape_Length) from my original polygons to Centroids? I would like to keep the original polygon values the weight the centroids later.

I am working with ArcGIS 10.4, ideally in ModelBuilder.

  • 1
    This should be possible using the Intersect tool to transfer polygon attributes to the points that fall within them. – PolyGeo Oct 13 '17 at 19:53
  • Thank you, I have tried the Intersect tool, without success. I have updated my question – maycca Oct 13 '17 at 20:59
  • Did you calculate new fields to area and length before Intersect? – PolyGeo Oct 13 '17 at 21:02
  • no I did not. I've just taken the polygon and intersected it with points. However, my polygons are store in a DBF, so they contain already the area and length columns – maycca Oct 13 '17 at 21:18
  • What parameter values did you use with Intersect? – PolyGeo Oct 13 '17 at 23:47
1

The tool that I would use to do this is Intersect which not only:

Computes a geometric intersection of the input features

but has documentation that says:

Attribute values from the input feature classes will be copied to the output feature class.

It is not clear from the documentation whether system maintained attributes like Shape_Area and Shape_Length are copied over but, if they are not, then prior to performing the Intersect you could add corresponding fields and calculate them to be the same.

The Add Field, Calculate Field and Intersect tools can all be used within a model.

1

Just to complete @PolyGeo answer (as it has took me some time to figure out what and how to copy the polygon data... :-)

When running Intersect tool over Polygon feature class (fc) stored in geodatabase with the point fc, the system does not maintain attributes like Shape_Area and Shape_Length (automatically calculated and updated in polygon GBD).

To keep the Shape_Area data to Point fc:

  1. Add new field and name it (copyArea, Tool: Add field) to the Polygon data
  2. Calculate the new field to correspond to Shape_Area field (Tool: Calculate Field):

Expression:

  areaCopy = [Shape_Area]
  1. Perform the Intersect between polygon (with new fields) and point data.

enter image description here

Your Answer

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

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