Questions tagged [cost-path]

A raster-based ArcGIS geoprocessing tool that calculates the least-cost path from a source to a destination over a cost surface.

Filter by
Sorted by
Tagged with
1
vote
1answer
34 views

Cartographic Depth-To-Water method using Cost/Path Distance

I'm having trouble understanding the method for creating a cartographic depth to water index and seek some guidance. I'm using ArcGIS Pro 2.3, but equally happy with ArcMap desktop. The method is ...
0
votes
0answers
31 views

How to add additional weight to shortest path?

I am calculating shortest bath between two points. I need to add an additional feature eg. air toxicity in my calculation, so that the shortest path calculated takes into account the air toxicity and ...
0
votes
0answers
27 views

How to calculate / determine travel *time* within a cost-distance model?

Here's my problem: I have a network of trails between locations scattered across the eastern US (think hiking trails, on foot, not vehicular travel). I would like to calculate on-foot travel time (...
0
votes
0answers
15 views

How to join the Least Cost Path with Optimal Destination?

I have the following problem which can be solved in 2 stages: The first stage is to calculate the least cost path for transporting the produce from a pixel on the field to the edge of the road, for ...
0
votes
1answer
14 views

Merging layers in cost distance analysis to account for other variables?

For example, say I was rafting down a river but there was a small bridge in the way. That would significantly change the difficulty but not necessarily stop the progress. Is there a way for me to ...
0
votes
2answers
45 views

Performing COST PATH in ArcMap?

I have a tiff raster dataset serving as cost raster, created a start point and destination point serving as feature source data for performing COST PATH in ArcMap 10.4. Since the tiff raster layer ...
0
votes
1answer
24 views

How to take number of states crossed into consideration while calculating the least cost path between two cities?

I want to create the least cost path between two cities. I have a cost raster that I can use to create a cost path between two cities. However, a new condition is that the path also should take into ...
0
votes
1answer
52 views

Cost distance tool to figure out shortest distance over water between 2 points

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 ...
0
votes
0answers
20 views

Running Cost Paths with Overlapping Points?

