Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [proximity]

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

1
vote
1answer
26 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
54 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
34 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
2answers
77 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
25 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
22 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
36 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
17 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
35 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
18 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
18 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
40 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 ...
0
votes
0answers
13 views

ArcGIS: Point nearest to border with information on bordering region

I am trying to create a table from a yield map in Europe, that tells me how much yield for each 5'x5' raster field is achieved. This I have managed. However, I now need information for each raster ...
1
vote
0answers
26 views

Creating Near Table between points in one layer that share an attribute with points in another layer?

I am trying to calculate the distance between some geographic features (point layer) and the capital of the country that they fall in. I have a shapefile of "features" and a shapefile of "world ...
1
vote
1answer
31 views

More creative or efficient solution for a proximity table (1:m) to all points within X distance, keeping obs. where no points fall within X distance?

I have a proximity question. I am open to Arc or Python solutions. I am mainly asking because I think I am lacking a little creativity in approaching the situation. The Situation I have two point ...
0
votes
1answer
29 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 ...
0
votes
0answers
23 views

Calculating proximity in ArcMap 10.6

I am new in Arcmap and I am trying to calculate the distance between some points I have in an excel file that have an FID shape and latitude and longitude. However whichever tool I am trying to open ...
1
vote
1answer
54 views

arcpy.Near_analysis throws error: feature class does not exist or is not supported or cannot add field NEAR_FID

I am trying to determine the closest line feature to features in a point feature class by using the arcpy.Near_analysis function, as such: search_radius = '' #optional location = 'LOCATION' angle = '...
1
vote
0answers
18 views

Adding input files of near tool using %name% or %value% function?

I am trying to caluclate the nearest distance between road and road_buf shp. But I'm struggling to add input features using %name% function in NEAR TOOL. I want to add road_buf file as "c:Desktop\...
0
votes
0answers
28 views

Understanding Projection for Near tool in ArcMap?

I need to find the nearest distance of points from points in ArcMap. Both layers are in WGS 1984. When I choose geodesic distance in Near tool, I get results in meters. I don't do any projection. ...
1
vote
2answers
55 views

Identifying counties further than ten miles from bank using ArcGIS Desktop?

If I have the latitude and longitude of all US banks. How can I identify counties whose center is ten miles or further from any bank using that data?
0
votes
2answers
65 views

Separating north, south, east and west of each parcel according to their neighborhood using ArcGIS Desktop?

I am searching an easy way, like code, I have about 70000 parcels from the city. How can I separate north, south, east and west of each parcel according to their neighborhood?
2
votes
0answers
53 views

Using gdal_proximity in QGIS modeler?

I'm trying to use gdal_proximity to create a distance raster. When I try to run it independently, it works fine. However, when I try to use it within modeler, it encounters an error. I've attached two ...
0
votes
1answer
68 views

How do I calculate proximity for multiple points?

I have two layers, one with lots, one with subway stations (NYC). There are to scenarios: Case 1. I want to rank the lots relative to the proximity to subways. (1.a.) The closer to closest station, ...
2
votes
2answers
68 views

What do you call a map that shows the closest distance to a set of points?

This is one of those hard problems to Google since I don't know the right words to Google! I have a list of 6,000 retail locations in the US, and I want to know, for any given point, how far away one ...
2
votes
1answer
57 views

Calculating nearest distance between polygons according to attribute field in ArcGIS Desktop?

