Stack Exchange Network

Stack Exchange network consists of 174 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

Questions tagged [distance]

The measure of separation between two entities or locations that may or may not be connected, such as two points.

0
votes
0answers
7 views

Calculate distance between points within a grid polygon

I'm very new to Arcgis, and I would like to calculate the average distance between points within a grid for every grid. Now my data look like this: Is there any idea on how to do this?
1
vote
0answers
19 views

How to compare centrality of points in different shaped and sized polygons

Suppose I have several polygons of varying shape and size, each containing a single point. I want to compare the centrality of each point, and determine which point is more central to its polygon. I'm ...
6
votes
2answers
106 views

Calculating daily travel distance from large dataset using QGIS?

My dataset is around 200 days worth of data on the daily distance travelled by a troop of monkeys. I've never properly used QGIS on my own so don't really know where to start. All of the days are ...
0
votes
1answer
23 views

dist2Line - Error in dist2Line(…) could not find the function “dist2Line”

I have a csv file with points (about 20 millions georeferenced points) and a line shapefile. I want to find for each point the closest distance to the line. The line is not a straight line it's ...
1
vote
2answers
24 views

Interpreting Cost Distance Tool (ArcMap) results?

I have a raster data where pixel value of each cell represents the potential minimum travel time across the cell in old world. I need to find the minimum travel time of some points from Addis Ababa (...
0
votes
0answers
15 views

Matching MySQL Result to Great Circle Mapper

I can't figure out how to match the result of the Great Circle Mapper. SELECT 3959 * ACOS( COS(RADIANS(41.97444444)) * COS(RADIANS(28.42944444)) * COS(RADIANS(-87.90666667) - ...
2
votes
1answer
38 views

Selecting lines by distance in a layer from a polyline in another layer using QGIS?

I have 2 layers containing polylines. I'd like to establish the closest distance at any point along the line of one layer to the the lines on a different layer. My assumption is that the Nearest ...
0
votes
2answers
42 views

Obtaining closest distance using ArcGIS Desktop?

I am using ArcGIS Desktop 10.5. I have a shapefile containing say 10 locations from a country with latitude and longitude. How can I look at each location (point) and getting the distance from ...
1
vote
0answers
21 views

Measuring distance traveled, in 3D using ArcGIS Pro?

I'm working in ArcGIS pro, I have tracking data from a bird's flight path and want to know how far the bird flew. I started with Google Earth KML Layer and imported to ArcGIS Pro. This layer has data ...
0
votes
1answer
66 views

Removing Outliers from point layer

I am a not so newbie user of QGIS but have no knowledge of Python. I have a large dataset of points. Each point has attributes, one of which is a group it belongs to. It is expected that the points ...
0
votes
1answer
53 views

Calculate distance covered by points in a shapefile

Is there a way to calculate the total distance covered by thousands of points in a shapefile in ArcMap 10.4 or possibly ArcPro? I am trying to apply a buffer for each point, then dissolve and find the ...
0
votes
1answer
26 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 ...
1
vote
1answer
24 views

Migratory distance from Africa?

I have a raster data where pixel value of each cell represents the potential minimum travel time across the cell in old world. Now, I need to find the minimum travel time of some points from Addis ...
0
votes
1answer
31 views

Measuring Distances between Points with the same timestamps using QGIS

I'm facing the Problem that I want to calculate flight distances of Red Deer. I have a Layer with point Locations of animals; One attribute is the timestamp. I have another layer with point locations ...
0
votes
0answers
20 views

Measuring distance between points yet within polygons using ArcGIS Desktop?

I have two data sets. One has points of populations and the other has one merged polygon of all suitable habitat types. I want to find the distance between all the point to one another, but without ...
0
votes
0answers
7 views

Calculate distance between multiple arrays and landsat bands in IDL

I have a set of landsat 7 layers, that look like this: files = [ $ "D:\ArcGIS\Programmieren in IDL\Landsat Daten\landsat_b1.tif" $ ,"D:\ArcGIS\Programmieren in IDL\Landsat Daten\landsat_b2.tif" $ ...
1
vote
1answer
58 views

Circle is ellipse using Open Street Map

Currently I have a problem while developing an app - I use Open Street Map and draw a Circle and pass it to a Python backend, as central point and point on the perimeter on the Circle. Next I am ...
0
votes
0answers
31 views

Calculate radial distance from a central point (kind of viewshed, but not viewshed?)

I would like to do the following, complex(?) GIS analysis, for which I just can't seem to find the right tools/protocols. On a binary raster, I would like to calculate, for every cell, the average ...
0
votes
0answers
35 views

Calculating closest distance from location to given route?

I want to calculate the closest distance from a location (lat/lon) to a given route. The route consists of approximately 20.000 location points. I could calculate the distance to every location point ...
3
votes
1answer
63 views

Difference between Geodetic Distance and Great Circle Distance?

According to Wikipedia: The great-circle distance or orthodromic distance is the shortest distance between two points on the surface of a sphere, measured along the surface of the sphere (as ...
2
votes
1answer
32 views

Calculate distance between buffer and geographic points for grouped subsets (and get tally)

The data I used can be found here. After importing my data, I select a subset of points (Nest2017 in column type) to create 30 m buffers around: library(dplyr) nests<-df %>% filter(type %...
2
votes
1answer
32 views

Distance from edge of each polygon to nearest point, such that points within each polygon aren't included

Using ArcGIS 10.5, I have a cluster of polygons that represent districts (together this cluster of polygons creates a nation). I also have thousands of points that represent offices. I would like to ...
1
vote
1answer
28 views

Moving points by multiple attributes automatically

I have a shapefile including sightings of birds (points), but the gps points are taken from where the sighting have been made, not where the bird actually are. And in the map I need to show the real ...
0
votes
1answer
51 views

Walking distance with pgrouting for several locations

I'm intending to calculate the walking distance (not the linear distance, but the "real travelled distance") to several locations (e.g. social infrastructure). Thus I will have to create a routable ...
1
vote
1answer
34 views

Automating point feature class placement inside polygons using specific parameters?

I am trying to generate a point feature class of possible plot centers for a research project. The plot centers will be inside of defined forest stand polygons which are aggregated in various ways ...
1
vote
0answers
41 views

Calculating distances from one reference point to multiple points in one shp file

I am a total novice to GIS; I read some of the answers to similar posts, still have difficulties to do it. I am not that familiar with GIS or QGIS and am looking for a step by step approach. Here is ...
0
votes
1answer
55 views

Error 999999 calculating Euclidean Distance?

I am trying to calculate Euclidean Distance in ArcMap and I keep getting: ERROR 999999: Error executing function. Failed to execute (EucDistance). I gave a maximum distance of 5000m, output ...
-1
votes
1answer
37 views

Calculate the next coordinate from given starting point and distance

On the answer to Calculating Latitude/Longitude X miles from point? what is the tc value? lat = asin( sin(lat1)*cos(d)+cos(lat1)*sin(d)*cos(tc) ) dlon = atan2( sin(tc)*sin(d)*cos(lat1),cos(d)-sin(...
0
votes
0answers
58 views

What projection should I use to find true distance between two points?

I am a beginner of ArcGIS and I encounter a problem of true distance. I used "create fishnet" to have a grid map within 0-40N, 20E-90E. Suppose each two points are connected with a railway/road (...
1
vote
2answers
59 views

Calculating maximum distance between roads (Spatial Line Shapefile) in QGIS?

I’m writing my masters thesis and came across a problem I haven’t been able to find an answer to. I’m working with QGIS and a Spatial Line Shapefile that represents all streets in Tibet, taken from ...
0
votes
0answers
19 views

How to find specific bearing, distance and elevation of a satellite [duplicate]

I am trying to find a specific bearing, distance and elevation to a satellite. I know there are websites but I need a formula to do this. I need to be able to find these things from a set of co-ords ...
1
vote
1answer
80 views

Using Field Value as Search Distance Parameter in Select by Location in ArcPy? [closed]

I've been trying to use the select layer by location tool in a loop to select features that are within a specific distance to one feature class for each feature in a different feature class (each ...
1
vote
1answer
59 views

Calculating mean recapture distance between points

I have a series of coordinates associated with ID and date (these points represent individual recaptures of individuals at different locations). I want to joins lines between the sequential recaptures ...
0
votes
2answers
46 views

Is there any criterion for measuring the distance between a group of points to origin?

I wonder if is there any criteria to represent the distance of a group of points (in 2D space) to origin? A simple criteria is the mean of distance of each point. But as can be seen in the picture, ...
0
votes
1answer
61 views

Calculating shortest distance between two points on water, avoiding land?

Can someone explain to me (in beginner's terms) how to calculate the distance between two points that are on water, avoiding land? For example, these points are inshore in a bay, so I don't want the ...
5
votes
2answers
219 views

Finding distance between point and polygon edge in eastward direction using PyQGIS?

I need to find distance in eastward direction from each point to the closest polygon edge: I can find shortest distance in any direction with: pointlayer = QgsProject.instance().mapLayersByName('...
1
vote
1answer
55 views

Creating points along line at ellipsoidal distance

I need to create points along a polyline in QGIS 3 at every 1000m of ellipsoidal distance and have tried several tools, as suggested in other answers: Points along geometry QChainage plugin Convert ...
1
vote
1answer
55 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 ...
2
votes
0answers
43 views

Creating points with linear referencing

I have traffic data that shows tracks that have start and end times (in YYYYMMDD-HHMMSS format) and the speed (m/s) the vehicle was moving. From that I've calculated total traveled distance (m) and ...
2
votes
1answer
58 views

Distance betweeen classified Points

I got two sets of points. The first set has a unique ID The second set references to this ID (one-to-many). So I merged the two sets. Now every point in the joined table has the X and Y coordinates ...
1
vote
2answers
32 views

Finding distance between positions of same point on two different layers using QGIS?

I am trying to calculate the difference between the positions of the same point on two different layers. One layer is a shapefile, other layer is a text file, and each point has a unique identifier, ...
0
votes
0answers
131 views

Get the nearest distance between two points in a road network using GDAL/Shapely/NetworkX

I want to measure the distance between two points in a road network like this: I have the road WKT and also the points WKT. I know that I can measure this using QGIS (road graph plugin) or PyQGIS, ...
0
votes
1answer
79 views

What is the unit of measurement of the distance between two points using geopandas distance function?

I have created three buffers using geopandas in python and I have a few points scattered here and there, some of them are inside the buffers.But the problem is the following: When I obtain distance ...
0
votes
1answer
29 views

How do I obtain the distances of each point lying inside or outside buffers from the center of buffers?

My aim is to obtain the shortest distance between all the points overlain on a polygon and the center of buffers also overlain on the same polygon. I have done the following to illustrate this: ...
1
vote
0answers
48 views

Determining distance to nearest location along stream network by each cell using GRASS?

I have a river network in raster and locations of many dams on the river. In the image above, the BLUE point represent one random cell. Dam 1 is downstream to the cell. I am looking to calculate ...
1
vote
1answer
47 views

Computing shortest distance to line segment from set of points using QGIS?

I have a shapefile that describes the urban boundaries of a city and I want to calculate for a set of points the nearest distance to the boundary. Given the number of points is very large (millions) I ...
0
votes
1answer
42 views

Find all regions (lat, long, radius) that contain a point

A Region has a latitude, longitude (GEOMETRY('POINT')) and a radius. Using postgis, how can I query all Regions where the distance from pointParam and region.point is less than or equal to region....
-1
votes
1answer
35 views

Drawing distance lines between two points [duplicate]

I want to be able to generate a distance line between two points on the map, which also has the distance as a label (similar to the second image seen on Google maps or in the first image from the red ...
1
vote
1answer
69 views

Drawing distances from one point to another using QGIS?

I want to be able to generate a distance line between two points on the map, which also has the distance as a label (similar to the second image seen on Google maps or in the first image from the red ...
2
votes
1answer
58 views

How do v.distance 'upload' parameters actually work?

I'm trying to use v.distance (using QGIS 3.4) to calculate the distance in meters between a layer of water shutoff points and the boundary of the nearest building footprint polygon. Even better would ...