We changed our privacy policy. Read more.

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.

55 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
51 views

QGIS plugins for creating circular route on footpath network

I'm looking for a way to create random circular walks of a specified distance from a given point. The end result will be similar to https://routeshuffle.com/ and http://www.routeloops.com/, but along ...
3
votes
0answers
124 views

What could replace the Traversability Index (TRAVERSE) from previous Fragstats versions?

I need to analyse the connectivity of wetlands, I believe that the Traversability Index from Fragstats is the one that best describes my intentions because it considers not only the ecological cost of ...
2
votes
1answer
56 views

Calculate traveltime from a Least-Cost Path route

I'm working in least-cost paths. I used r.walk to create cost maps. I used SAGA least-cost path routine to create routes from several points to the cost-map center. Now I need to calculate the travel ...
2
votes
0answers
55 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 ...
2
votes
0answers
31 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 ...
2
votes
0answers
477 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
371 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
28 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 ...
2
votes
0answers
425 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 ...
2
votes
0answers
287 views

GRASS GIS r.walk issue

I have been playing around with GRASS GIS to do a simple cost analysis of getting from point A to point B. I have a DEM clipped to the study area, a raster containing the friction costs, as well as ...
2
votes
0answers
125 views

Get distance after path distance allocation

I use ArcGIS 10.1 in Windows XP. I have a two point feature data sets One containing a single point P1 and another containing multiple points Pm. I computed the minimum-distance path from P1 to each ...
2
votes
0answers
750 views

Cost Path tool in script randomly throws error

I have a script tool that is creating a least cost path for sets of points using a Cursor. When applied, the script runs great, except every so often the tool is stopped because there is an error in ...
2
votes
0answers
246 views

ArcMAP path distance function handling of polygon and raster inputs

I am using a path distance function to calculate distances from a set of source cells on a land use raster. Unfortunately, my land use raster and my other inputs have different cell sizes. The land ...
2
votes
0answers
236 views

Plot the Shortest Paths in a Grid without any clash at a point of time

