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
23 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
20 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 ...
3
votes
1answer
55 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
45 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
19 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
24 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
32 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, ...
1
vote
1answer
66 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
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 ...
1
vote
0answers
28 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
39 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
39 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
35 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
39 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
197 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
37 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 ...
3
votes
1answer
96 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
30 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
78 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
57 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
33 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
55 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
80 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
110 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
17 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
32 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
29 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
37 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
56 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
26 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
72 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
74 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

Find distance between points and borders

I'd like to ask for your help for the following problem. I would like to find the distance for each points from the nearest border, represented by the polyline feature here. I was thinking about ...
0
votes
2answers
79 views

Calculating distance between two feature layers in specific direction using ArcMap?

I'm working on a project in which I'd like to calculate the distance from specific locations within a city (points) to the nearest body of water (polygons) following the path of the wind (direction). ...
1
vote
1answer
43 views

Transfering attributes from nearest feature using ArcGIS Desktop?

I have two layers, containing polygons (lots) and points (meters). I want to identify the closest polygon to the point, and then copy specific attributes from the polygon to the points. Is this ...
4
votes
1answer
118 views

QGIS 3.4 distance matrix returns the wrong point

I'm using Distance Matrix to find the closest point between one set (4 points) and another set (4 points), detailed below. All results look okay except one, where the returned point is not the closest....
0
votes
1answer
37 views

Add points (proximity) ArcGIS [closed]

I have a punctual shapefile of wind turbines. The task is to discover if those wind turbines are visible to the human eye. The human eye can see a maximum of 1.6 meters. Which tool can create or add ...
3
votes
3answers
159 views

Joining Attributes by Location to nearest point?

I have a point feature and I want to perform a spatial join with the nearest point of another point feature (maybe even within a certain buffer distance). I know QGIS has a nice spatial join tool "...
0
votes
1answer
27 views

Calculating distance point to point with certain criteria based on field using ArcMap?

I have a dataset of points representing solar parks, also these points contain data on the year the solar park was developed. Now I would like to know the distance of these solar parks to the nearest ...
1
vote
0answers
42 views

Using nearest neighbour with conditional field using PyQGIS? [closed]

I'm using QGIS 3.6 I have a point layer with the 84000 animal positions on a fence on varying dates. I would like to obtain the nearest other animal to each animal point, on the condition the Date ...
0
votes
1answer
175 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 ...
1
vote
0answers
47 views

Spatial joining (nearest) between features that fulfill query? [closed]

I have two point feature classes, one with locations wildfires were discovered, and one where lightning strikes were detected. Both feature classes contain temporal information. For each fire, I want ...
-1
votes
1answer
25 views

Defining nearest features within shapefile using ArcGIS Desktop?

In a shapefile I have around 17000 lines with different ID. I would like to give a same ID to the feature lines which are close to each other. for example in the picture : ID 306 and 305 should have ...
0
votes
1answer
42 views

Calculating distance from line to multiple points in ArcGIS Desktop?

I have road maps (line features) and point features representing forest plots. I created buffer around the roads. Now I want to know the distance from line(road) to the points within this buffer. ...
0
votes
0answers
76 views

gdal.ComputeProximity always returns 0-value raster

I try to create a raster layer with the smallest distance to cells with targeted value so I use gdal.ComputeProximity(). But I must do something wrong because my output raster contains only 0 values. ...
1
vote
0answers
19 views

Dissolve on attribute field and location?

I've got a county parcel shapefile and I'm wanting to find all the properties over 300 acres. When I dissolve based on ownership and search for dissolved properties that sum over 300 acres, some of ...
1
vote
1answer
93 views

Finding nearest line from points in SpatiaLite?

I have writtern a query in Spatialite to get the nearest line from a point. I want to do that for all points. How can I modify the below codes: SELECT g1.id As gref_id, g2.id As gnn_gid FROM ...