Select to view content in your preferred language

Output Workspace Does not Exist Hot Spot Analysis

571
4
07-26-2024 09:48 AM
Labels (1)
MadelineRatoza
Emerging Contributor

Hi all, 

I am running hotspot analysis using a spatial weight matrix. I can run the hotspot analysis using any other form of threshold distance (K nearest, fixed, etc), but when I try to run it using the spatial weight matrix file it gives me the error "Output workspace does not exist." 

Has anyone seen this happen or know if I need to specify a specific workspace somehow differently when using a spatial weight matrix file? 

Thank you! 

0 Kudos
4 Replies
DanPatterson
MVP Esteemed Contributor

Generate Spatial Weights Matrix (Spatial Statistics)—ArcGIS Pro | Documentation

It would require a locally stored folder location.  specify the full file path and the *.swm extension

The full path for the output spatial weights matrix file (.swm).


... sort of retired...
0 Kudos
MadelineRatoza
Emerging Contributor

Thank you for the response!

I have created the matrix file .swm, but when I try to use that file to set the threshold distance for the Hot Spot analysis, it says there is no output workspace, but I am putting a full file path into the "Output feature class." The same one that I put in for any other hotspot analysis. Does there need to be something specific or different for the output feature class when using a .swm file to set the threshold distance? 

0 Kudos
DanPatterson
MVP Esteemed Contributor

Load and save a spatial weights matrix file—ArcGIS Pro | Documentation

are you sure it has data in it?

Hot Spot Analysis (Getis-Ord Gi*) (Spatial Statistics)—ArcGIS Pro | Documentation

the output should be to a featureclass in a file geodatabase and the swm is used in the

Conceptualization of Spatial Relationships section of the tool.  If you navigated to the swm and you got that error, then it doesn't have anything in it or something else, like saved to a non-local folder,  or one-drive, etc 

 


... sort of retired...
0 Kudos
MadelineRatoza
Emerging Contributor

This is helpful. I think I saved the .swm in a different folder that is not the working environment. When I go to pick the place for the .swm the working environment does not appear as an option for some reason. But I think this gets me closer to the answer!

0 Kudos