Questions tagged [distance-matrix]

a distance matrix is a matrix (two-dimensional array) containing the distances, taken pairwise, of a set of points.

Filter by
Sorted by
Tagged with
5
votes
2answers
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?
2
votes
2answers
2k views

Problem with Distance Matrix in Qgis 2.83

I want to calculate the distance of archaeological sites to the nearest river. Following this question Calculating minimum distance between points and polygons in QGIS? I extracted the nodes of the ...
1
vote
1answer
653 views

Distance Matrix with 2 point shapefiles and one street network

I have two point shapefiles (start/destination) and one sort of street network shapefile. I would like a to create a distance matrix from the start-shapefile to the destination points, using the ...
5
votes
2answers
790 views

No output in PyQGIS standalone script running Distance Matrix?

I am trying to create a standalone PyQGIS script which runs the Distance Matrix in QGIS 3, see below: ######### INITIALISE QGIS STANDALONE ################ import sys from qgis.core import ( ...
7
votes
2answers
2k views

distance matrix with a linear feature

I would like to use the distance matrix tool (or a similar function) to look at distances between sites (displayed as point data) and large rivers (displayed as linear). I have been following this ...
1
vote
2answers
929 views

Drawing curved lines in CartoDB?

I am experimenting drawing curved line from Origin to Destination in Cartodb. I was able to do so once, however, failed the second and third time. Could anyone offer me some insights into the ...
5
votes
1answer
4k views

How to calculate the average distance among set of points as measure of closeness

I have three series (or tables) of points in PostGIS which I want to compare. I would like to know how "close" each series is when compared to the other two. In other words I would need some measure ...
3
votes
1answer
1k views

Distance Matrix PostGis

Assuming I have a table or 2 dimensional array with only geometries and names (all in all 5k elements) name the_geom a polygon_geometry.... b polygon_geometry.... c ...
1
vote
2answers
124 views

Removing duplicate pairs in Near Table

Generate Near Table or Near can be used on a single Feature Class to find the nearest feature to each feature. arcpy.GenerateNearTable_analysis(featureClass, featureClass, pairsTable) This results ...
0
votes
1answer
684 views

How to calculate distance matrices for points based on common denominator?

I am dealing with a vector layer containing ~3400 points. All of them have an individual identifying code (Name) and another one (Network) they share with others of the dataset since they belong a ...
10
votes
1answer
274 views

How do I interpret the results from the distance matrix?

In this dataset I have created the green dots represent coyote sightings while the yellow dots represent rabbit sightings. I am trying to determine if coyotes and rabbits are randomly distributed or ...
6
votes
1answer
951 views

Calculating shortest distance between points within polygon using QGIS?

I performed a transect in which I sampled several animals. The location of these animals are represented by a point shapefile. I am interested in calculating a pairwise matrix of distance (in meters) ...
4
votes
2answers
1k views

How to get the center line between two linestrings

Where is the track of a ship when it is shipping always in the center of the English Channel between the coasts of Great Britain and France? I started with 2 linestrings and I created a lot of ...
3
votes
1answer
229 views

Distance matrix tool, how to include distances at 0 metres?

I have used the Vector -> Analysis Tools -> Distance matrix to merge two datasets by the closest points. But in my output csv file, the points that match exactly, or that has 0 metres between them ...
2
votes
1answer
363 views

Strange distance measurements in distance matrix

I'm trying to create a distance matrix between two point shapefiles in QGIS 2.6. Both are in WGS84 UTM Zone 30N co-ordinates (and so is the project file), but the distance matrix returns values such ...
2
votes
1answer
5k views

QGIS distance matrix in meter instead of decimal degrees

I'd be thankful for your help. i created a point layers of store locations and customers in Florida by given coordinates (WGS 84 EPSG: 4326). Now i need a distance matrix between stores and customers ...
2
votes
1answer
924 views

ArcMap Point Distance giving decimal degrees even when in projected coordinate system

I'm trying to calculate pairwise river distance among 60 XY coordinates in a small region of Mexico with ArcMap 10.2.2. I have defined my projections and projected both my stream network and XY ...
1
vote
1answer
215 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 ...
1
vote
0answers
90 views

Unable to obtain linear distance matrix [closed]

I am using QGIS 2.6 (Brighton) and when doing a distance matrix, the output csv file appears blank. Is it possible that somehow the shapefile I am using is corrupted?Has anyone please got any hints or ...
1
vote
2answers
248 views

Complete matrix from Generate Near Table [duplicate]

I am trying to make a matrix with all the distances from 4000 objects to 1000 other objects. I used the Generate Near Table and deselected "find closest option only". The output is table with 4 ...
1
vote
1answer
3k views

QGIS, CRSs and metric measurements of distance matrix and nearest neighbour? [closed]

I have thousands of points on a multiple layers and I need to get the distances between each point and every other point within a layer (so i can get min, max, mean and median distances) and the ...
-3
votes
1answer
227 views

Need to calculate distance (Node to Node) along the lines [closed]

I have a Shapefile (polygon), I need to calculate distance (Node to Node) along the lines in map unit(meter or kilometer). I want to do it in ArcGIS.