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

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
10 views

Using output of ArcGIS Euclidean distance tool?

How do I use the output of the ArcGIS Desktop Euclidean distance tool? It gives raster output and I want to generate a table enlisting the distance between various centroids from one centroid.
1
vote
1answer
35 views

Calculating minimum distance in meters of two polygons (defined in lat/long coordinates)?

I'm new to GIS and I'm a bit lost in the terms and concepts, so I'm not sure I'm asking a valid question, but I need to calculate the minimum distance (in meters) of two polygons which are defined in ...
1
vote
0answers
16 views

QGIS3 difficulty drawing 150km distance buffer and showing this on the map

I wanted to construct a 150km distance buffer around a city in North America. I changed the project co-ordinate system of the point to WGS84 Mercator North America from WGS 84 Lat/long to enable the ...
4
votes
1answer
58 views
+50

Match linestrings using Fréchet distance

I have two datasets of roads (both in WGS84). One has nicely digitized geometries, but lack some of the attributes and the other has heeded attributes, but digitized terribly. I want to transfer ...
1
vote
1answer
44 views

Difference between ol.proj.getPointResolution() and ol.sphere.getDistance()

Is there anyone who can explain the difference between ol.proj.getPointResolution() and ol.sphere.getDistance()? I have tested it, and ol.sphere.getDistance() is a little bit shorter than ol.proj....
1
vote
1answer
38 views

Calculate distance from GPX in OpenLayers

I have a little OL script to display GPX Routes in a OSM map. That works so far, even with a little gimmick. What I miss is a continuous distance. So from trkpt 0 to trkpt 1 + (trkpt 1 to trkpt 2) + (...
0
votes
0answers
47 views

How is the LRS ArcGIS Measure Along a Line implemented?

I'm trying to replicate a nasty corner case in a LRS implementation that doesn't agree with ArcMAP measure tool. I've tried measuring distance in its native shp coordinate system NAD83 (27916) to no ...
2
votes
1answer
30 views

Asymmetric cost distance [closed]

I am interested in calculating the minimum distance of a canal necessary to irrigate any given point in a map. The problem is that the cost map would have to be asymmetric since water can flow down a ...
1
vote
1answer
34 views

How can I show distance indicators along a line feature in QGIS?

I am preparing a map of a 120 km long walking trail in QGIS 2.18 for publication (printing). I have a shapefile (line feature) showing the walking trail. I want to be able to show distance indicators ...
1
vote
0answers
33 views

Defining coordinate system for finding distance in meters [duplicate]

What should I do to find the distance between two very far points? p1 = "POINT(6.2 61.1)" p2 = "POINT(6.1 61.0)" select ST_Distance( ST_Transform(ST_GeomFromWKT('$p1'), 'EPSG:4326', '$epsg'), ...
0
votes
0answers
20 views

Distance from a point to a poly line and attributes from the poly line GIS

I'm trying to figure out what tool would be best to get the distance from multi-points from multi polylines and see which attributes are closest to what point. I'm doing a project where I have ...
0
votes
0answers
31 views

Making lists of nearby points using QGIS?

I am a new user of QGIS. I have uploaded a csv file to my QGIS map with 500 points and I want to make sets of 10 points (or different amount of points) based on distance. I want to gather nearby ...
0
votes
0answers
13 views

ArcGIS: Point nearest to border with information on bordering region

I am trying to create a table from a yield map in Europe, that tells me how much yield for each 5'x5' raster field is achieved. This I have managed. However, I now need information for each raster ...
1
vote
0answers
24 views

Creating Near Table between points in one layer that share an attribute with points in another layer?

I am trying to calculate the distance between some geographic features (point layer) and the capital of the country that they fall in. I have a shapefile of "features" and a shapefile of "world ...
0
votes
1answer
25 views

Calculate distance from polygon to nearest existing line in geometric network, along network routes

In ArcMap 10.6, I have a parcels layer and a sewage lines geometric network for a small town. Many of the parcels are still undeveloped. In an effort to accurately assess them for tax purposes, their ...
0
votes
0answers
18 views

How do I find the closest distance to a line and then find the length of the remainder of the line to a point?

I want to measure the distance of a shape to a line and then follow that line all the way to a point and calculate the distance traveled. Here is my current map. I want to store that distance value ...
1
vote
0answers
66 views

Calculating distance between point and MultiPolygon Geoseries object in Python [closed]

I want to calculate the distance of a point from the Multiploygon geoseries object created using cascaded_union function of GeoPandas. Following is my code: import numpy as np import pandas as pd ...
1
vote
1answer
27 views

Measuring distance between features in linear units from vast layer in geographic coordinates in gdal

I have a point layer for a large area. The layer is in a geographic coordinate system. I need to make some distance-aware work with features from this layer. Actually, I need to build a buffer-layer ...
1
vote
0answers
43 views

Finding nearest distance between point and polygon layers in QGIS

I am using QGIS to undertake an analysis for a project. This involves a polygon shapefile, which represents a boundary of a site, and a series of points which represents the location of parks. I ...
0
votes
0answers
41 views

Difference between haversine formula & geodesic distance for calculating distance

Background I have Vehicle driving data which includes Lat/Long points of a particular route. I drive in that route for 2 times. The driving data in that route is around 20 minutes. (Approximately ...
0
votes
0answers
13 views

Finding a suitable sigma value for distance Gaussian decay function

I am trying to apply a Gaussian decay value to a set of distances measured in meters using the field calculator in QGIS. My distances range from circa 50 to 12,000 meters. I am using the following ...
1
vote
3answers
59 views

Calculating the shortest distance coordinate to vector layer

I want to calculate the nearest distance from each coordinate in a vector layer containing more than 17 000 coordinates to another vector layer. I tried the GRASS v.distance tool but it gives the ...
1
vote
1answer
32 views

CRS of QGIS CAD tool and measure line tool

Does any one know what CRS the QGIS digitizing toolbox (CAD tool) and the measure line tool use? Because I couldn't find any way to manually set the CRS for the tools in QGIS 3, my assumption is ...
2
votes
0answers
28 views

Traceback Distance Matrix

I am using the QGIS Distance Matrix to calculate the distance of points along a line to that specific line. I used the tool before with 2 points layers and it worked well. This time I created a ...
0
votes
1answer
29 views

Adding columns with easting and northing of points using ArcMap?

I've got LSOA dataset with centroids weighted by population. What I am trying to do is get coordinates of those points (centroids) so that I can then calculate distances to centroids outside of ArcMap ...
2
votes
0answers
43 views

Route creation with specific length and elevation change [closed]

I'm currently working on a project for my computer science study. The goal is to make a service that allows the user to enter a distance and elevation change which will then result in a random route (...
2
votes
1answer
66 views

Calculating distance between points within 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. Is there any idea on how to implement this? My data look like this
1
vote
0answers
24 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
143 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
119 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
27 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
19 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
39 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
22 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
95 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
2answers
62 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
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 ...
1
vote
1answer
25 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 ...
1
vote
1answer
39 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
21 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
12 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
81 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
33 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
37 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
126 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
36 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
39 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
31 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
79 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 ...