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

Trying to use the Least Cost Path plug in in QGIS

I am trying to calculate the least cost path among one central point (start point layer) and another layer made of several points, representing other sites (end-point(s) layers). I am using the Least ...
0
votes
0answers
13 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 ...
1
vote
1answer
158 views

sf polygon to raster workflow to calculate least cost distance with gdistance in R

I need to calclulate the shortest distance from a set of points to other sets of points in a marine area. Travelling on land must not be possible so I understand I need to calculate the least cost ...
0
votes
2answers
54 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 ...
1
vote
1answer
32 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 ...
4
votes
0answers
38 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 ...
1
vote
1answer
54 views

Create polygon of fixed area based on cost/friction surface [closed]

I am using ArcGIS Desktop 10.4 and have all extensions. I have a shapefile of 494 points. I also have a cost surface/friction surface raster. I want to create a polygon of 13.4 hectares around each ...
0
votes
1answer
29 views

Multiple least cost paths - automated labeling of the calculated paths with formula starting-point_destination-point?

I am using r.cost and r.drain to calculate a least cost path, using a single friction layer (slope), in a set of points, from each single point to the other. I would like to use the same approach on a ...
-1
votes
2answers
32 views

Looking for land value data for anywhere in North America especially for Florida [closed]

I am researching on road alignment optimization. The research goal is to find least cost road alignment between two given points, considering highway codes. One of major costs which I need to consider,...
0
votes
1answer
98 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
1answer
27 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
1answer
47 views

Transition Function Inputs

I would like to define my own gdistance::transition function. However, there are two issues that I aren't clear to me yet. First, I do not yet understand what the input vector to this transition() ...
0
votes
0answers
40 views

Least Cost Path: interpretation of results

I am using QGIS 3.10.2-A Coruña and its built-in Python Console. I am currently trying to compute least cost paths between combinations of 2 points given a road network layer. For this I am using ...
1
vote
0answers
46 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" ...
-4
votes
1answer
43 views

Recreating maps from “The $50 American Road Trip”? [closed]

I would like to recreate for cities in my country the maps represented here, using ArcMap. On the same site I found the calculations, but I don't really know how to recreate those tables. After ...
1
vote
0answers
25 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°...
0
votes
1answer
63 views

Which layer for least cost analysis?

I'm new to least cost analysis. I have a DEM-layer of a region and I want to know what's the least cost path from a to b. Do I have to use the DEM layer to calculate that? I also have a hillshade ...
0
votes
0answers
17 views

Cost distance which uses a sum of both positive and negative values

I am attempting to create a cost distance raster which uses a cost surface of both positive and negative values. I understand that I could correct for negative values by replacing them with a value of ...
0
votes
1answer
42 views

Calculating true distance of cost distance raster using ArcMap

I have calculated cost distance using a raster unrelated to path distance (a heat index) but would like to also measure the true path distance of those 'routes.' Is there a way to calculate such? If I ...
0
votes
0answers
11 views

How to exlude raster cell from the cost surface estimation?

I use ArcGIS 10.1, I am trying to generate a cost surface (Path Distance tool) in order to generate a least-cost path. The problem is that I would exclude a specific area of the raster from the ...
0
votes
0answers
58 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 ...
1
vote
0answers
27 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 ...
2
votes
1answer
212 views

Least Cost Path Analysis in QGIS?

For my Bachelor's thesis I try to reconstruct a road betweeen two ancient cities. One method I'd like to try is least cost path analysis with QGIS. I've worked with QGIS before, but mostly only ...
1
vote
0answers
51 views

Average width of a a zone [duplicate]

How can I get the average width of a region or inside a curve? or How can I calculate minimum,maximum, and average width of an irregular polygon? I have attached a figure, I want to know how can I ...
1
vote
0answers
85 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 ...
4
votes
2answers
287 views

Path Distance calculation limited to downhill only

I am trying to calculate a path between two points with a relative elevation difference of about 100m and 3km separation. The points represent the start and end of a gravity fed waste water pipe. ...
2
votes
0answers
536 views

Seeking software for least cost path analysis? [closed]

Background: running a least cost path analysis across mountains in middle east for archaeology project. Ideally, pick several points across an arbitrary interval distance (e.g. 1 km apart) and same ...
0
votes
0answers
60 views

Least Cost Path in QGIS: Plugin or SAGA or GRASS?

I downloaded a SRTM file and followed this tutorial and now I have a hillshade layer and a color layer. It looks like this. I want to calculate the least cost path between p1 and p2. But I'm not ...
1
vote
1answer
76 views

Which layer for least cost path analysis

New QGIS user here, so maybe it's kind of a stupid question. I want to calcualte the least cost path between two points but I don't know which layer to use. I have two layers, one is a hillshade layer ...
2
votes
2answers
163 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 ...
2
votes
2answers
833 views

Finding distance (in time) from nearest point out of 4 along road network using ArcGIS Desktop?

I have four points representing harbors along the coast. I also have a roads layer that has info on each road segment such as length, speed limit, and travel time. I calculated travel time with [(...
1
vote
2answers
753 views

Cost-Distance Tool not producing logical answer

I am working on creating a cost catchment based on Tobler's equation in ArcGIS10.1. I feel confident in my cost surface; it produces a raster where each cell equals the time in hours that it would ...
0
votes
0answers
42 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
34 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
1answer
29 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
1answer
27 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 ...
2
votes
2answers
165 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
42 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
63 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
205 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 ...
2
votes
0answers
140 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
3
votes
1answer
5k 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
45 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
748 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
64 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
81 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
107 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
7k 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. ...
7
votes
1answer
840 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....