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
0
votes
0answers
10 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 ...
2
votes
1answer
67 views

Merge overlapping polygons to elevation data

I'm new to GIS and need to create a shortest path avoiding buildings. The buildings are represented as polygons in a shapefile. In QGIS I created a buffer polygon for each building, corresponding the ...
0
votes
0answers
30 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
13 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
80 views

Finding Least Cost Path from GeoTIFF file using Python

I'am trying find least cost path from a GeoTIFF file using Python. I have found the following solution from this answer: import gdal, osr from skimage.graph import route_through_array import numpy as ...
0
votes
0answers
24 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 ...
1
vote
0answers
23 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
27 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
23 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 ...
2
votes
0answers
31 views

A QGIS tool to perform cost surface analysis (as in ArcMap Path Distance)? not a least cost path nor a network analysis? [duplicate]

Within QGIS I am trying to perform a surface analysis to show the part of the terrain that can be reached from one or more source points in let's say 1, 2 and 3 hours of walk on the ground. That is to ...
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 ...
2
votes
1answer
163 views

Least Cost Path Error

I am working in QGIS and have been wanting to do a simple Least Cost Path Analysis using the SAGA tool. I have created a Slope raster for it, as well as an Accumulated Cost Surface. I have two points ...
0
votes
0answers
29 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 ...
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 ...
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 ...
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 ...
1
vote
1answer
63 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 ...
-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
231 views

Transition Function Inputs [closed]

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() ...
2
votes
1answer
51 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 ...
1
vote
0answers
76 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" ...
0
votes
1answer
37 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°...
0
votes
1answer
72 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 ...
1
vote
1answer
667 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
1answer
33 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
vote
0answers
31 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 ...
0
votes
0answers
120 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 ...
2
votes
1answer
818 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
59 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 ...
0
votes
1answer
76 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 ...
1
vote
1answer
107 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 ...
0
votes
0answers
58 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 ...
3
votes
2answers
390 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
37 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
39 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
28 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
333 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
125 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
54 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
67 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 ...
2
votes
0answers
217 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
50 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
1k 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
95 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
99 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 ...
6
votes
1answer
743 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
173 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
69 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 ...