I am new to ArcGIS 10 and am currently building a model. This is a brief rundown of what I am doing at the moment.

I have 2 shapefiles: one a polyline and the other is point data.

I have joined both files using the spatial join tool within the model which created a shapefile that contains the attributes of both files. But I would like to get rid of the attributes obtained from the polyline and retain the attributes from the points since the shapefile has changed to a polyine.

  • 1
    Do you need to drop fields? – Aaron Dec 13 '12 at 14:26
  • I think @Aaron is right - try deleting the unwanted fields using the Delete Field tool first - it's conceptually simpler than getting into Field Mappings – PolyGeo Dec 14 '12 at 0:52

Try incorporating Delete Field into your model. You can easily drop multiple fields in this one step.

enter image description here


It sounds like you want to use the FieldMappings() object. I use the FieldMappings() object programmatically through python. However the FieldMappings() object is available through the SpatialJoin() and Merge() tools when inserted into a custom model. I suggest start reading through the FieldMappings() documentation and then play around with it. It's a bit tricky to learn at first but once you understand how it works it becomes a very useful way to merge various types of geometry (or the same types of geometry) data while keeping (or dropping) fields and attributes.

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.