Questions tagged [proximity]

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

Filter by
Sorted by
Tagged with
5
votes
2answers
101 views
+100

Finding nearest neighbor with smaller attribute value in QGIS for a huge dataset: make expression more efficient

The setting I have a Geopackage point layer in QGIS 3.18 with over 350.000 features for an area of about 1700 km² (extent ca. 50*60 km), representing centroids of buildings. The points contain an ...
-4
votes
0answers
22 views

Finding proximity (spatial weight) matrix W using rook’s definition for data: [closed]

Find the proximity (spatial weight) matrix W using the rook’s definition for the data:
0
votes
0answers
14 views

Measuring distance between point to polyline using ArcMap

There are two lines A : polyline B : Axis I created points along the line B with same interval using 'generated points along lines' tool of ArcMap. I would like to measure the distance between these ...
0
votes
1answer
25 views

Determining distance between point feature and nearest point feature in same layer

I have one layer which contains school locations. What I want to do is find the nearest distance between these point features. Keep in mind it's one layer. Any solution? I'm using ArcGIS Desktop.
4
votes
2answers
312 views

Closest point on 5km line

Given a point and a line, I am trying to determine the point on the line that is closest to the given point. The given point is always at least fairly close to the line (3-4 meters max) Originally I ...
2
votes
0answers
32 views

Selecting, sorting, and grouping spatial data (lines) by length and proximity

I'm working on a project where I have a bunch of lines inside of polygonal land parcels. Here's a rough sketch of what I'm talking about: I need to further subdivide these parcels into sections that ...
1
vote
0answers
16 views

Adding nearest point-(features) to attribute table

Using QGIS I'd like to add the (10) nearest random points, that I created within a polygon, to a target point and have their distances to said point added to that point's attribute table. I'd like to ...
4
votes
1answer
101 views

Getting values from adjacent polygons or nearest point

I have joined temperature values from the point layer to intersecting polygons but I have few polygons (yellow in the image) that don't contain any point data. Can I somehow get average temperature ...
4
votes
1answer
75 views

Get the attribute of the nearest line to a polygon

In QGIS, how could I get the attribute of the nearest line to a polygon with an expression (or virtual layer)? I wish to create a new field in the polygon layer(in this case the parcels) with the ...
1
vote
0answers
17 views

Graph showing proximity of two objects over time [closed]

I have a dataset showing time and location data for two moving objects (eg B & D). I want to make a graph which shows how close (difference between LAT/LON) two objects (B & D) have been ...
0
votes
0answers
19 views

Finding nearest points based on distance and the user location and display on a Folium or Leaflet map?

I want to display the nearest 'services' points using the distance function on the Folium map. I need to pass the user location from the form and find the nearest services based on the current ...
1
vote
1answer
35 views

Gathering information from a point to nearest polygon in QGIS

I am using QGIS and would like to know what the nearest vegetation type is from a point (animal location). Could someone help me figure out what tool I should use?
2
votes
1answer
57 views

Mapping distance of animal locations to water points in dry and wet season

I have shapefiles of location data for around 40 collared animals as well as a shapefile layer of water points. I want to find out how water affects the movement of the collared animals. I thought of ...
0
votes
1answer
32 views

Conceptual advice on proximity analyses in arcpy

I have a question concerning proximity analyses in arcpy (ArcGIS 10.7). Forgive me if it takes a while to explain, but I've added a figure below to illustrate my problem. Explanation I'm trying to ...
0
votes
0answers
13 views

How to combine neighboring parcels to find maximum stream length per parcel combination - ArcMap

I am typically assigned with the task of finding parcels in a watershed which have the highest linear footage of stream running through them. For this I can simply intersect my stream layer with my ...
0
votes
1answer
22 views

Calculating nearest distance between two Linestrings using R

I have two simulated linestrings, one that represents a satellite ground-track and the other representing a linear surface feature (e.g., a road or river). I am trying to calculate the minimum ...
0
votes
1answer
40 views

Spatial Interactions - ArcGIS Online - Query based on mouse-click

