Questions tagged [distance]
The measure of separation between two entities or locations that may or may not be connected, such as two points.
1,585
questions
1
vote
0
answers
2k
views
Calculating all distances from GPS route using date time and coordinates for php
I have big GPS data which have 4 columns for id, date time, lat, long. I want to implement Haversine's formula to get distance between 2 nodes.
If I want to find all distance from start to last ...
1
vote
0
answers
61
views
Calculate road distances between points in QGIS 3.4? [closed]
I would like to calculate road distances between a series of points. I don't have any road network layer, I need to rely on OpenStreetMap.
What is the best plugin available right now? And how ...
0
votes
0
answers
150
views
"Spread" quantities from points to underlying raster map within a radius
I need to generate a raster map by "spreading" point values to the surrounding pixels, with spreading criteria based on the pixel Boolean value (T/F) and maximum distance.
For example, if I have a ...
2
votes
0
answers
81
views
Changing the CRS of all shapefiles in QGIS
I've just realised I've been using the wrong CRS for an analysis.
As I've done a fair bit of analysis (distance to nearest hub, transformation of lines into points etc), I was wondering if by ...
1
vote
1
answer
244
views
QGIS 3.10 Populate attribute table with ellipsoidal distances along lines
I have a GIS with a logistics layer that contains line features. The lines have been digitised from aerial photography and each line represents a path from A to B, following roads, rail and waterways.
...
11
votes
5
answers
12k
views
Better Distance Measurements in Web Mercator Projection
I am working with an ESRI stack, storing my layers in a sql-spatial-enabled-SDE- geodatabase (Geometry type, Web Mercator-3857).
I am building a web mapping application, so by default, the tiles are ...
2
votes
3
answers
450
views
What CRS for a large scale analysis
I was wondering what CRS to use when focusing on a large scale area for an analysis.
For example the Mediterranean Sea.
I need to find the distance of each sea port from another.
That means I need ...
1
vote
0
answers
199
views
Creating raster displaying graduated Distance to polygon or feature using QGIS
I am trying to create a raster which displays the relative distance of a pixel to a set of polygons of a specific value.
I have satellite derived fire scar data going back for the last 20 years.
For ...
5
votes
2
answers
3k
views
Performing Point Distance analysis using Basic level license of ArcGIS Desktop?
I am using ArcView (ArcGIS Desktop Basic) 10.1 and I need to perform a point distance analysis.
What are the steps to determine the distance from A to B-Z, B to A-Z, C to A-Z, etc?
1
vote
0
answers
472
views
What Projected or Geographic Coordinate System should I use to calculate km distances between various points on a large scale map? [closed]
I want to measure distances using the distance matrix tool on QGIS between the yellow dots and their closest blue dot. I want my output to be in KM and to be as accurate as possible. I don't want to ...
0
votes
0
answers
135
views
Moving geometry at same distance in different coordinate systems
I haven't been making tools in ArcPy for a while and stuck in one case.
My goal is to create a serie of geometries in a center of current extent by running a script. I.e when I move ArcMap's extent ...
5
votes
2
answers
16k
views
What are units of Distance Matrix tool results in QGIS?
I have a point data set. Now there are cluster of points based on a field. So I take out one such cluster which has points with same field.I want to find distance between all the points in cluster and ...
0
votes
1
answer
324
views
Units used for distance calculations by distance matrix tool of QGIS [duplicate]
I can't seem to get the measure tool to match up with my distance matrix tool regardless of what measurements I use. There are conflicting answers on other posts about this question. Both of my layers ...
1
vote
0
answers
316
views
Calculating distance from point to feature returned from layer query using ArcGIS API for JavaScript
I have a project where a user clicks on a map and I filter to show all features from a layer that are within a certain distance of the point clicked. That part of things works fine. What is not ...
0
votes
1
answer
326
views
Finding distance from every point in one layer and every feature in another using ArcGIS Pro
I have two layers. One contains points (lat/lng) and the other contains lakes (polygons). I want to generate a table that shows, for every point, the distance to every lake.
What tool in the ...
1
vote
0
answers
27
views
Finding distances associated with change in latitude and longitude at given location [duplicate]
I am writing a program that uses GPS lat and long coordinates and a time change to determine speed with the output in units of m/s (precise to 0.1 m if feasible, but 1 m is sufficient). When ...
4
votes
1
answer
959
views
Using PostGIS to calculate distance of route over large area [closed]
I am new to PostGIS and looking to measure the distance of the Pacific Crest Trail which spans western North America from Canada to Mexico.
I have a data set containing the lat lon and dates from GPX ...
10
votes
1
answer
8k
views
Calculating {minimal} distance between polygons in R
I have calculated the surface area of species distributions (merging polygons from shapefiles), but since this area can be comprised of quite distanced polygons, I would like to calculate some measure ...
1
vote
1
answer
2k
views
Calculating minimum distance between points using PostGIS
I have a table (tab_Cities with cities which own more than 50000 inhabitants. The table also contains lat, long and the_geom as columns. I can already see the points via QGIS.
Now I want to write a ...
2
votes
1
answer
839
views
QGIS Buffer distance vs Distance in Distance Matrix
I created Buffer (with Vector, Geoprocessing Tools) with 500 M distance from a point in the map (let's say Point A). I made another point (Point B) and it is not inside the 500 m Buffer.
The Distance ...
2
votes
1
answer
4k
views
EPSG 3857 vs UTM coordinate
I am trying to understand the difference between the two coordinates system. By so far I grasp that EPSG:3857 is used for a web-based map like Google Maps, OpenStreetMap.
I am getting a position (in ...
2
votes
1
answer
4k
views
Measuring Distance from Point to Point Along a Path in ArcMap
I am looking at a village and want to find the distance from each house (point) to the pagoda (point). However, I want the distance to be measured along a path (which I digitized as a polyline) and ...
2
votes
2
answers
140
views
Get median distance from a bunch of points from a assigned location and draw buffer accordingly
I have 2 point layers, say layer A and Layer B
Layer A with a bunch of points,
Layer B with a single point.
I first need to measure all the distances between every single point in layer A and the ...
3
votes
0
answers
174
views
Different distance when using "Measure Line" tool and manually with scale in QGIS 3
Using QGIS's "Measure Line" tool I get a distance of 1.22km between two points.
But if I use the scale indicated at the bottom of the screen, 1:50000, and measure with a ruler, the distance is 2.5km (...
2
votes
2
answers
140
views
Flow Mapper wrong line length calculation
I'm finding some trouble with the length calculation in the Flow Mapper plugin. As you can see in the picture below the length of the 2 lines
C001-C021 = 4233.7986...
C001-C009 = 6069.3053...
is ...
1
vote
0
answers
202
views
SAR calculating distance between 2 points
I am playing around with ESA's SNAP software and Sentinel-1 data and I was curios if it is possible to measure the ground distance between 2 points in a radar image. For example let's say that I am ...
1
vote
0
answers
36
views
Distance Point x,i from nearest Point x,j report Point x,j ID in r
I have a sample of points villages x,i, and I want to know the distance between each village x,i and the nearest village x,j. The i, and j depicts two different samples. I am able to find the distance ...
0
votes
2
answers
3k
views
Euclidean Distance Extent
I have a basemap w/ GPS points on it, and polygons of certain areas. The polygons fall well within the borders of the basemap. I am trying to generate a Euclidean Distance map of distance to these ...
1
vote
0
answers
91
views
python queries distance the nearest object [closed]
I have 2 point layers, I want to calculate the shortest distance between 2 point layers by python code and enclose the conditions of satisfaction.
For example, a point a when there is the shortest ...
1
vote
1
answer
48
views
Calculating distances between selected points from a single point in another layer in QGIS
I'd like to calculate the distances for all competitors to a proposed operation within a certain radius.
Layers are:
Competitors
Possible Competitors
Subject Property
Market Radius
Ultimately, I ...
4
votes
2
answers
3k
views
Calculating Distances between coordinates
I have 75 coordinates in WGS84 that I brought in from an Excel table. They are now on my imagery basemap spanning across about a half mile on either side of a dirt road in Prescott National Forest in ...
3
votes
0
answers
186
views
Measure distance to coast along river
I have a dataset on rivers and a dataset on the location of dams. I want to calculate the distance from the dams to the river’s mouth at the coast along the river (not the shortest distance) for those ...
2
votes
1
answer
113
views
Projecting and Measurements
I am looking to project all my data into EPSG::2959 (NAD83 CSRS UTM 18N) as I am working out of Ontario, Canada. Every time I start a project I set the project CRS to EPSG:2959, and then begin to add ...
3
votes
0
answers
49
views
Find distance between multiple discrete sets of points QGIS3.8
No similar question seems to relate to my issue but I desperately need help with calculating distances.
I have a CSV with the residential postcode of 200 000 patients. For each patient, I also have ...
2
votes
1
answer
1k
views
Optimize computation distance of million points to lines in Python
I have found questions here of how to compute the distance of a point to a line (manually, with distance method of some libraries...) but my problem is that I need to compute the distance of 4M points ...
2
votes
1
answer
41
views
Point to every other point as dataframe in R
I understand there are several tools out there that can help me accomplish my goal, but I think I'm running into more of a conceptual roadblock. I've tried to implement a fully reproducible example in ...
3
votes
2
answers
427
views
Find 3 closest points in relation to another point
Using QGIS, I have two shapefiles:
points representing enterprises (about 50k)
points representing towers (about 300)
For each enterprise, I need to figure out the three closest towers and their ...
9
votes
2
answers
4k
views
Shortest path from points in one layer to points in another layer via roads in QGIS
I'm looking for a way to calculate the shortest path from addresses to subway stations via a network of roads.
I have the Road Graph plugin, however, the addresses and subway stations are point ...
6
votes
1
answer
576
views
Deleting "lonely" points in QGIS?
I have a large point dataset of about 5.3 million points. I would like to delete the "lonely" points using QGIS, for example all points with no neighbor within a 5 km radius. The extent of my point ...
3
votes
1
answer
943
views
What does st_hausdorffdistance actually compare?
Does st_hausdorffdistance just look at discreet points used to construct a line segment or does it compare two line segments as a continuous set of points?
Also, the points used to construct my line ...
1
vote
1
answer
163
views
Deleting points based on number of neighbours using ArcGIS?
I have one point dataset of around 270,000 points. I have another larger point dataset of about 3.5 million points.
I would like to make a 5 km radius around each 270,000 points of the first dataset....
3
votes
0
answers
253
views
Calculating the geographical distance between two points (especially Gnomonic)
I tried to get geographical distance between two points by using spherical trigonometry, Mercator and Gnomonic projection.
The detail of 2 points
point A ( 15º 55’ S, 5º 44’ W) , B( 32º 19’ N, 64º ...
3
votes
1
answer
690
views
Calculating distance (lat, lon) for geom point using PostGIS
I have point in my db (Postgres postgis):
CREATE TABLE geometries (name varchar, geom geometry);
With example data:
INSERT INTO geometries VALUES ('Point', 'POINT(0 0)');
INSERT INTO geometries ...
3
votes
0
answers
84
views
Distance between points
I have 200 locations of species presence. Now, I want to calculate the distance of nearest point for all 200 points.
For example, if there is a cluster of points A,B,C,D,E,F,G,H, then what is the ...
1
vote
0
answers
96
views
Draw several lines to represent the distance to a certain point for several points
It gives a certain point that I want to analyze.
I want to see what is the distance of that point from the rest of the x points on the OpenLayers map ...
The data comes from external JSON in the ...
1
vote
1
answer
316
views
Calculating destination point using Python
I am trying to write a function that calculates the GPS (decimal) coordinates of a point that is far of a given distance from a given point.
Let say that we start from point 1 (The stripe of Dublin) ...
3
votes
3
answers
264
views
PostgreSQL - attach to point table the maxium distance value to edge of containing polygon
I'm trying to find the furthest distance from a point to the edge of the polygon it sits in. The polygons in this case have been converted to vertex points.
I have two POINT tables in Postgres (and a ...
1
vote
1
answer
1k
views
Using Geometry.distance_to() in ArcGIS API for Python
I'm calculating distances between points in arcpy or ArcGIS API for Python, and am probably doing something wrong. Hopefully, someone can show me what. Take this as an interactive session with ...
1
vote
0
answers
676
views
Distance between centriod of the polygon and each and every point of the polygon [closed]
I'm trying to calculate the distance between centriod of the polygon and each and every point of the polygon using GeoPandas Python
I need to find the distance between centroid(18.9568383649 72....
3
votes
2
answers
276
views
Distance between points inside LineString
I have a collection of geometries represented by a linestring. Each has at least two coordinates. Is it possible to write a SQL that instead of returning coordinates, return a distance between them.
...