Rocky question: CostPath gives error for specific points

2833
2
09-02-2014 09:51 AM
TomHardy
New Contributor

Hi Masters!

I am using the tool CostPath. As an input feature destination data I've entered several points (no specific value, just distributed geographically), and as the cost distance raster I've entered the cost distance raster previously done with CostDistance.

My question is that I can draw the CostPath line from all the points except for three. And I cannot figure out why.

It's important to remark that I've been able to draw to CostPath lines from all the points with other CostDistance rasters, however it is not possible to draw the CostPath line for this specific CostDistance raster and for the same three points.

Could you be so kind as to figure out the possible problem and solution?

(I've re-drawn that particular CostDistance raster several times and nothing happens, that's why I need your help to figure out which problem there could be).

Thanks for your wisdom!

Tags (2)
0 Kudos
2 Replies
DarrenWiens2
MVP Honored Contributor

Are you sure the points intersect your cost raster? For example, if the points are even one pixel outside the raster (or on NoData), it won't draw those lines.

0 Kudos
TomHardy
New Contributor

Thanks Darren for your reply. Yes, I am looking at Africa as a whole, and the points (cities) are on the cost raster (continent).

0 Kudos