Select to view content in your preferred language

add locations network analyst tool

1185
2
Jump to solution
09-04-2017 08:45 PM
Maximiliano_A_Bernal_Giraldo
Deactivated User

Hi, Hope anyone can help me.

Right now I'm developing a tool that takes from a workspace a shapefile of poits (routes stops) and add location to a route Layer, after I select the solve route and export it as a shapefile to other folder, not a complex thing.

It seems to be ok, but It gives me back a error mesage when I try to run it:

it seems to be a trouble in add location tool, it doesn't recive the layer from iterate feature class, I run just that part in arc map, add locations ad it works fine, so I really don't know what is happening, any ideas will be really helpful.

thanks.

0 Kudos
1 Solution

Accepted Solutions
curtvprice
MVP Esteemed Contributor

Have you read the linked error message?

030047: Not all network location fields have a field mapping or default value.—Help | ArcGIS Desktop 

Add Locations—ArcGIS Pro | ArcGIS Desktop 

From the tool reference:

If you specify the field mapping for any of the network location properties, you need to specify the field mappings for the remaining network location properties to avoid a tool execution error.

View solution in original post

2 Replies
Maximiliano_A_Bernal_Giraldo
Deactivated User

exploring the tool inside the model builder I found this 

any ideas?

0 Kudos
curtvprice
MVP Esteemed Contributor

Have you read the linked error message?

030047: Not all network location fields have a field mapping or default value.—Help | ArcGIS Desktop 

Add Locations—ArcGIS Pro | ArcGIS Desktop 

From the tool reference:

If you specify the field mapping for any of the network location properties, you need to specify the field mappings for the remaining network location properties to avoid a tool execution error.