Closed csmoore closed 7 years ago
Executed tool twice and results were written to user specified workspace. Issue could not be reproduced.
@kgonzago while testing issue #508 I am able to reproduce this issue with the latest from dev. I am running ArcMap 10.3.1. What version are you using?
What I am experiencing is that it is honoring the settings in my ArcMap session and not in the tool input. Steps to reproduce:
Also, I am finding that the tool will only write out one result, which I am not sure if this is because of this. I have experienced this in ArcMap.
I am seeing some crazy behavior with what it is writing. It will take me some time to capture it. This is a placeholder until I can get capture what is happening. This is what I have done to see the issue still present:
I was able to fix the issue with multiple layers not adding to the map. That was done in pull request #602 . It was an issue with how long the names were possibly. I fixed it by just taking away the words "selectvalue" in the output name.
@topowright - the "only one output" issue is also noted here: https://github.com/ArcGIS/solutions-defense/issues/423 It is something that cropped up before and was supposed to have been fixed: https://github.com/Esri/solutions-geoprocessing-toolbox/issues/497
At the time, the problem was that it was iterating the areas correctly, but then writing all of the outputs to the same path string, overwriting each one in turn.
@BobBooth I have addressed the naming issues in PR #602. I am going to verify this issue. now.
Verified we are now able to save the output to location specified when running the GP tool.
Verified a second time with @topowright present to confirm results.
Incident Analysis HotSpotsByArea ignores the output workspace parameter in ArcMap
Expected Behavior
Output data to be created in workspace set in output workspace parameter
Current Behavior
Output data is created in default environment workspace
Steps to Reproduce (for bugs)
Context
Your Environment