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
0answers
6 views

Join/Summary Nearest Neighbors QGIS

I'm looking to spatial join points to their k nearest neighbors, with attributes summarized (mean, sum, sd, etc.). I have looked at Join by Location (Summary) and Nearest Neighbor Analysis but the ...
1
vote
0answers
24 views

Calculating distance to nearest coastline with ArcMap

I am using ArcMap to calculate the distance from a list of coordinates to the nearest coastline. I downloaded the shapefile of coastlines from https://www.ngdc.noaa.gov/mgg/shorelines/ and converted ...
2
votes
2answers
53 views

Mean value of pixels nearest to point (per image per point of collections) (Earth Engine)

I'm trying to extract the nearest pixel value of an Image Collection. So, for a Feature Collection, I get a time series with the mean value of the nearest pixel. The question here shows how to do it ...
1
vote
2answers
156 views

Snap a point to a line and get the line ID (using the ArcGIS REST API)

I have an external work order management system in which users create new sidewalk work orders (points). When a user creates a sidewalk work order, a Jython script will invoke a URL that passes the X ...
0
votes
1answer
32 views

Get distance from point to 10 nearest points in ArcGIS

I've a layer with the location of different sampled ponds and a layer with all the ponds in the region. I want to calculate the mean distance to the 10 nearest ponds in the region for each of the ...
3
votes
3answers
75 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
0answers
39 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, ...
2
votes
1answer
60 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
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 ...
1
vote
2answers
40 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 ...
2
votes
1answer
42 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
vote
1answer
64 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
0answers
17 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".
0
votes
1answer
31 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 ...
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....
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
72 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
49 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
0answers
24 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 ...
0
votes
0answers
28 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 ...
0
votes
0answers
47 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, ...
2
votes
1answer
72 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 ...
1
vote
0answers
19 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 ...
1
vote
0answers
32 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 ...
0
votes
0answers
43 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
1answer
44 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
0answers
37 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 ...
2
votes
1answer
45 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 ...
6
votes
1answer
209 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
40 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
20 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 ...
3
votes
1answer
122 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
36 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
0answers
162 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
78 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'...
1
vote
1answer
64 views

Calculating distance between point (address) and every road in city using QGIS

I'm new on QGIS, and I'm trying to measure the distance between an address and every road in the city. I used NNjoin but I got only the shortest distance between the address and the nearest road. ...
1
vote
1answer
87 views

Ways to speed up ST_DWithin between millions of segments and thousands of polygons?

I have 3 PostgreSQL tables with the following data: tab1 => It contains about 5.7 millions of segments (straight lines) tab2 => It contains 6673 polygons tab3 => It contains 19620 polygons ...
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 ...
0
votes
1answer
124 views

Drawing connecting lines between points to nearest within layer using ArcMap

I need to connect points within one layer to the nearest with polyline. Tool to the nearest would be ideal, but there is nothing in the attribute table. I tried to find tool in X Y coordinate, but ...
0
votes
1answer
20 views

What is getting nearest points between two different but nearby (almost intersecting) datasets called?

I need some terminology help as I am still learning GIS. This is related to, but not the same as, What is getting nearest points between two different but overlaping datasets called? I have two ...
1
vote
1answer
33 views

What is getting nearest points between two different but overlaping datasets called?

I need some terminology help as I am still learning GIS. I have two datasets. One with the address of every fire and it's latitude/longitude of small census tract. One with the location of every ...
0
votes
0answers
30 views

Distance from point to line with positive and negative values (near tool?)

I am trying to calculate the distance between collected points and a generated shoreline, but I also need to know if the points are inside the shoreline or outside the shoreline. I have been using the ...
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 ...
0
votes
1answer
40 views

Using proximity tools in ArcGIS Desktop?

I want to find the minimum distance of each point to its enclosed boundary, I have been trying to use the near tool, but the field is giving 0 as values. This is a picture of the attribute table.
3
votes
1answer
59 views

Nearest line to polygon based on equal attribute

I have a polygon shapefile and a line shapefile with several thousand features each. I want to get: The nearest distance between a polygon and a line that have the same attribute (e.g. ID). Example ...
1
vote
0answers
28 views

How to create a raster map in QGIS that includes the distance to the nearest road multiplied by another variable included in a vector file?

I am using QGIS (v. 3.4). I have a vector file (.shp) with the main roads of my city including the average traffic load of each segment. I would like to create a map with the inverse distance to the ...
2
votes
1answer
79 views

ST_Distance does not give nearest node

I am trying to find the nearest point on the road network closest to a given point. I imported the road network into PostGIS from QGIS and am using the SQL window in QGIS DB Manager to query the road ...
1
vote
2answers
95 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
2 3 4 5
7