Trying to limit service area calculation to facility features filtered through a definition query. Only the selected facilities are displayed, but still service areas for ALL features in the layer are calculated (including credit usage). Anything I overlooked?
Thanks, Josef
ps, ArcGIS Pro 3.1.1
Solved! Go to Solution.
If I've understood your workflow correctly, you have loaded all your inputs into the Facilities sublayer of the Service Area layer and then applied a definition query. This isn't expected to work. The solve will use everything in the Facilities sublayer regardless of selection set or definition query. If you want to solve using a subset, you need to apply your definition query to your original dataset before you call Add Locations to add the data to the Facilities sublayer.
The Copy Network Analysis Layer tool may help if you want to create several layers with the same settings and different sets of input data. You can configure one layer with the desired settings, copy it several times, and load different data into each one.
Seems strange. Are you sure the layer is referenced rather than the FC?
What exactly was the process used? Did you load the filtered facilities into a service area analysis layer and then solve? In this case only the facilities loaded into the SA layer will have results.
Jay Sandhu
If I've understood your workflow correctly, you have loaded all your inputs into the Facilities sublayer of the Service Area layer and then applied a definition query. This isn't expected to work. The solve will use everything in the Facilities sublayer regardless of selection set or definition query. If you want to solve using a subset, you need to apply your definition query to your original dataset before you call Add Locations to add the data to the Facilities sublayer.
The Copy Network Analysis Layer tool may help if you want to create several layers with the same settings and different sets of input data. You can configure one layer with the desired settings, copy it several times, and load different data into each one.