Questions tagged [spatial-join]
To join the attributes from one spatial data layer to another using their common location
1,006 questions
0 votes
0 answers
34 views
"Joining" weirdly aligned polygon and line features in ArcGIS Pro
I have a polygon layer and a line layer, and I need the polygon layer to permanently retain an attribute from the line layer. Polygons should be matched with the line feature that has the most ...
1 vote
2 answers
69 views
Batch replacing of attributes by superposing vector in QGIS
I have a polygon layer of several cartographic frames which its attribute table is empty (even ID field is empty!) so I need to fetch attributes from a superposing point layer, each feature of which ...
4 votes
1 answer
98 views
Error: Algorithm "native:joinattributesbynearest" not found in PyQGIS Script
I wrote the following script to run in QGIS 3.34, but it fails to find the algorithm while I can use it from the processing toolbox without any problem import os from qgis.core import ( ...
1 vote
1 answer
49 views
Getting the corresponding Link ID field in one layer with respect to another layer without having any common fields but have the coordinates in QGIS
I have two shapefiles in which I need to find the corresponding link Id from one layer and link it to the other layer. There are no common fields but both layers have a start and end node which has ...
4 votes
1 answer
109 views
QGIS : Geospatial join of two line features
I am currently facing an issue with joining information from one vector layer (line features) to another vector layer (line features). Both vectors display roads. the first vector contains ...
5 votes
2 answers
291 views
Correcting coordinates of point objects in QGIS
In QGIS version 3.40.5-Bratislava, I have two datasets of point features loaded in QGIS from different providers, each in a separate layer, each containing roughly 10'000 data points. They contain the ...
3 votes
2 answers
201 views
Transfering field values to adjascent feature lines in QGIS
How do I transfer the field values to the marked features like those shown in the image automatically? The lines are segmented once they pass through the light coloured underlying layer. The faulted ...
2 votes
0 answers
57 views
How to specify spatial join relationship "within or partially within"
Using ArcGIS Pro 3.4, I'm trying to use Spatial Join to identify which counties are "within or partially within" a congressional district, but exclude those that merely touch a boundary. For ...
8 votes
1 answer
129 views
Associating original points with Voronoi output in PostGIS
Using PostGIS, what would best associate the source points fed into a ST_VoronoiPolygons call with the returned GEOMETRYCOLLECTION polygons? I assume using something like ST_Within would work; I'm ...
1 vote
1 answer
97 views
Knowing what points (id code of points) are inside buffer in QGIS
If I made a buffer around points and I am uniting those buffers that are in contact with each other. Now I want to make an attribute column in those united buffers that tells me what points are inside ...
5 votes
2 answers
239 views
Improving performance and index use on PostGIS query with ST_Intersects and ST_Within
I'm trying to improve the query below. My goal is to select all lines from time_lines that are intersecting the boundary of time_subdivided_polygon and are within polygons of berlin_2024_ale. The ...
1 vote
1 answer
62 views
Create stacked polygons for land parcel
I have a owner shapefile where the PID is repeated whenever there is more than one owner on the same parcel (e.g. condos). I am joining this to a land spatial shapefile where the PID is unique for ...
1 vote
0 answers
40 views
When Digitizing a vector layer, how can I add multiple values for the same field and same point
I'm digitizing a vector layer for a transit system where some stations connect two or more different lines. What would be the best way to make sure that the same station is part of both lines? Is ...
4 votes
2 answers
171 views
Applying overlay_nearest function on LineString by start and end points in QGIS
In QGIS 3.40, I have two layers, a layer of points orientated in a line one meter apart, each with a unique value in a field. And a linestring layer running parallel to but not intersecting the first. ...
1 vote
1 answer
53 views
How to transfer attributes between two point layers based on proximity in QGIS? [duplicate]
I am working with two point layers in QGIS: Red point layer: These points come from a CAD DXF export and contain mast numbers in the attribute field TxtString. They represent labels, not actual mast ...