I have a web map, authored and deployed as a web app. It contains a series of points and lines. I was wondering if it was possible to create an ability to click anywhere on the map, and have the ...
1
vote
0answers
22 views

Filtering duplicate records using space and time overlap

I have a dataset consisting of about 23,000 fire incidents obtained from years of fire brigade reports. The incidents have a lat, lon, and timestamp. The problem is that in the case when two (or more) ...
4
votes
1answer
35 views

Adding field by proximity using ArcMap

I'm using ArcMap with the Basic license. I have turnout gates (points) on or very close to irrigation facilities (lines). The irrigation facilities have a field for type (canal, pipeline, culvert, etc....
1
vote
1answer
32 views

Identifying polygons that lie between two polygons using ArcMap

I am working on a single layer which includes an island constructed of multiple polygons (used to represent territories). I would like to look at dispersal between territories, specifically, how many ...
6
votes
1answer
151 views

Finding nearest street name from selected point using ArcPy

There are two data layers with house numbers and street. My house numbers are point type, and my street layer with road names is line type. What I want to do in my project is to find 15 meters near ...
0
votes
1answer
25 views

Finding distance between point layer and matching polygon layer using ArcGIS Pro

I have two points (GPS photo coordinates) per polygon (area photo is taken). The two points have an identifier that links both to their corresponding polygon, so I already know each polygon will have ...
1
vote
1answer
13 views

Choosing tool to add field based on nearest neighbor using ArcMap

