Select to view content in your preferred language

Manually geoprocessing and model geoprocessing having different output

600
3
Jump to solution
08-08-2023 07:05 AM
GISAdministrator8
New Contributor II

I'm trying to create a simple model that first selects flood alert areas by area then exports the selection as a feature class:

 

GISAdministrator8_6-1691503344855.png

The result however is missing all attributes:

 

GISAdministrator8_7-1691503380914.png

It should look like this:

 

GISAdministrator8_8-1691503404452.png

which is the output if you were to do it manually instead: select by location>right click layer>data>export features

so it uses the same geoprocessing tools (Select by Location and Feature Class To Feature Class) but the ModelBuilder version is producing data without all the attributes.

1 Solution

Accepted Solutions
clt_cabq
Regular Contributor

Here's the issue right here, tool is deprecated and to make it work as you want, you have to use the field mapping bit to manage your output fields which is different from how the other tool works unfortunately.

clt_cabq_0-1691504698747.png

Instead, use the CopyFeatures tool:

clt_cabq_1-1691504855338.png

 

 

View solution in original post

3 Replies
clt_cabq
Regular Contributor

Here's the issue right here, tool is deprecated and to make it work as you want, you have to use the field mapping bit to manage your output fields which is different from how the other tool works unfortunately.

clt_cabq_0-1691504698747.png

Instead, use the CopyFeatures tool:

clt_cabq_1-1691504855338.png

 

 

GISAdministrator8
New Contributor II

Thanks, i have also worked around the issue by first doing it manually and then dragging the tools in the geoprocessing history into the model-builder

0 Kudos
clt_cabq
Regular Contributor

There are always multiple ways to do things - are you using an older version of Pro? 

0 Kudos