Select to view content in your preferred language

how to copy some fields from one attribute table to another

1031
3
Jump to solution
08-14-2024 01:37 AM
Labels (3)
JoãoToscano
Emerging Contributor

Good morning everyone, I have a shapefile, with an attribute table that is not how I want it, I had to make a new empty one, with the correct order of fields and more fields than the original, however now I don't know how to pass the information from a to the other. I just want to pass some of the fields.

0 Kudos
2 Solutions

Accepted Solutions
RichardHowe
Frequent Contributor

The append tool is the one you;re looking for.Input is your original dataset, target is your new one.

You can specify which fields feed into which new fields via the "Field matching type" option, when it;s set to:

"Use the field map to reconcile field differences"

View solution in original post

RichardHowe
Frequent Contributor

It will throw an error if you leave the field matching type to the default option. In this case it wants the two schemas to exactly match, and  you've already said that they don't

View solution in original post

3 Replies
RichardHowe
Frequent Contributor

The append tool is the one you;re looking for.Input is your original dataset, target is your new one.

You can specify which fields feed into which new fields via the "Field matching type" option, when it;s set to:

"Use the field map to reconcile field differences"

JoãoToscano
Emerging Contributor

Thanks for the answer, I've already tried the append tool, but it always gives an error, I thought it was because I was using an empty attribute table, but I'll try again, thanks.

0 Kudos
RichardHowe
Frequent Contributor

It will throw an error if you leave the field matching type to the default option. In this case it wants the two schemas to exactly match, and  you've already said that they don't