Using ArcMap, I have two feature classes. The first is my polygon parcel layer with crop type, irrigation type, owner, etc. The second is my line canal layer, which has a field for our water schedule (...
10
votes
1answer
282 views

How do I interpret the results from the distance matrix?

In this dataset I have created the green dots represent coyote sightings while the yellow dots represent rabbit sightings. I am trying to determine if coyotes and rabbits are randomly distributed or ...
0
votes
0answers
36 views

Find for each point-feature in layer the nearest point in other point-ayer over a network

I'm looking for a solution for following problem: given a point layer A (10.000 points) given a point layer B (15.000 points) given a line layer C, as network (waternetwork) I want to have for each ...
7
votes
3answers
344 views

Find nearest line feature from point in QGIS

I have a line feature set and point feature set. I want to get the nearest line feature from every point. For this, the line features are converted to point using "Extract Nodes" tool. Then ...
0
votes
0answers
15 views

OSRM Nearest health facility to a village

I work in a health research project in rural West Africa. I want to measure distance by road from a village to closest health facility. I use Stata 16. Per now I only have distance "as the crow ...
1
vote
1answer
68 views

Calculating distance to the closest feature from different layer using Fiel Calculator

I am looking for the distance of the closest point (Layer 1) to my atlas object (Layer 2). I want to use the expression builder. Example: I have a House, which is also the atlas_feature, on 'Layer A'. ...
2
votes
0answers
78 views

NNJoin in QGIS does not return any distance

I have two layers, one with ~100,000 points, and another with ~20 polygons. I'm trying to find: a. which polygon a point belongs to b. the distance from the point to that polygon I understand that ...
1
vote
1answer
28 views

Calculate Quickest Route Between All Features

I am looking for a way to create a line feature class that is the quickest path (as the bird flies) between all features in a feature class. I feel like there has to be an ArcGIS Tool that can do this,...
0
votes
0answers
17 views

Finding x% of closest features to point using Network Analysis of QGIS

I have address points (Z locations), route lines, and polygon shapefiles. I need to find the route lines needed to reach 40% of all Z locations per polygon area. I have created centroids for each ...
4
votes
1answer
156 views

Transferring attributes to neighbors in point layer using QGIS

My goal is to create a wind map for an area about 300 km² in QGIS. For this i have the data of only one weather station. The idea is to estimate the wind speed by the roughness lenght and the ...
1
vote
0answers
221 views

Faster st_is_within_distance for points to lines

I am looking for a fast way to run a st_is_within_distance (or equivalent) in R, to find all the lines (y) within a given distance of each point (x). (This would be an equivalent of ArcGIS's "...
3
votes
1answer
55 views

Getting closest point-feature of another point-feature

I have two point-shapefiles. For each point-feature in one of those two files I want to identify the closest point-feature from the other file and save the "ID" of this point as attribute. ...
2
votes
1answer
52 views

When to use spatial regression for the proximity analysis

I am not sure about whether I should use spatial regression for the proximity analysis I am trying to do. I’ll just describe the scenario and goal: People claim that convenience stores lower nearby ...
0
votes
0answers
29 views

Does Euclidean distance consider multiple points nearby?

I have a hypothetical setting I am trying to use to better understand Euclidean distance. So of course this example will only work for the purpose of understanding a concept, rather than actually ...
1
vote
0answers
26 views

Changing distance units in joined layer in QGIS 3.10

I am performing a Vector analysis using the 'Join attributes by nearest' tool. I am trying to evaluate the distance between a central highway and each vector point in a layer (which each represent ...
0
votes
2answers
76 views

Finding Overlapping/Close Points of Same Layer in ArcGIS Pro

I have a dataset of point features with photo attachments of street signs from volunteers through the Survey123 app. The app records their location which ultimately creates the point feature. Part of ...
1
vote
1answer
172 views

Using ArcPy to Generate Near Table in memory

I have a point SHP in WGS84 (EPSG 4326) and I am trying to tabulate the distances to the nearest point in meters. I need to do the analysis using ArcPy, but I want to get the results in a Pandas ...
1
vote
0answers
40 views

Generating nodes at joining points

I have road network (lines) and points (Address) . With the help of closestSegmentWithContext function, I join points to nearest lines in QGIS. Is there a way to to generate a nodes at every joining ...
1
vote
0answers
20 views

How can I identify points that share similar attribute with polygon features based on the attribute & distance between the two?

For Example; if both the point & polygon features have an ID field, I need to flag the points if they share the same ID as a neighboring polygon & are w/in 2000ft of each other. I have tried ...
1
vote
0answers
34 views

How to calculate a service area of a facility, while using multiple co-variables?

Problem we would like to solve is finding out what methods are to calculate the most efficient routes in a map with distance/travel time, pop density and facility capacity as co-variables! Perhaps ...
0
votes
0answers
32 views

How can I join attributes by nearest, filtering the results by an another attribute present in both tables?

I have the centroid layer of climate polygons and I want to find the closest weather station of the same type of climate. The two layers (the one of centroids and the one of weather stations) contain ...
2
votes
1answer
49 views

Process to calculate distance from points to line in QGIS [duplicate]

I am trying to calculate the distance between each point(as seen in the picture below) and its nearest line which is a road. I have tried to rasterize the data on all the roads and I end up with the ...
1
vote
0answers
25 views

Joining attributes between layers based on proximity of features [duplicate]

In QGIS 3.12 I have a Layer Y that has a specific attribute and my objective is to fill this attribute with information from Layer X regarding the proximity between the features of Layer X and Layer Y....
2
votes
0answers
57 views

Generating similar random points in QGIS

I have data (Lat, Lon) of 32 buildings, and their plot in QGIS is given below in red dots. Now based on the calculated mean distance (Nearest neighbor analysis) between these points, I want to ...
1
vote
1answer
203 views

Connecting lines with point in QGIS

I have two shapefiles Blue network yellow locations as shown in the below figure. I want to connect all yellow dots with the blue lines blue as shown in red color in the figure. Is there a way to ...
4
votes
2answers
247 views

Update points geometry while snapping them to nearest line

I have two tables in the PostGIS database - points and lines. And I want to update points geometry to snap them to line if they lay within a certain distance. By now I managed to create a new table ...
0
votes
0answers
24 views

topology: points closer each others + report

I have a point feature class structured like this: CompanyID | PersonalID | Lat | Long | 1 | 1 | ... | ... | 1 | 2 | ... | ... | 1 | 3 | ... | .....
1
vote
1answer
25 views

Extracting coordinates of nearest point

Is there a way in QGIS to extract the coordinates of the nearest point on a polygon from an input point layer? I am looking for the coordinates not the distance, as provided by NNJoin.

1
2 3 4 5
8