Select to view content in your preferred language

Imported facilities, incidents and routes remain visible on ArcGIS Pro project

80
3
2 weeks ago
Harley_Davidson
Emerging Contributor

Hi,

 

When using the Closest Facility tool in ArcGIS Pro, the imported facilities, incidents and routes remain visible on the project, even if the project Is not saved before being closed.

 

Is this normal behaviour?

 

Thank you!

0 Kudos
3 Replies
JaySandhu
Esri Regular Contributor

What version of ArcGIS Pro are you using?

I am trying to understand the workflow and the observed behavior. You start Pro, create a closest facility layer, import facilities, and incidents and the solve to get routes. Now you close the project without saving it at anytime after the CF layer was created. When you reopen the project, there is NO closest facility layer in the TOC but you are seeing facilities, incidents and routes on the map. There is no corresponding layer in the TOC for what is visible on the map.

 Is this is what you are running into, it should not happen. But if it happens, it could be some locally cached map data that did not get cleared. You can try deleting the local map cache and see if that resolves the problem. In ArcGIS Pro click on Project and then on Options. On the options popup, click on Display tab, scroll a bit down to see the Local cache and then click on the Clear Cache Now button below it. Hopefully that will resolve the problem.

Jay Sandhu

0 Kudos
Harley_Davidson
Emerging Contributor

Hi Jay,

I am running version 3.3. The project has a closest facility layer and the facilities and incidents are imported and then solved, so the routes are then added. The closest facility layer remains on the project and the project is then closed without  being saved. When that project is next opened the facilities, incidents and routes from the last analysis remain visible.

The option to clear cache is checked and it is cleared each time Pro is closed.

0 Kudos
JaySandhu
Esri Regular Contributor

Ok. So, when you open the project, it has a Closest Facility Layer. But it has not been loaded with any facilities or incidents. You then proceed to load them and solve the layer. At this point the facilities and incidents have become part of the CF layer that already existed. Now if you close the project without saving, the facilities and incidents will not disappear. They will show up next time you open the project. This is the expected behavior.

The CF layer when created first time, all the feature classes that make it up including the facilities and incidents are persisted in the project geodatabase. When you load the facilities and incidents they are also persisted in the project geodatabase. You will have to delete them on your own (e.g., delete rows tool). OR when the next time you load/import new facilities or incidents, you can Un-check the box next to Append to Existing locations. This way a new set will replace the old/existing one.

Jay Sandhu 

0 Kudos