The efficient algorithm needs to be done and proved for the best solution for the given problem: User inputs: (#) Size of the NxN Grid. (N); (#) No. of Paths: Z; (#) Source and Destination ...
2
votes
0answers
68 views

How do I make a path cross the most possible classes in a raster?

I want to create a function and possibly use Arcmap tools to create something similar to Cost Path. Instead of just choosing the LCP, it must cross through the most different integers. Let's say I ...
1
vote
0answers
26 views

Compute least-cost matrix between all pairs of destination using GRASS v.net.allpairs (QGIS)

I have a vector line shapefile showing the road network in a particular country with data on the unit cost for each line. I also have a point shapefile showing the centroids of each district in the ...
1
vote
0answers
28 views

Service areas based on time to travel raster layer in ArcGIS

I have a series of raster layers which contain values for the time to travel (in minutes by motor) to a series of health facilities. I also have the GPS coordinates of each of the healthcare ...
1
vote
0answers
24 views

RAM overflow with new Distance tools: Optimal Path as Line

I have set up a workflow for least-cost path analysis using the legacy Distance tools of the Spatial Analyst. Trying to convert this into the new toolsets now, the new tool Distance Accumulation ...
1
vote
0answers
38 views

Cost distance of one raster using routes of separate cost distance in ArcGIS Desktop

Is there a way, using ArcGIS Desktop, I can calculate the cost distance for one raster of cost values but instead of using the least cost distances from that raster, using the routes/paths determined ...
1
vote
0answers
35 views

How to calculate a service area of a facility, while using multiple co-variables?

Problem we would like to solve is finding out what methods are to calculate the most efficient routes in a map with distance/travel time, pop density and facility capacity as co-variables! Perhaps ...
1
vote
0answers
83 views

How to iterate "Cost Path as Polyline" tool using ArcPy?

I have an optimization GIS problem to be solved. I want to use genetic algorithm to solve it in Python so I have to iterate my script many times. Recently i have realized that "Cost Path as Polyline" ...
1
vote
1answer
47 views

Calculate cost of predefined path

I am trying to calculate the cost of walking a predefined path. The path can be a line or a number of points along that line. I have a DEM and derived it's slope, which I will use as a friction map. I ...
1
vote
0answers
28 views

QGIS Least cost additional constraints

I am looking to create a least cost path for a pipe line based on a landslide risk map. I was wondering if a least cost analysis has the possibility to put additional constraints on the pathing i.e 90°...
1
vote
0answers
32 views

Reclassify slope raster

I want to reclassify a slope raster as part of Least Cost Path Analysis, but I'm a little bit confused about the reclass rules. My rules look like this at the moment (numbers left are degree): 0 ...
1
vote
0answers
99 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 = ...
1
vote
0answers
107 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
220 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
0answers
227 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 (...
1
vote
0answers
339 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
259 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
107 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
65 views

Minimum cost path on the whole globe?

I am trying to generate the maritime distance between seaports across the world. I am using the cost distance and cost path tool from ArcGIS to extract the shipping lanes from a raster file which ...
1
vote
0answers
65 views

Working with varied slope impacts for a cost surface

I'm working in ArcMap and trying to create a Cost surface for movement through a terrain. I have values (speed in km/hr) for each surface type (tarmac, grass, forest etc). The problem is moving into ...
1
vote
0answers
41 views

Capping the amount of a certain cost per route with Network Analyst

With the Network Analyst extension in ArcGIS 10.2, is there a way to set the maximum amount of a certain cost that a route must not exceed? For example, can I require routes to be below a certain ...
1
vote
0answers
69 views

CostPath gives error for specific points?

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 ...
1
vote
0answers
398 views

Python Script Producing Empty Cost Path Rasters

I'm trying to run a script that will create cost paths for a large number of randomly generated points then assign the cost to those points. But my script is beginning to create cost path rasters ...
0
votes
0answers
17 views

R (gdistance): least cost path passing through and/or crossing cells with NA

Intro The 'gdistance' R package is really useful in calculating least-cost paths (hereafter LCP) between locations. I have successful used some published material (LINK) for my purposes. What I'd like ...
0
votes
0answers
24 views

QGIS least cost path sum of several paths (robustness)

I use QGIS 3.16. For a wildlife conectivity model I used plug in Least cost path. For robustness of paths I used 3 different cost raster for same start and end points. I want to know which paths are ...
0
votes
0answers
16 views

Accumulate values in raster cells with backlink connectivity

I have origin points in different regions and within these region also specific values within raster cells (with 50m resolution). My goal is to sum up the values of all previous cells in the ...
0
votes
0answers
15 views

How to use Analytic hierarchy Process with Least cost path?

I am doing a project where I have to find the least cost path between two points using slope, lulc, rail network, and roads network. I created a cost surface using the case study provided on Arcgis ...
0
votes
0answers
33 views

movecost plugin in R

I want to use the package movecost on R (first-time user). I have created a DTM and imported a point as a starting point, and a layer of points representing destinations. They all have the same CRS. ...
0
votes
0answers
15 views

Cost Path tool fails saying "No Spatial Reference Exists"? All inputs are set to UTM 19N

I've already run the least cost path tool several times successfully. But, now that I changed the destination input to a different shapefile (PCS: UTM 19N just like all the others) it keeps failing ...
0
votes
0answers
30 views

Cost Path as Polyline producing empty output using ArcGIS Pro

I have been trying to execute the Cost Path as Polyline tool using both ArcMap 10.8 and ArcGIS Pro 2.5 with spatial analyst extension. I'm following the steps in this Esri blog to use Euclidean ...
0
votes
0answers
15 views

Computing least-cost matrix between all pairs of destination using ArcGIS Pro

I have a vector line shapefile showing the road network in a particular country with data on the unit cost for each line. I also have a point shapefile showing the centroids of each district in the ...
0
votes
0answers
30 views

Least cost path

I'm assuming (perhaps wrongly) that the least cost path analysis in QGIS uses a number of steps out from the active cell in calculating the best route. If so, is there a way to increase the forward ...
0
votes
0answers
29 views

r.walk issues in GRASS

I have been doing the r.walk analysis but fail to generate the result. The movement direction map and walking cost map from stop points is extremely small, limited to a 3x3 or 5x5 square. Does anyone ...
0
votes
0answers
123 views

Least cost path: single source point, multiple target points

I have a single source point in EPSG:3857, and a set of points, also in EPSG:3857. I calculated a slope layer from SRTM (in EPSG:3857) in the extent of the complete set of points. I would like to use ...
0
votes
0answers
59 views

Least cost path creating unwanted straight lines

I’m very much a beginner with GIS and I’m stuck creating a least cost path. Basically, I’m trying to highlight which river valleys would most likely be flooded in the event of a volcanic eruption ...
0
votes
0answers
38 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
2answers
141 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 ...