Questions tagged [spatial-join]

To join the attributes from one spatial data layer to another using their common location

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Cannot run any processing tools (e.g., join, buffer) in QGIS

I'm encountering a strange bug: I cannot execute any tools in QGIS (e.g., buffer, join--literally everything anything in the Vector or Raster menus. This seems to apply to all tools in all plug-ins, ...
4
votes
4answers
248 views

Count number of points by name within distinct polygons

In PostgreSQL/PostGIS I have 2 tables: A POLYGON table (polytable1) with shapes named 'Poly 1', 'Poly 2' etc... Each name can appear multiple times (i.e. 20 polygons with the name 'Poly 1') A POINT ...
1
vote
1answer
29 views

nngeo- nearest neighbor with distance dataframe

I'm working with some spatial data and I want to turn the output of the st_nn command (outputs a list) into a data frame that I can join. For example library(nngeo) library(tidyverse) cities <- ...
0
votes
1answer
46 views

Spatialite - update query for bounding polygon using WITHIN

I have 2 spatialite polygon layers which represent land parcels and municipalities. Each parcel is within or intersects 0, 1 or 2 municipalities. I am trying to update a field within the parcel layer ...
0
votes
1answer
19 views

ArcMap calculate distance (from and to) from a points shape to the lines shape table

I am trying to calculate the From and To fields in the line table. I have got a points shape and i have got a line shape. ( see for example the figure bellow.) The points( in red ) intersect with ...
2
votes
0answers
30 views

Spatial join many polygon layers and save ones with condition

I've got 8 polygon layers made from buffering point layers. All have index and geometry columns: I would like to select areas where at least 3 consecutive buffers intersect (like: buffer_03 & ...
7
votes
2answers
128 views

One-to-many spatial join with results in one row

I have two feature Datasets. Both are Polygons. Dataset A has very big Areas and Dataset B just small ones. Now, B still overlaps in 2 or 3 Zones from Dataset A. I want to perform a spatial join and ...
3
votes
0answers
69 views

Joining non-contiguous polygons in QGIS

I am trying to "physically" join non-contiguous polygons of the same layer to form one (when the polygons are spaced less than 5m), without distorting the original shape. This is a building layer, ...
0
votes
0answers
32 views

Joining two polygons that have information in same spatial location using ArcMap

I am using ArcMap 10.6.1. I have two shapefiles, one that has human disturbance and one that is fishnet grid and every grid has a unique value. I used the fishnet tool on my human disturbance ...
2
votes
1answer
35 views

Joining attributes from two different polygon layers

I'm trying to join the attributes from the polygon layers shown on the images. The result I'm looking for is one layer that contains the square and the attributes of both triangles: the triangles are ...
0
votes
1answer
28 views

Identifying zip codes that cover multiple townships

I have shapefiles with zip code tabulations in Massachusetts and township areas. Some zip codes fall completely within a single township, while some zip codes cross multiple town borders. I want to ...
-1
votes
1answer
46 views

Spatially join linestrings (which can overlap or not overlap) in R and provide output in a data format that I can add other variables

I am using R to exam road infrastructure. The sf dataset I am using is very granular e.g. for the same road two or three observations may exist that are differentiated by different coloured tarmac ...
1
vote
0answers
37 views

Unable to perform join raster-table ArcGIS 10.3

