0

I have multiple points in a bay and I need to figure out the distance of each point to the nearest inlet, without going over land.

I have been told to use the Cost Path or the Cost Distance tool but am very lost. Would my 'input raster' be the inlet or the other points?

I am guessing the input cost raster would be a raster of the body of water?

Do I need to be using the ModelBuilder for this tool, or use the cost path tool first?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
gros
  • 1
  • 1
  • Check out this process. It's pretty much what you are looking for. See my comment at the bottom about making it easier to work with. https://gis.stackexchange.com/questions/190640/create-an-optimised-path-between-nodes-avoiding-polygons-entities – brink Jan 28 '19 at 19:55
  • Welcome to GIS SE! As a new user, please be sure to take the short [tour] to learn about this site's focused Q&A format. – Andy Jan 28 '19 at 20:23
  • As per the [Tour] there should be only one question asked per question. – PolyGeo Jun 06 '23 at 20:20

2 Answers2

0

The below workflow will work (assuming I have understood your requirements):

  • Run Cost Distance

    • Source = inlets (create a raster or point feature class of just the inlets, everything else NoData).
    • Cost = 1 for water, NoData for land.
  • Use Extract Values to Points to get the least cost distance from each of your points to the nearest inlet.

enter image description here

user2856
  • 65,736
  • 6
  • 115
  • 196
0

There is now a Cost Path as Polyline tool that will give you the output at a line instead of a raster.

Tom Dilts
  • 419
  • 4
  • 8