Hi everyone.
I have a problem with a Minimum cost Distance Model Builder. When I used as Feature Class my initial and final point my model works. However, when I set as Feature Set to give users the option to mark points into the map my model is not working. Below is the scheme.
On the screen was the below messages:
ERROR 010045: COSTPATH: The number of FROM cells is 0.
Failed to execute (Cost Path). and this error ERROR 010151: No features found in in_memory\{58906A19-A816-4D6A-A9DC-CE9B2E365A82}. Possible empty feature class.
That error indicates that you haven't made a input feature class. Clicking on the screen or entering a point via coordinates or any other means, does not make a featureclass. You have to provide the mechanism to do that
Hi Dan,
Thanks for reply. I set it as Feature Set so I wonder if the input for Cost Path has to be something different from Feature Set, if that is the problem how I can make that users introduce their points into the map.
So you were following these guidelines then? and you exposed it as a model parameter?
Have you set an extent? If it is merely a feature set you may not be getting a valid extent to do the processing. You may want to set the extent for the Cost Path tool environment to the slope_mds raster. Also - make sure your data frame is in the same coordinate system as your slope_mds raster so the location you are entering will overlap with the raster!