Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

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.

0
votes
0answers
17 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
76 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 ...
0
votes
1answer
40 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 ...
2
votes
0answers
28 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
51 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 ...
1
vote
0answers
56 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
1
vote
1answer
41 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
103 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
33 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
59 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
0answers
56 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
145 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
103 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
2answers
41 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
0answers
53 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 ...
0
votes
0answers
33 views

Specifying width of least-cost path in ArcGIS Spatial Analyst?

I am performing a least-cost path analysis using ArcMap in an area with high slope variation. I am working with a 0.5x0.5m raster to prevent generalization and elimination of danger slopes. I need a ...
2
votes
2answers
121 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 ...
0
votes
1answer
63 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 ...
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
82 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 ...
1
vote
0answers
70 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
34 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
155 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 ...
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 ...
0
votes
1answer
104 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
281 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 ...
2
votes
0answers
160 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 ...
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
45 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
2answers
42 views

ArcGIS OG Cost Matrix not iterating over all origins

I am working with a large data set of property information (500K+ observations), trying to create a cost matrix to find the drive time of all points to downtown Houston. I have set my origins as the ...
0
votes
1answer
30 views

Assign different values to each zone, ArcGIS 10

Is it possible to assign different values to each zone. The value would be decimal. 100==> 4.97 200==> 5.90 300==> 6.01 ..ect... 1000==> 9.64 or somehow change value with cost raster. I have DEM ...
1
vote
0answers
167 views

Qgis Least Cost Path with certain threshold

I have DEM data on which I have performed Slope Analysis and extracted contours from it as well. After slope analysis the contours with slope greater than 450 have been transformed into polygons (...
0
votes
1answer
68 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 ...
0
votes
1answer
47 views

ArcGIS, OD cost matrix

I have a shapefile and I need to create an OD cost matrix, but I only need the distances between points which are on the same polyline. Is there any way to do that? I am not much familiar with ...
3
votes
1answer
121 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
217 views

Averaging accumulated cost surfaces/shortest paths [r] [gdistance]

I'm trying to find a way to be able to average two accumulated cost surfaces so I can find the optimal route from both A to B and B to A. Although the difference is cost surface is due to the travel ...
1
vote
0answers
169 views

Least Cost Path point & polygon QGIS

I am trying to calculate the least cost path between a point and a polygon using the tool "least cost path" from SAGA. This tool works fine with the exception that it calculates the least cost path ...
1
vote
0answers
119 views

Unit of costmap created by r.walk

I created a cost map from an elevation map an a (degree) slope map using r.walk (version released on 2015-03-12) in QGIS 2.14.3. According to the documentation the resulting map should display the ...
2
votes
1answer
241 views

Cost Distance Analysis QGIS with Vector files [closed]

I am trying to calculate the costpath from a location (polygon) to a point dataset using QGIS. I found two tools (r.cost.raster & accumulated cost (isotropic)), which both would work, if I would ...
2
votes
1answer
491 views

Least cost path barrier (R) (gdistance)

I'm trying to create a barrier (rivers) that can't be crossed by the least cost path. I've created a transition layer using "areas" which contains the transition values on land, and on rivers. ...
-1
votes
1answer
132 views

Understanding results of Toblers Cost Path in ArcGIS Spatial Analyst?

I'm using ESRI's Path Distance Analysis based on Toblers hiking function to estimate the walking time from an archaeological site to establish it's context. Each color represents an hour of walking ...
14
votes
1answer
327 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
1answer
75 views

Which projection when dealing with least-cost path estimation across the Mediterranean area?

I am planning to perform a least-cost path analysis in ArcGIS 10.1 (advanced license) by means of Path Distance tool. I am taking into account a large area, corresponding to the Mediterranean basin. I ...
4
votes
1answer
328 views

Cost Path in ArcGIS Desktop drawing no path?

I'm using the Cost Path tool in ArcGIS Desktop 10.3 to draw thalwegs (line of lowest elevation) on a channel network DEM, but running into some problems. In the most simplified case, the raw DEM is ...
1
vote
0answers
60 views

Ensuring that a path goes downhill

GIS student hoping for a bit of wisdom on the Path Distance tool. I am doing a ski slope analysis, trying to find runs using cost grids (that incorporate slope, aspect, avalanche risk, etc.) While I ...
1
vote
0answers
105 views

Understanding how horizontal factor in ArcGIS Path Distance tool works? [closed]

I work with ArcGIS 10.1 (advanced license), and I am finding difficult to grasp how the horizontal factor works in the Path Distance tool. I have read the help documentation several time. These are ...
0
votes
1answer
157 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 ...
0
votes
1answer
204 views

Empty or strange cost path output in ArcGIS 10.1

I´m trying to map green corridors between different stands of hardwood, using Spatial Analyst Cost path tool. I think my cost distance and backlink raster are OK, but the cost path output normally ...
1
vote
1answer
391 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
1answer
90 views

Automated mapping of cost paths from multiple origin points

I am currently mapping Lahar flows on Montserrat Island (as many have done before!). I have the Cost Distance analysis below, the circle is the origin and the triangle the destination. With a known ...