I am running cost paths on a data set with 60k points which represent farms. About a third of these points have the exact same coordinate (points can often represent village centers where the farm ...
2
votes
2answers
79 views

Calculate cell distance between cells

I want to calculate the cell distances between all cells within a feature class grid. Exactly the same as the game Minesweeper. I have included an example below. The original data contains 11000 cells ...
2
votes
0answers
31 views

Least cost path from visibility

I use ArcGIS 10.1 and I am dealing with viewshed and least cost path analysis. I would like to generate a path on the basis of a cost surface taking into account the viewshed data as indicated in the ...
0
votes
0answers
53 views

Slope rasters - different results from different tools

I'm calculating Least Cost Path (LCP) within QGIS 2.18. The first step is to produce the slope raster from the DEM. Using r.slope in GRASS produces excellent results where I can go on and finally ...
3
votes
1answer
132 views

Cannot get field value from shapefile

In a for loop, the code tried to select one dam feature out from a set of dams and create a new shapefile so to perform cost path analysis with it. However, it seems field value of the new shapefile ...
1
vote
0answers
68 views

Finding Least Cost Corridor in QGIS? [duplicate]

Does the ArcGIS Pro feature "least cost corridor" have an equivalent module or workflow in QGIS? http://pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/creating-a-least-cost-corridor.htm
2
votes
1answer
3k views

Finding Least Cost Path in QGIS?

I'm trying to work out least cost paths in QGIS. I have a DEM and a slope raster extracted from it, and a set of points, between which I want to find the least cost paths. I can find a SAGA plugin, ...
1
vote
1answer
44 views

Blocking areas from consideration when running r.drain to calculate walking path from cost map?

r.drain was obviously originally intended to be used for drainage catchment, which is a problem when trying to find a least-cost walking path, as r.drain is happy to send you walking down a riverbed. ...
1
vote
1answer
190 views

Finding shortest path without barriers using the sf package in R

Say I have three ships near PNG in the pacific. I want to know the shortest path between all three, while not going aground. This can be done with the ArcGIS function "cost distance" and "shortest ...
1
vote
0answers
36 views

Using Path Distance to Calculate Total Accumulated Cost from Source to Destination?

I am looking to calculate the total accumulated cost associated with traveling from a source point to a destination point (please see the included figure below, green dot = source, red dot = ...
2
votes
1answer
66 views

Whitebox's cost distance tool stuck in endlesss loop

Cost distance function from WhiteboxTools (v.0.11.0) gets stuck in an endless loop after execution. The inputs are 8-bit unsigned interger GeoTIFFs. The source raster has values 1 and Null (size: 16 ...
0
votes
1answer
70 views

Executing CostDistance Function in ArcPy gives Error 999999?

I am attempting to create a least cost path using ArcPy for automation. I have the starting/end points and cost surface raster already assembled, so I am just using ArcPy to automate through my ...
16
votes
4answers
5k views

How to create an OD road distance matrix in QGIS?

I'm looking for the steps required to produce an origin-destination (OD) cost matrix. What I'm looking for is a matrix of road distances. The distance matrix tool only produces euclidian distances. ...
6
votes
1answer
712 views

How to get r.drain to run in QGIS/GRASS?

I use the GRASS GIS extensions for QGIS (QGIS version 2.12.3 with GRASS 6.4) and I have a problem with the r.drain algorithm: I simply cannot make it work with a given starting point as a vector point....
0
votes
0answers
69 views

Implementing travel cost equation in Google Earth Engine with image math?

As a follow up to How can I estimate a Least Cost Path in Google Earth Engine?, I am still trying to estimate walking time in Google Earth Engine based on a slope-based cost equation using the ...
6
votes
1answer
207 views

How can I estimate a Least Cost Path in Google Earth Engine?

I'm using Google Earth Engine to estimate walking time based on slope, using the Google tutorial and this example based on a DEM. My code actually runs, but I don't know what units the output raster ...
1
vote
2answers
108 views

Finding least cost path to diffuse resource using ArcGIS Pro?

I am trying to solve a variant of the least cost path analysis problem (http://pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/creating-the-least-cost-path.htm) where instead of finding the ...
0
votes
0answers
55 views

More than one iteration least cost paths from everywhere to everywhere in ArcGIS Desktop?

I am working on a project with a colleague and we are looking for a way to automate the whole process of generating least cost paths from everywhere to everywhere in ArcGIS' ModelBuilder. We have a ...
2
votes
1answer
668 views

How to find a least cost path through several points?

I want to do a least cost path analysis and the least cost path has to go through several different points instead of having just a start and end destination. Is this possible? I am using ArcGIS 10.2....
0
votes
1answer
86 views

Adding constraints for least cost path analysis

I want to calculate least cost path between two points A and B using a DEM from which I got my slope, cost distance and back link raster. However, the resulted least cost path crosses through two ...
2
votes
1answer
59 views

Choosing coordinate system for cost distance route selection analysis?

I'm performing a cost distance route selection analysis for a type of linear infrastructure in Australia. The process I will use will be similar to this ESRI tutorial. The route will traverse several ...
2
votes
2answers
134 views

Tobler's hiking function: resulting walking speed in KmH or m/s?

I was reading some literature dealing with least-cost path calculation and accumulate cost-surface generation using the Tobler's hiking function. I was reading this literature since I am trying to ...
1
vote
1answer
83 views

Using iterator in a cost distance analysis model with multiple destinations

I am building a cost distance model to find three different paths. Each has his own start and end point. So there are three start points with each an end point belonging to it. I want to use an ...
0
votes
1answer
173 views

Finding highest path of DEM or contours file within area using ArcGIS Desktop?

I would like to create a polyline from one specified point to a target point. In between, I'd like to the vertices to fall on the highest point of elevation of that Y coordinate. Essentially, this ...
2
votes
0answers
22 views

Cost back link tool

I am trying to use cost path analysis to create a least cost path from ports around the UK to various offshore locations. To do this I have created a cost raster grid with values of 0 for land and 1 ...
1
vote
1answer
639 views

Iterate cost distance/cost path over multiple points

I have multiple source points in one shapefile and one destination point in a separate file. I would like to find the least cost path from each source point to the destination point. My costs are ...
0
votes
1answer
800 views

Understanding Cost Surface algorithm in ArcGIS Desktop?

Based on this article "PDF: Extensions to least-cost path algorithms for roadway planning (Chaoqing, Jay, dan Mandy 2002)" (Click on link for PDF). Whether least cost path tool used in ArcGIS ...
13
votes
1answer
360 views

Creating Buffer Polygon following Elevations using ArcGIS Desktop?

What I'm looking to do is put a 100 m buffer on a polygon, but rather than the buffer being at a fixed width "as the crow flies" I want it to follow the slopes of my Lidar DEM. I have ArcMap (with 3D ...
1
vote
0answers
76 views

Cost Distance Path ArcPy Code Failure: Error 000865

I am attempting to run a cost distance analysis where my list of source points (roughly 100 points) corresponds to the same number of destination points. Instead of running the cost distance analysis ...
1
vote
0answers
36 views

Using the same backlink and cost-distance rasters for different source/destination points over the same geographic region [closed]

I am conducting a cost distance analysis for many points on the same map (roughly 350 sets of source/destination points, creating 350 different cost distance paths in total). The map is large, at ...
1
vote
0answers
166 views

Tobler's Hiking Function

I am trying to use the tobler's hiking function to estimate the distance/time from an origin to destination points. The contour interval is 500 but I do not know how to interpret the results. Does it ...
0
votes
1answer
555 views

Automating procedure to calculate least-cost path to destination locations from multiple source locations using ArcGIS Desktop?

I have 2 sets of locations represented by two point shapefiles in ArcGIS 10.1. My aim is to calculate the least cost path from each source location (let's call it A) to the destination locations (let'...
1
vote
1answer
30 views

Mosaic to Raster Tool in ArcGIS Darkening Grayscale Raster Output

I stitched roughly 20 raster files together using the "Mosaic to New Raster" tool. Once these raster files were combined, though, the new output raster seemed to "darken"- the fine details of the ...
3
votes
3answers
845 views

Raster map in different zone () than region ()

I am new to QGIS (just installed QGIS 2.0.1) and am having problems running any spatial analysis tools. I followed the instructions on how to call GRASS tools into QGIS, but when I try to run the r....
0
votes
1answer
128 views

Open source alternative to Linkage Mapper & ArcGIS [closed]

I'd like to calculate least cost paths between fragments using a cost raster I created based on habitat suitability values. I saw that most people use Linkage Mapper, but I don't have access to ...
2
votes
0answers
325 views

how to calculate cumulative cost of movement, accounting for wind direction, in R?

I am trying to reproduce the calculation of the duration of sail-powered navigation as described in an academic article (http://www.tandfonline.com/doi/full/10.1080/15230406.2017.1403376), but using R ...
1
vote
1answer
270 views

How to create landscape resistance map using path level spatial randomisation in QGIS?

I need to create a landscape resistance map based on path level spatial randomisation, as I have read in some research papers. Are there tools for this? I need to randomly shift and rotate the the ...
2
votes
0answers
180 views

Calculate path which follows a given grade or grade/slope relation

How is it possible to draw a path, which follows a given grade or a trail grade / slope relation? I know least cost path where I was able to calculate least cost path using the slope and avoid steep ...
1
vote
1answer
449 views

QGIS Least Cost Distance Points to Destinations via Roads

I have a layer of starting points (people's residences) and a layer of destination points (stores). I also have a roads layer with a cost field calculated from distance and speed of each segment. ...
2
votes
0answers
21 views

How to assign costs for turns on GRASS vector network analysis?

I would like to get a better understanding of how to assign costs for turns when creating a least-cost path with GRASS network tools, basically because I don't want any line to be used twice for ...
1
vote
0answers
48 views

How to create least-cost path with PyQGIS that penalizes sharp edges and uses each line only once?

I would like to connect user-selected nodes via a line layer, in which each segment has a certain cost value. The lines should be connected via the least-cost path. So far, I am using the module ...
1
vote
0answers
344 views

Least cost path analysis : a lot of sources and destinations

I'm working on a 15*10 km area, splatted in a 50*50 m cell grid. I want to compute the time needed to travel from a single starting point to each cell centroid, combining driving and walking time. I ...