I am trying to replicate some results from a publication. There, one of the datasets they use is WISE30sec map (available for download here: https://www.isric.org/explore/wise-databases). My problem ...
1
vote
1answer
37 views

How to Spatially Join Polygon IDs to Points in R

I am trying to assign a region ID to each record within a point shapefile. Each point would be assigned the Region ID of the region it falls within. The point feature is called "deciles" and the ...
0
votes
1answer
22 views

Spatial join (points in polygon) but also including the “observation count” of each point in the join_count field

I have point layers of bird observations, and I want to symbolize certain areas by the number of bird observations in each polygon. Each point in the point layer has a "observation count" field ...
0
votes
0answers
22 views

Building a grid panel in Google Earth Engine: organizing properties collected from a join by day

Code for my work is here I'm trying to build a panel-style feature collection where for each day we have a count of the number of events for each grid. I can use a join like this: leftField: '.geo',...
1
vote
1answer
35 views

A simple way to merge lines separated by a space in QGIS

In QGIS after creating contour lines by extracting them from a DEM (Extraction > Contour) and smoothing them (Line Smoothing) I noticed this situation: In order to smooth out the corners ...
1
vote
2answers
40 views

Spatial Join unique values for closest target feature

I have a polygon shapefile of land plots with their corresponding cadaster number and a point shapefile with a water meters for each lot. What I'm trying to do is to join the cadaster number from the ...
1
vote
1answer
29 views

Using multiple layers as point features in spatial join using ArcMap

I have 15 point feature layers and one polygon layer. I need to count the total number of points in the polygon using a spatial join, to then classify the different polygons based on the join count. ...
1
vote
1answer
71 views

Join a grid to points that are close but aren't overlapping

I have a point grid that overlaps points on a map. I want to join this grid to the points in order to keep only the parts of the grid that contain a point. However, there are some points that lie ...
2
votes
1answer
89 views

Joining points and polygons by date in Google Earth Engine

I am using an aerosol index, which I reduced to a daily mean for 2019: var airq_19 = ee.ImageCollection('COPERNICUS/S5P/NRTI/L3_AER_AI') .select('absorbing_aerosol_index') .filterDate('2019-01-01'...
2
votes
1answer
59 views

Creating new point features from count number of existing features using ArcMap

I have point features with coordinates, but some of those points have multiple observations at the same coordinate. I put those as a count column in the attribute table. But now I need to do a spatial ...
2
votes
3answers
46 views

Populate an empty raster with values from intersecting vector layers

I'm looking to populate a large, empty Unsigned 8-bit raster with integer values 1 to 10. The value depends on the spatial relationship between a given raster cell and a variety of vector layers (...
0
votes
0answers
43 views

Polygon to polygon spatial join without double counting join features using ArcGIS Desktop

I am a new GIS user trying to aggregate local ward-level voting data up to a broader county-level using a Spatial Join. Generally a given ward is within only one county, so a JOIN_ONE_TO_ONE for the ...
0
votes
1answer
31 views

Finding point from Layer B that matches point from Layer A using search radius

I have two point shapefiles of trees from two different surveys. I want to verify if data from Survey A matches data from Survey B. I want to create a search radius of 10m around each tree from ...
0
votes
0answers
15 views

Adding results of Spatial Join to ArcGIS Online feature

As an example, I have 2 feature classes: Houses (points), which is uploaded online on AGOL Streets (lines), local layer I want to give every house a street name. Here is what I do: Do a spatial ...
0
votes
0answers
37 views

Spatial join with polygon and multipolygon mixed feature class

I have a feature class which contains 300,000 polygon and multipolygon features in the same fc. The goal is to get a result layer of spatial join (must to be one to many join) between this feature ...
1
vote
0answers
48 views

Sliver polygons, vertex, gaps

I'm correcting a Land Use polygon, interpreting a drone image using QGIS. When I use the cut tool and merge tool to edit, the polygon leave a smalls polygons like a line, or sometimes leave a vertex ...
0
votes
0answers
20 views

How to add up election zone voting upto county level?

Sorry if it is a trivial question. I am trying to add voting data from election zone up to county-level using spatial join tool, but I cannot figure out which relationship I should use. When I use ...
1
vote
1answer
2k views

TypeError: cannot unpack non-iterable NoneType object on Spatial Join

I'm working with two spatial dataframes and am trying to do a spatial join on the two. parcels_sdf -- a frame with around ~370,000 real estate parcels. subdivisions_sdf -- a frame with all ...
1
vote
1answer
37 views

Spatial join based on by location and by attribute

I have tried to solve my problem using previous similar issues but I didn't find anything. I want to get direction for a shp (shapefile) with routes (polylines) and then to join this information in ...
1
vote
1answer
42 views

Choosing one certain point (out of many) for nearby polygon based on coordinates and other similar attributes

I am working on a project in which I have to find a certain lightning strike that caused an area to burn. For now, I have 1300 fire areas with approx. 27,000 lightning strikes in my QGIS project map. ...
2
votes
1answer
58 views

Copying fields from one attribute table to another in QGIS

I have two layers. One is point, the other one a line. They both share same x and y coordinate. How do I transfer one field from the point layer to another field in the line layer based on the same ...
1
vote
1answer
248 views

Line and polygon intersection in GeoPandas/Python

I am trying to intersect two GeoPandas data frames, the first one is the street data (streets) and the second one is a buffer (polygon) around a point (buffer). I want to find the intersection of ...
0
votes
0answers
14 views

Proportionally distributing attributes from one layer to another

I have some experience with ArcMap but only on a relatively superficial level. Right now, I'm trying to perform an action and I'm not sure to get it done. I've tried Googling and documentation but I'm ...
4
votes
3answers
105 views

Concatenate string field in spatial join in QGIS

I'm doing a spatial join between a point layer and a polygon layer. The point layer has a field called "type" which has string values. When I join this to the polygon layer, I would like to get a ...
1
vote
1answer
53 views

Calculating percentage of area by district of land use type

I have a file geodatabase feature class, type polygon, of land use type. SEQ LU Update X project clip in the attached. I have a districts shapefile (shapefile feature class polygon). All_Brisbane in ...
1
vote
1answer
59 views

QGIS and ArcGIS Pro give different results on spatial join

I have two point layers that one has 2885 and the other has same 2885 plus 1748 more features. The second one is a result of "v.net.centrality" analysis and now I want to join the result spatially ...
0
votes
1answer
66 views

ValueError geopandas.sjoin: why does it not read my GeoDataFrame?

I'm working on a spatial join between a polygon from a shapefile and points from a CSV file, using geopandas.sjoin. I want to assign each point with a name of the province it is located in. I do know ...
1
vote
0answers
50 views

Creating table of point in polygon results using PostGIS

I have one PostGIS table of polygons like this: index | lat | lon | geom where geom is a polygon d-type ex. POLYGON ((x1,y1,x2,y2.....)) CREATE TABLE buildings2 ( index integer PRIMARY KEY, ...
0
votes
1answer
57 views

Error message when joining two dataframes with sf -Error: y should be a data.frame; for spatial joins, use st_join

In R, I'm trying to count the number of points which fall within a buffer around polygons and add the count result to the original shapefile from which the polygon file was created. I've followed the ...
3
votes
1answer
52 views

Merging and adding values based on ID column?

I have two shapefiles: a grid containing just the grid "ID" column a shapefile containing multiple entries from different road segments The second shapefile represents emissions with a common grid "...
2
votes
1answer
42 views

Match by location and attribute in QGIS?

I have 2 different layers. One layer is the field layer which contains field agronomic data, name, variety, etc. The other layer is a layer with about 2000 polygons. Each polygon is tied to a ...
2
votes
0answers
43 views

Spatial join for adjacent polygons with same attributes

I am working with QGIS 3.4.5. I have a map of soil types (~ 100.000 polygons) and I'm trying to find the best way to make a spatial join with ~5000 point features with several numerical ...
2
votes
0answers
41 views

Plotting point data from one dataset on polygon

I have a point dataset with information on: date, number of beneficiaries, and type of assistance. I want to plot/map this info on a country polygon. I tried joining attributes by location, but that ...
3
votes
0answers
43 views

QGIS Join attribute by most similar lines

Using QGIS 3's (new?) Join attributes by nearest feature on two multiline layers, I get unexpected results... Namely, if a line crosses another, that is favored over one that is almost exactly the ...
0
votes
0answers
19 views

Join fields QGIS processing framework [duplicate]

Using QGIS 3.4.12-Madeira I'm building a model using the algorithm 'Join attributes by location'. In my operation i want to join several fields from a layer, but not all. I tried to set one field ...
1
vote
0answers
30 views

Keep properties after spatial join

I have two Feature collections: One that includes the location of dams and one that provides the basin area of a river within a country. I want to use gee to obtain a list of dams constructed in a ...
2
votes
1answer
49 views

Table join or virtual layer to match multiple points to geometry

I have: a non-spatial table of multiple test results with reference to non-unique locations, and a spatial layer that has all the locations (multiple results per location) I can do table joins ...
0
votes
0answers
41 views

Iterating spatial join with multiple merge rules (and then creating raster) in ModelBuilder?

I'm using a Basic licence in ArcGIS Desktop 10.3 with Spatial & 3D Analyst extensions. I have a dbf file which contains point data for several days. I want my final output to be a) a point ...

1
2 3 4 5
13