To join the attributes from one spatial data layer to another

learn more… | top users | synonyms

2
votes
1answer
125 views

arcpy: join feature class (one to one) and get feature id of each joined object

I am currently spatial joining two feature classes like this arcpy.SpatialJoin_analysis(target_features,join_features,output_features, join_operation="JOIN_ONE_TO_ONE", ...
2
votes
2answers
367 views

Spatial Join of 2 line layers offset by minuscule amount

Let's say I have 2 line layers (green & red, in the image below) and I need to transfer attributes from one layer (red) to another (green) by doing a Spatial Join. The layers are identical, but ...
2
votes
4answers
1k views

Produce a list of polygons that a line crosses

I have a polyline feature class and a polygon feature class. What I want to do is add a field to the lines that lists all polygons that touch the line. This is effectively performing a ...
2
votes
1answer
85 views

QGIS:joinattributesbylocation gives empty shapefiles and QGIS:joinbylocation does not give summary of all fields

I am trying to make a spatial join to calculate the mean value of many variables (100+ columns) of census tracts by city. In order to do that, I would, in QGIS Desktop, run a spatial join (join ...
2
votes
1answer
39 views

Categorize feature with spatial join

I am working with Arcgis 10.3 and currently this problem keeps me awake at night. I import a csv file into ARCGIS with XY-coordinates and the Age of a person. I create a feature class which i later ...
2
votes
1answer
32 views

Alphabetical Sort within a Record

I am performing a union on a polygon feature class with multiple overlapping polygons. Each of the records in the resulting feature class can be thought of as "unique area" polygons made up of the ...
2
votes
1answer
82 views

Join only if one line line intersects buffer. Do not if two

I've got a road network (line features) and a trip of GPS-Points. I want to join attributes from the road network to every point. So for each point i create a buffer. If the buffer intersects with a ...
2
votes
2answers
322 views

spatial join based on field

it's my first time that I'm posting here and I hope, that somebody can help me. I already tried to find the solution for my problem in any of the previous answers for similar problems, but none of it ...
2
votes
1answer
385 views

Is there a limit to the amount of data in a spatial join in QGIS?

I am using Quantum GIS and trying to spatially join a point grid with polygons that are overlapping. If I get the sum of intersecting features, then I can get a good raster value. Well, every time I ...
2
votes
1answer
704 views

Spatial Join Python Command to summarize attributes

I am trying to run the Spatial Join function through the python shell in ArcGIS 10. When you do the point-and-click method of spatial join, you are given a tool window with an option that asks "How ...
2
votes
2answers
744 views

Scripting spatial join in arcpy - how to set field attribute in field mapping object?

I'm scripting a spatial join in ArcGIS with Python. I only want the resultant feature class to have a single field containing one attribute from the join features. In general, many join features ...
2
votes
1answer
308 views

How can QGIS Field Calculator sum values from a spatially joined table?

Can the Field Calculater be used to sum values from a related table via a Spatial Join? I have two vector polygon layers A and B, each with a numerical column VALUES. I want to update VALUES in ...
2
votes
1answer
125 views

Spatial and Non Spatial join

I have a shapefile with a number of weed control blocks as polygons. They each have a unique block id number. I am trying to join a non spatial csv file which has multiple entries for each block over ...
2
votes
1answer
71 views

fit point with raster data figure out those points belong to, and add column and row to represent it in ArcGIS 10.2.2

I have an X-Y point data file, with which has latitude and longitude. I'd like to be fit it with the raster data, then add column and row data on the X-Y point data file. first i created the attribute ...
2
votes
1answer
713 views

ArcMap many-to-many join

I'm working in ArcMap 10 and can move around in R, though am not an expert. I have a shp file and an xlsx file. The shp file is 20,221 rows and includes a field GID (grid ID) which is not unique ...
2
votes
2answers
387 views

Extremely slow processing time to map lat/lon data onto census shapefile with ArcPy?

I am a newcomer to ArcGIS and Python so I would greatly appreciate any and all input on this issue. What I am trying to do is very simple: map 400K business locations using lat/lon coordinates onto a ...
2
votes
1answer
333 views

Is there a work-around for a completely_within spatial join in ArcGIS? This is bugged (confirmation by Esri Inc)

I tried to perform a 1-to-many spatial join between polygons (target feature) and lines (join features) to join the lines that are completely covered by a polygon to that polygon. (the polygon is ...
2
votes
2answers
335 views

ArcMap's Join and symbology

I'm still new into the GIS World, and here's what i'm trying to achieve , i have Yemen administrative shapfile with list of governments, and districts,i also have an excel file with a list of migrants ...
2
votes
1answer
172 views

Why is “Join Attributes by Location” reporting different CRS (and running forever)

I have a point feature layer with ~240,000 parcel centroids. I have a second feature layer containing ~9000 subdivision polygons. I want to assign the name of the associated subdivision as a new field ...
2
votes
0answers
23 views

Intersect, Spatial Join?: One Line crossing Multiple Polygons, assigned wrong attribute

I am looking for any possible solutions to a problem I am encountering with ArcGIS. I am using census block groups (CBG) to assign streets an income level value based on their location within the ...
2
votes
0answers
43 views

split points evenly to neighboring polygons?

I have a crime location data set, containing geocoded crime location points that have been geocoded to streets and street interactions. I also have a census tract shpfile. What I would like to do is ...
2
votes
0answers
132 views

QGIS spatial join - join all features, not just one

I'm trying to do a spatial join of a feature on a polygon layer (p1) that intersects with two features of another polygon layer (p2)) via QGIS. What I want: get the attributes of both features of p2 ...
2
votes
1answer
15 views

Joined Attributes not recognized in mean coordinates

I am trying to find mean coordinates of a shapefile to which I have joined a csv file for population attributes, but these will not show. I'm working with county data of each US state based on the ...
2
votes
2answers
102 views

How to link polygon features in one layer to polygon features in another, using largest overlap in QGIS or GRASS [duplicate]

I have two polygon layers: the first one contains small land lots (green in the image), the second one contains large zones (the purple line in the image attached separates 2 such zones). I want to ...
2
votes
0answers
232 views

CRS problem: not recognizing the CRS of shapefiles to be the same for all [closed]

I'm attempting to aggregate (average) the attributes a point layer to polygon attributes (i.e. block groups and counties) via a spatial join. Both the points and polygons are in the same projection - ...
2
votes
2answers
229 views

How do I select Census Block Groups inside a Zip code?

Long time listener, first time caller. I already have my data imported, problem is my SELECT statements aren't yielding the results I'm looking for. I specifically need all the Block Group ...
2
votes
0answers
170 views

Near/Spatial Join picking wrong polyline segment as closest? [closed]

I have a set of points near a street centerline. I need to find the perpendicular point on the street centerline, and use their x y instead of the GPS information of the original points. I tried Near ...
2
votes
1answer
3k views

Raster Version of Spatial Join (one to many) [duplicate]

I have two raster layers that are identical in shape (they overlap exactly) and I need to perform the raster equivalent of a Spatial Join (one to many). My files need to stay in raster format ...
2
votes
0answers
195 views

Trouble with polygon to polygon “Join attributes by location”

I have two polygon vector layers - one of census tracts and one of water bodies. I would like to join a particular attribute from the water bodies table to each census tract, with the output being the ...
2
votes
0answers
196 views

Automatic attribution of one layer from another based on spatial relationship?

I have two layers with a 1:many relationship. Working within ArcMap, I'd like to have that relationship somehow formalized so that when I add a new feature to the child layer, it automatically gets ...
2
votes
1answer
264 views

How to join attributes of donut polygon to hole polygon in ArcGIS?

First of all I'm completely new to the realm of GIS and ArcGIS. Basically I need a reliable way to determine a donut hole's containing donut for a few hundred thousand polygons (where the donut holes ...
2
votes
0answers
623 views

Intersect two layers and get resulting features

I have X layers on a map and I need to intersect chosen layers (two per time) and color resulting features. I'm trying to get this code working // get first feature (index 0) ...
2
votes
1answer
163 views

Update Attribute based on spatial location

I want to spatially (Spatial Join) update few fields, not all, from another feature class. Is there any way to select and update few fields instead of all the fields from the other layer and ...
1
vote
1answer
112 views

Count number of points within multipolygon shapefile using OGR

I have two shapefiles: 1) consists of points (hundreds of entries) and 2) multi polygons (tens of thousands of entries). I simply need to count the total number of points contained within the ...
1
vote
3answers
104 views

Is there a way to snap 2 lines together from 2 shapefiles?

I am currently having 2 shapefiles of a roadnetwork. One of them has the best network (lines intersecting correctly etc.) and the other has some attribute info I want. I have no similar attributes to ...
1
vote
1answer
90 views

Is there a way to save a spatial join as .sqlite?

I'm joining data from PostGIS and SpatiaLite databases in QGIS using the "Join attributes by location" (Vector -> Data management Tools) tool. However, this has a big limitation - I can only save the ...
1
vote
4answers
94 views

Labels based on spatial location

Here is what I would like to do. I have a polygon feature class called Subdivisions and a point feature class called Inspection. If I label all the Subdivisions my map becomes too congested. I only ...
1
vote
2answers
128 views

Spatial Join - One Join Feature to Multiple Target Features

I want to join a set of target features (polygons) to a set of join features (points). The polygons can, and do, overlap. I want the join features to be counted (joined) to as many target features ...
1
vote
1answer
273 views

Spatially Joining Many Shapefiles. Use Spatial Join or UpdateCursor?

I have a large number of tree records in 100s of point shapefiles. Each shapefile contains a number of trees that fall within 10-50 parcels. The parcel layer contains ~60,000 shapes. For each point ...
1
vote
1answer
198 views

ArcMap populate field with value from another dataset

I have two Polygon datasets, one contains Buildings and the other PostCodes (ZipCodes). I'd like the PostCode field in the Buildings dataset to be populated with the value of the PostCode field from ...
1
vote
1answer
41 views

Join new data to selected features in a table using Arcgis

I have a point feature class, A, and I have joined data from another point feature class, B, to its attribute table based on spatial location. I selected the second option in the Join Data window ...
1
vote
1answer
260 views

How to do a one-to-many Spatial Join/Query in QGIS

Does anyone know if it's possible to do a 'one to many' spatial join based on distance in QGIS? The "Join Attributes By Location" under ->Vector->Data Management Tools is very limited... Just to be ...
1
vote
1answer
55 views

Querying Raster Dataset by Location to Study Area

I have downloaded a very handy raster dataset generated by the Nature Conservancy for identifying terrestrial habitat cover types in the north east. Link to the project info and a link containing a ...
1
vote
1answer
367 views

Spatial join point data to polygon shapefile and count a variable

I would like to perform a spatial join from point data to a polygon shapefile. In the point data attribute table there is a column called {quality} and I would like to count each category from the ...
1
vote
1answer
73 views

Cross information in ArcGIS for Desktop?

I'm a total amateur at ArcGIS for Desktop, this is the first time I use it for real. The thing is I have several shapefiles with information about: Schools in my city (elementary, middle and high ...
1
vote
2answers
103 views

Spatial join with snapping

is there a tool in QGIS which is able to perform a spatial join with the possibility of define a snapping radius? For better understanding: I have 2 point shapes with attributes I need to join by ...
1
vote
1answer
612 views

Adding attributes to line feature according to adjacent polygon

I'm trying to add attributes to a field in a polylines attribute table according to directly adjacent polygons.... In the pic, the purple line has an empty field labelled 'FG' and I'd like to fill ...
1
vote
1answer
601 views

Counting unique occurrences during Spatial Join?

I have a point shapefile (points.shp) with fields [owner], [name], etc.. [owner] and [name] are both of type string. The owner contains a single string, the unique owner. Name contains a list of ...
1
vote
1answer
357 views

ArcGIS spatial join - WITHIN A DISTANCE including distance

I am applying a spatial join in ArcGIS between points (target features) and lines (join features). I want to have a 1-to-many join, so I use the match option 'within a distance'. So far so good. The ...
1
vote
1answer
2k views

How to spatially join polygon fields onto a point layer in QGIS?

I have gridded depth points in CSV format that I'm trying to add other map data to, in additional columns. I've tried joining fields, hoping that I could link the Shapefile data to the csv, but when I ...