Questions tagged [proximity]

Use for questions about vector features and their proximity or nearness to other features.

Filter by
Sorted by
Tagged with
0
votes
1answer
29 views

Finding point from Layer B that matches point from Layer A using search radius

I have two point shapefiles of trees from two different surveys. I want to verify if data from Survey A matches data from Survey B. I want to create a search radius of 10m around each tree from ...
1
vote
1answer
21 views

R - Find “n” closest points to each point in SpatialPointsDataFrame

I am working with a dataset that is similar to this one: library(raster) library(sf) # Define CRSs crs.latlon <- "+init=epsg:4326" crs.sirgas <- "+init=epsg:5880" # define edges in somewhere ...
2
votes
1answer
32 views

Would nearest point using Geodesic distance and nearest point using Haversine distance be the same point?

I have a point A and trying to find the nearest point to A in a list of points (B, C, D). I could use knn with haversine metrics and get the nearest point like this: knn = NearestNeighbors(...
-1
votes
0answers
26 views

Extracting closest point based on PostgreSQL field

How could I do the following PostgreSQL query: tables: stations (point), field: tp_min point of interest (point) buffer (polygon) I need to extract the meteorological station closest to the ...
2
votes
0answers
35 views

What is the best way to calculate the accuracy of GPS point measurements in relation to the road network?

I have a vector dataset containing GPS locations/points of different vehicles and a (polygon) road network dataset. Due to the inaccuracy of the GPS receiver, these gps points can deviate up to 10-20 ...
1
vote
0answers
24 views

Locating points based on location and attribute difference using ArcMap

I am not sure if this is feasible or not but here is what I am looking to do: I have a point feature class where a certain set of the points all fall within 10-15 feet of another point. Ideally, ...
1
vote
1answer
48 views

Finding points closest to latitude longitude point using PostGIS

Right now I have a data base with PostGIS. Several of the data sets contain different locations at latitude longitude points. I will be doing several queries based at different latitude longitude ...
1
vote
2answers
36 views

Spatial Join unique values for closest target feature

I have a polygon shapefile of land plots with their corresponding cadaster number and a point shapefile with a water meters for each lot. What I'm trying to do is to join the cadaster number from the ...
1
vote
0answers
25 views

Python code to determine distance to specific polygon boundary [closed]

I am trying to automate a process to assign location codes to parcels. The method is to measure from the centroid of the parcel polygon to the eastern edge of the section polygon, then measure from ...
0
votes
1answer
228 views

Nearest Neighbor - return object ID in R

I have a csv file that contains the GPS coordinates of about 100 villages and their unique ID. I have an other csv file with the GPS coordinates of some potential destinations and their unique ID. I ...
0
votes
1answer
49 views

Re-configuring a Near Table with Multiple Near Features

I'm trying to reconfigure the results of a near table in ArcGIS Pro. The table currently shows the nearest 5 features from a lake layer relative to multiple project locations. I've then used a join to ...
1
vote
1answer
58 views

How to convert a point vector layer to raster

I am trying to use QGIS to calculate a proximity map around a set of points. it appears that point can't somehow be converted to raster (well they are converted but the points are not visible after ...
0
votes
1answer
31 views

How to burn coordinate point of polyline to the pixel value while converting it from vector to raster

I am trying to plot a proximity raster for secondary roads in a particular area. What I have is a set of polyline representing the roads. Now, I want to create a proximity raster based on the polyline....
5
votes
2answers
2k 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?
0
votes
0answers
16 views

Point Distance Tool not licensed errors [duplicate]

I've some problems concerning Point Distance in ArcGIS 10.5. Whenever I try it to open, this tool appeared "require licensed tools".
2
votes
1answer
360 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 ...
0
votes
1answer
23 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 ...
4
votes
1answer
65 views

QGIS - How to find the distance for the nearest polygon from point for a defined angle?

I'm using QGIS 3.1 and I want to find the distance from a point to the nearest polygon for a given direction. So for example, for each point in my point layer I want to find the distance to nearest ...
1
vote
0answers
44 views

Near tool giving wrong values in ArcMap? [closed]

I'm trying to calculate distances between two lines represented as point features in ArcMap 10.1. When I run the Near tool it gives values that I know are not true. I'm getting really high values (30 ...
1
vote
1answer
370 views

Performing kNN between two 3D sets of points (pointclouds)

I have two overlapping pointclouds, for this example I take the first 10, A[0:10] and B[0:10]. They are stored as tuples, [(x, y, z),...]. I want to compare the two based on their nearest x,y,z ...
3
votes
1answer
163 views

Calculating distance while adjusting for obstacles in ArcGIS Desktop?

I have a global grid of points in the ocean and need to calculate the distance to and identify the closest 10 polygons along the coastline for the entire world while also avoiding crossing land. For ...
0
votes
0answers
26 views

Extracting data from one grid cells to another set of grid cells

I have my own point shapefile (each point has its lats n longs). I found a data which has lats and longs, and I imported it into ArcMap and created a shapefile which also has its own points (with lats ...
1
vote
2answers
84 views

Units raster proximity

I aim to calculate the average district-specific proximity to river in India by using the proximity (raster distance) function and the following data here and the GADM India data (level 2 for ...
1
vote
0answers
21 views

Is it necessary to use projected coordinate system for sf (function: st_nearest_feature) package? [closed]

I have two csv files, each with lat/long coordinates. I converted them into sf objects, giving each GCS (geographic coordinate system) crs. When I use the st_nearest_feature function, I get this ...
1
vote
0answers
46 views

Link point to nearest line using GeoPandas [closed]

I use GeoPandas to link a point feature to the nearest line feature with the code below. I thought I might share it for anyone to comment on it or offer a better solution. Pay attention to the comment ...
1
vote
1answer
41 views

Finding average distance to nearest point

I would like to find out the average distance from high schools (represented as a point in QGIS) to libraries (represented as another point in QGIS) in New York's 32 districts. I have already ...
1
vote
1answer
68 views

Expedite Near function in ArcMap 10.7 for 10^9+ coordinates?

I want to find the geodesic distance between the closest hydrography feature to each of my lat/long coordinates. I have hydrography data from New York state in a shapefile. I have many points, 10^10 ...
0
votes
0answers
40 views

Expedite Near function in R for 10^9 coordinates?

Goal I want to find the geodesic distance between the closest hydrography feature to each of my lat/long coordinates. I have hydrography data from New York state in a shapefile. I have many points, ...
0
votes
1answer
292 views

Calculating distance between pixel values on raster layers using QGIS

I am attempting to perform a proximity analysis to determine the distance pixel values on different rasters layers. For example, one layer is roads (with all roads having a value of 1) and one is oil ...
3
votes
0answers
651 views

Analysing correlations between variables and points using ArcMap [closed]

I am trying to determine the correlation between sinkholes and a number of different variables. My sourced data is as follows: Sinkhole Database: 6460 points Fault Lines: Line files Surface Streams: ...
2
votes
1answer
97 views

Selecting nearby polygons in QGIS?

I am working with QGIS and I have two different polygons, one with municipalities and another with conservation units (from Brazil). I need find out which Conservation units falls within 50 km from ...
3
votes
2answers
1k views

Finding closest segment to a point using PostGIS

I am trying to find the closest road segment to a point that I have and return an attribute from the closest segment to the given points. I know in PostGIS I need to use ST_ClosestPoint, ...
1
vote
0answers
18 views

Distance from points to points in the same polygon

I have 2 point layers and 1 polygon layer. I want to find distance nearest between this 2 point layer, but they must be in the same polygons. I used distance nearest hub, NNJoin, MMQgis but they just ...
2
votes
0answers
126 views

Nearest neighbour analysis from existing Excel sheet

I learnt the Nearest Neighbor Analysis from QGIS Tutorials and Tips. The result of this analysis, see image below I know that after running the distance to nearest hub analysis, it produces hub lines ...
2
votes
1answer
40 views

Nearest Neighbour huge values QGIS 3.4

I am repeatedly getting values in the 1000s for a nearest neighbour analysis in QGIS 3.4. I've tested a different dataset and getting the expected result (i.e. between 0 and 2.5). But from the ...
0
votes
0answers
41 views

How to get attribute of nearest neighbour of polygons from a points layer

I have 2 layers, one of polygons and one with points. Both have some attributes. For each polygon, I would like to take one attribute of points layer from the nearest point and put it in a field of ...
1
vote
0answers
29 views

Distance nearest hub with conditions

I have 3 shapefile: pipes (line), junctions (point), customers (point). I want to bring customer demand value from customer to junctions with conditions: First condition: Nearest road Second ...
9
votes
2answers
13k views

Nearest distance between point and line layers in QGIS

I have two layers, a line and a point layer. I need to make a line layer which connects all the points to the nearest line feature. How can I do that? Is there a plugin available for QGIS? This is a ...
2
votes
1answer
100 views

Changing cell size output for Proximity (Raster Distance) tool in QGIS

I am trying to create a raster layer with distance to shore that has a resolution of 1km. I've created a raster distance layer using the Raster > Analysis > Proximity (Raster Distance) tool in QGIS ...
1
vote
0answers
36 views

Nearest statement - Mapbasic

When I use the nearest statement in mapbasic, not all the "from table" points show up. For example I am looking for the nearest distance neighbor of every point in a table (called Points). I use this ...
0
votes
1answer
46 views

Trying to Count Number of Points within Specified Distance from Lines using Carto?

There were multiple points stacked on the same coordinates that I did not notice. I am trying to count the number of points within 10km of lines (routes) so the routes can be styled according to the ...
6
votes
1answer
201 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 ...
1
vote
1answer
38 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....
1
vote
0answers
19 views

PostGIS - find vertices on polygons without partners

My goal is to ensure that a set of boundaries have vertices that are co-incident where they intersect by a tolerance of 5m. So I am looking for orphan vertices that are not on an external boundary. I ...
0
votes
0answers
23 views

Summary Statistics with non-unique Case Field

Is there an elegant way to run summary statistics and only keep a field if it matches the statistical test? For example, I have some points, and distances from these points to several polygons. I run ...
3
votes
1answer
109 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 ...
1
vote
1answer
31 views

Update a field from a PostgreSQL point table (wherever it's NULL) with certain field value from closest polygon?

Given a point table (table1) and a polygon table (table2) in PostgreSQL, I am trying to update a field from table1 wherever its value is NULL. This field should be updated with a certain field value (...
2
votes
1answer
66 views

Find closest polygon from point and get its attributes?

Given a set of points and a set of polygons, I am trying to find for each point what the closest polygon is and bring over the attributes from that polygon to the point (together with the actual ...
1
vote
1answer
35 views

ST_ClosestPoint() moves all points to one line instead of closest line

I have a line network and I've created evenly-spaced points along those lines. The problem is that the points are not exactly on the line so subsequent overlay operations will not work as expected. I'...
4
votes
3answers
3k views

Selecting top 10 records in attribute table using ArcMap

I am using ModelBuilder in ArcMap 10.2 to try and find a way to select the first 10 records sorted by Category and then by Distance. For example, my table has 100 banks and 100 churches, which is the "...

1 2 3 4 5 7