Select to view content in your preferred language

Closest Facility - Remove Facilities and Incidents?

179
3
Jump to solution
11-19-2024 06:43 AM
Harley_Davidson
Emerging Contributor

Hi,

Does anyone know if it is possible to remove the Facilities and Incidents from the Closest Facility tool in ArcGIS Pro? 

In the ArcMap environment you'd right click on the relevant section of the NA tool and you could select the Delete All option.

Thank you!

0 Kudos
1 Solution

Accepted Solutions
JaySandhu
Esri Regular Contributor

You can use the GP tool Delete Rows to delete the selected (or all) rows of a feature class like the Facilities or Incidents.

If you have the feature attribute table open, you can select rows and right-click and choose Delete Row.

Also, if you are re-using a CF layer to load another set of facilities or incidents, you can on the Add Locations tool turn off Append To Existing Locations and that will delete the previously loaded data and add new locations.

Jay Sandhu

View solution in original post

0 Kudos
3 Replies
JaySandhu
Esri Regular Contributor

You can use the GP tool Delete Rows to delete the selected (or all) rows of a feature class like the Facilities or Incidents.

If you have the feature attribute table open, you can select rows and right-click and choose Delete Row.

Also, if you are re-using a CF layer to load another set of facilities or incidents, you can on the Add Locations tool turn off Append To Existing Locations and that will delete the previously loaded data and add new locations.

Jay Sandhu

0 Kudos
Harley_Davidson
Emerging Contributor

Thank you, Jay.

Can I just check that this is deleting the features from the Closest Facility tool and not deleting the features from the source data being used as both Facilities and Incidents?

0 Kudos
JaySandhu
Esri Regular Contributor

Once data is loaded from a feature class to a facilities or incidents layer it becomes independent of where the data came from. Deleting rows from a facilities or incidents layer does not impact the original feature class.

Jay Sandhu