I have a two polygon shapefiles, one shapefile is a zoning and the second one is a census tract. Now I want to calculate distance from boundary of tract to closest boundary of each zone type (R, C, ...
2
votes
1answer
106 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 ...
1
vote
1answer
42 views

Converting proximity from PIXEL distance to GEOmetric distance in QGIS

I used the Raster>Analysis>"Proximity (Raster distance)" tool in QGIS in order to create a raster of distances to a particular value in another raster. This is the same sort of thing someone might do ...
0
votes
1answer
92 views

QGIS Spatial Index uses bounding boxes; how to get actual nearest line to a known point

I have looked at lots of answers referring to this same issue, and tried using QGIS Spatial Indexes and iterating through the line features in the spatial index to calculate the distance between a ...
0
votes
1answer
223 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 ...
1
vote
2answers
146 views

Excluding point from Nearest neighbor search once it's been matched using R?

I have two lists of addresses, List 1 and List 2. I want to find the nearest neighbors of the list--but without assigning more than one point to any point. So say point 1A is the nearest neighbor of ...
2
votes
0answers
43 views

Calculating individual width between buildings using ArcMap?

I have a building footprint shapefile and I would like to calculate the individual width between each building (i.e., adjacent building and across the street). I have looked at solutions which use the ...
1
vote
1answer
37 views

Suggestions on how I can depict numerous cell towers with different ranges?

I am trying to make buffers dependent on cell tower ranges. Does anyone have any suggestion on how to insert distance buffers of various that are dependent on attribute values in one layer? I am ...
1
vote
0answers
33 views

Combining proximity criteria within Location Allocation?

I am using ArcGIS 10.5. I will explain the situation first: There are 134 139 forest centroids that serve as 'Demand point' to source Bioenergy conversion plants in the state of Queensland Australia....
0
votes
1answer
33 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 ...
0
votes
0answers
109 views

Vary symbology of points by proximity

I have 1,000 point locations that represent hospitals, and I want them to be symbolized as different colored points. Since a map reader isn't going to tell the difference between 30 shades of red or ...
0
votes
1answer
22 views

Coordinates of IN_FID and NEAR_FID

When we run Generate Near Table tool in ArcMap 10.4.1, we get IN_FID and NEAR_FID. I ran it through my point features and have my data. But, I also want coordinates of IN_FID points and NEAR_FID ...
0
votes
0answers
9 views

Finding distance polygon is from specified point using ArcGIS Desktop? [duplicate]

I have a polygon shapefile that has a unique point attached to each feature. Every unique point is attached by a specific unique ID and is listed in the attribute table of the polygon. Is there a ...
1
vote
1answer
331 views

Finding distance to nearest point from feature using Google Earth Engine?

In Google Earth Engine I have a FeatureCollection of 14,002 points. For each of the points I want to find the next nearest point's distance away. I don't need to record the nearest point ID, only the ...
0
votes
2answers
130 views

Using Near to determine proximity in decimal degrees using ArcGIS Desktop?

Using ArcGIS Desktop, I want to calculate the nearest distance of points to lines, and I need distances to be in decimal degrees not meters. How do I do this? Even if I choose "decimal degrees" in ...
2
votes
4answers
1k views

Find nearest point along polyline using 'sf' package in R

This is a follow-up question related to my earlier post about using the sf package to split polylines using nearby points. I have 450 points with XY coordinates and a large river network (~214,000 ...
2
votes
1answer
140 views

Automatically set attribute values ​for a layer based on proximity relations to another layer in QGIS

Is it possible to automatically set attribute values for a layer based on proximity relationships to another layer in QGIS? This is a more generic question with a variety of applications, so here is ...
0
votes
1answer
37 views

Determining distance between polygons in two shapefiles using ArcGIS Desktop?

I have a parcel shp and a lake shp. How to calculate the distance between the parcel polygon and the lake? I do not want to use the measure ruler tool in ArcGIS Desktop 10.2.
0
votes
1answer
34 views

Calculating Distances Between Polygons: One to Many, ArcGIS 10

My Problem: I have a set of sites (green), a 5 km buffer around them (purple) and a set of special areas (blue). I need to calculate the distances between each site and each special area ...
2
votes
0answers
104 views

WFS nearest feature by CQL Filter

At the moment I have a WFS with the following cql_filter: 'cql_filter: 'dwithin(bag:geometrie, point(lon lat), 100, meters)' The problem is that this filter does not sort the features from closest ...
1
vote
1answer
54 views

Merging two vector layers with nearby features in QGIS

I am using QGIS 2.18 I have two shapefiles containing bus stops the first file(old_stops) has 144 stops, the second (new_stops) has 5. There are 3 stops in the new_stops file that are practically ...
0
votes
0answers
357 views

Speeding-up processing of pair-wise distance calculation in Python?

I am trying to do a cluster analysis using DBSCAN for my time series NDVI image in Python. I am using distance time warping (DTW) to measure distances between my time series. With this, I am computing ...
2
votes
1answer
49 views

compute nearest distance point to point inside a polygon pyqgis

I need to compute the distance from an input point file to a series of target points in different shapefiles. Everything is in Africa. I want to do this in a pyQgis script. The script I have shown ...
2
votes
1answer
76 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 ...