Questions tagged [proximity]

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

Filter by
Sorted by
Tagged with
3
votes
1answer
125 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
1answer
79 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
37 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
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 ...
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. ...
2
votes
2answers
493 views

Find average density value within a polygon in ArcMap

I've created a point density heat map for a city intended to show areas where there is more or less access to a certain type of public school. It would be useful to be able to identify which local ...
1
vote
0answers
25 views

Seeking term for calculating variables within defined distance of point? [closed]

Imagine I have a dataset where each row is a single property with information like square footage, price, the lat/lon, etc. For each row, I would like to identify all other properties within a defined ...
0
votes
1answer
127 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 ...
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
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 ...
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 ...
0
votes
1answer
41 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 ...
0
votes
2answers
113 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
0answers
25 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 ...
3
votes
2answers
1k 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: ...
3
votes
3answers
195 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 "...
3
votes
5answers
3k 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 ...
1
vote
1answer
633 views

Creating distance raster using road network ArcGIS

I'm working with three main layers in ArcGIS- geocoded dental office points, bus stops, and a road network. I would like create something similar to a three ring buffer that accounts for three ...
1
vote
1answer
136 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
1answer
53 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
144 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
40 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 ...
24
votes
2answers
5k views

Creating Thiessen (Voronoi) polygons using lines (rather than points) as the input features?

I have a set of line features inside a particular polygonal boundary. For each line, I'd like to generate a polygon inside which every possible point is closer to the given line than to any other line ...
0
votes
1answer
101 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, ...
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 ...
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. ...
1
vote
0answers
48 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 ...
-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 ...
1
vote
0answers
49 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 ...
0
votes
0answers
86 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
121 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 ...
1
vote
0answers
33 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
33 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
0answers
26 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
2answers
82 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 ...
5
votes
4answers
5k views

Calculating distance of point from arc/polyline using PostGIS?

Using PostgreSQL/PostGIS, I am trying to query the database for the closest arc to a particular GPS point. Each Arc is made up of two nodes that are GPS points on a map. Is there a way I could query ...
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\...
2
votes
1answer
663 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
0answers
39 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
60 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?
30
votes
5answers
34k views

Using geohash for proximity searches?

I'm looking to optimize point proximity geo searches time. My input is lat,lng point and I'm searching on a precomputed set of locations to n nearest points. I don't care how much time/space the ...
0
votes
2answers
103 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
83 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
91 views

Finding distance to nearest polygon of type A for every point type A using ArcGIS Desktop?

I should calculate the short distance between points and polygons of the same type. I have more than 2000 points of 60 different types. And shapefile with 60 polygons of the different species. The ...

1
2
3 4 5
7