Questions tagged [distance-matrix]
a distance matrix is a matrix (two-dimensional array) containing the distances, taken pairwise, of a set of points.
178
questions
0
votes
0
answers
40
views
Finding shortest road distance between points on two datasets QGIS [duplicate]
I have two point datasets:
Communities and
Vet clinics
I am trying to find the nearest distance between each community and the closest vet clinic, but would ideally like to link this to a roads ...
0
votes
0
answers
27
views
Use TomTom Data as Network Dataset to Calculate OD Cost Matrix Distance and Time
I am stuck in with configuring a network dataset using TomTom data. I used to rely on the Routing_ND network dataset provided by ESRI Business Analyst to perform OD Cost Matrix analysis. Now I am ...
0
votes
1
answer
39
views
Calculate distances between all point features in one layer and all point features in another layer (NOT only nearest)
I would like to calculate distances between all point features in one layer and all point features in another layer using ArcGIS Pro 3.1.2 tools or ModelBuilder. I'm not looking for distance to the ...
5
votes
1
answer
85
views
PostGIS min and max distance between bounding boxes
I've been exploring the capabilities of PostGIS get the minimum and maximum distances between bounding boxes.
--returns distance between centroids
select ST_GeomFromText('LINESTRING Z(0 0 0, 1 1 1)') &...
0
votes
1
answer
119
views
Calculating large travel distance matrix
I need to calculate a really large travel distance matrix 3600^2 to solve a TSP problem between points. I have the coordinates of the points and also the addresses.
How can I calculate this matrix ...
0
votes
2
answers
434
views
st_distance() hangs with large number of points in R
I am using sf::st_distance() to calculate a distance matrix in R. I have around 30,000 polygons, and I am running this analysis on a computing cluster with ~500G of RAM. I understand that 30,000 ...
0
votes
1
answer
251
views
Faster way to compute Moran’s Index from a very large distance matrix between geographic points
I am computing Moran’s Index from a very large distance matrix between geographic points. The time to execute the code is too high. I used the dism function in the geosphere package.
Here a ...
0
votes
0
answers
57
views
Calculate distance matrix in km units not degrees
I need to calculate the distance of England crimes to the Uk coast. I have a shapefile of the outline of the coast and extracted the vertices. So then I can input the crimes to the coast in distance ...
0
votes
1
answer
62
views
QGIS Distance Matrix - line geometry output between two input point layers
I am trying to figure out how @AJIKenyon took the expression in this post (QGIS Distance Matrix - with line geometry output?) and used it in Geometry by expression. The layers I have are two projected ...
2
votes
0
answers
44
views
Calculate network distance from point layer to Hub layer in QGIS
I have a river network layer, a layer of 360 sampling sites and a layer of 700 facilities. I want to calculate the network distance only between sampling sites and facilities but between all sites and ...
0
votes
0
answers
36
views
Distance Matrix won't consider elevation
Using QGIS Firenze
The Data is present in following Formats:
.gpx, .kml .csv. generated by garmin GPS.
lat, lon (In Degrees) and elev (in m).
There I have 70 Points. I can create a distance matrix or ...
1
vote
1
answer
270
views
Interpreting total time variable in QNEAT 3 OD Matrix using QGIS
In QGIS 3.26.1, I used the QNEAT3 "OD Matrix from Layers as Table (m:n)" function. (Ancillary info: I am using the TIGER/Line 2019 primary and secondary road data for the US, in order to ...
1
vote
2
answers
84
views
Keep only one nearest OD link (QNEAT)
I've made a distance matrix from one point layer (layer A) to another (layer B) using QNEAT plugin (QGIS Network Analysis Toolbox 3).
I got a web with links from every point from A to every point from ...
1
vote
0
answers
150
views
Create grid around lat/lng with same spacing on the diagonal points using SQL Server
As an example I have a lat/lng circled in red below. I want to create a grid of points using SQL Server at 50m intervals up to 200m from the centre point. But those points that are on a diagonal are ...
0
votes
0
answers
30
views
What is the method behind calculating a distance matrix?
Do you know if for the creation centroids or nearest distance (or whatever) is used?
How do I know what is happening?
Couldn't find anything specific in the documentation.