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.

0
votes
0answers
8 views

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

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 ...
0
votes
1answer
13 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
0answers
9 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
16 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
36 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
24 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
28 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
27 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
0answers
38 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
25 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
52 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
51 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
51 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
56 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
61 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
54 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
85 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
32 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
69 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
189 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
125 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
41 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
32 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
31 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
107 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
20 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
273 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
107 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
824 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
124 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
98 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
46 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
315 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
45 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
71 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
2answers
68 views

Locate LAS Points By Proximity gives ERROR 999999?

I am trying to locate LAS points which is within a specific distance (25cm or 50cm) from the 3D points in a feature class. This is exactly what the Locate LAS Points By Proximity tool should do. My ...
0
votes
1answer
40 views

Using ArcPy to find all points that lie within certain radius of other points?

I am trying to find a way to count all the points that are only within a specified distance of 500 meters of another set of points. My first shapefile contains a series of points of various types of ...
0
votes
1answer
42 views

Finding nearest point A to Point B and then excluding all point Bs without nearest point A?

I'm using GIS for the first time for a university project, ArcGIS specifically. As far as I'm aware I have access to the full suite of Arc software but I'm typing this out from home so can't check ...
1
vote
0answers
339 views

Calculating Distance and Bearing North Azimuth (0 degrees pointing North) in ArcGIS Near tool?

I am trying to calculate distance and bearing in ArcMap using the tool Near, and although it works I need the results to be calculated using North Azimuth (0 degrees pointing North) and not Polar ...
3
votes
1answer
435 views

How to UPDATE with LATERAL Nearest-Neighbour query?

Say I have table gps like: CREATE TABLE gps( gps_id serial primary key, measured_timestamp timestamp, geom Geometry(Point,4326), stop_id int --Null ); And I have a table of stops like: ...
2
votes
2answers
51 views

Ranking target features by number of near features using ArcGIS Desktop?

To help decisionmaking, I want to rank housing units by the number of grocery stores nearby, limited to a 2-mile radius for each unit. I am trying to define my mapping problem and find out what ArcMap ...
2
votes
0answers
77 views

Calculating nearest distance between 2 points and creating line between them avoiding barrier using ArcGIS Desktop? [closed]

I have 2 point datasets. One shows a number of offshore locations. The other is the location of a number of ports in the UK. I want to get the name and distance to the nearest port for each offshore ...
2
votes
1answer
44 views

Showing nearest feature side to side in ArcMap?

I have 2 polygons and I would like to know which side of these polygons is the nearest from each other, probably by pointing out through a new created shapefiles from the analysis. Is there any tools ...