To join the attributes from one spatial data layer to another

learn more… | top users | synonyms

10
votes
2answers
451 views

How to perform repetitive tasks in QGIS?

I am trying to do a treatment on many feature files, so I would like to automate it. In fact, I have one shapefile with the spatial distribution of some species, and one with vegetation type. I ...
6
votes
2answers
219 views

Join multiple spatial tables by distance

I'm trying to join two tables, one which contains road names and the other just a point. After exhausting research I'm now stuck. The idea is to join up the two tables using only distance, ie, select ...
5
votes
1answer
417 views

How can you join attributes from polygons to points which are within the polygon feature using PostgreSQL and PostGIS? [duplicate]

Possible Duplicate: How to perform a spatial join of point and polygon layers in PostGIS? I don't know how to solve my actual problem. I have polygons and points (some points are located ...
5
votes
1answer
501 views

Is there a python option to “join attributes by location”?

I am trying to perform the function join attributes by location as found on the QGIS menu Vector>Data Management Tools. I am seeking an open source python option for this. I know arcpy has a spatial ...
5
votes
1answer
890 views

Split polylines at polygon boundaries in QGIS

I have a set of contour lines and a polygon set containing glaciers. Because I want the glaciers to have blue contours, I need to split the contour lines at the glacier boundaries. I can achieve this ...
5
votes
2answers
69 views

How to select random adjacent census tract

I have set of census tracts spaced out across a city and I would like to randomly choose an adjacent census tract to explore nearby demographic data. I'm not sure if there is an easy process for ...
4
votes
1answer
566 views

ArcMap 10.1 SP Spatial Join Problem (lines within polygon)

I have a line layer (faults) and a polygon layer (fishnet grid). The fishnet has a risk of earthquake attributed to each polygon. I want to take that risk value and give it to the fault lines which ...
4
votes
2answers
666 views

How to select the nearest lines to a point layer?

I am a beginner with GIS software and I'm working on QGIS. I have a problem joining the spatial layers. I have a layer with objects in one city and another layer with the streets. I need to attach ...
4
votes
1answer
465 views

Spatial join to kernel density / kernel density with polygon/point output in Arc

I'm looking for a way to join polygons to a density function for some other feature of interest. Current workflow make density raster from feature set of interest, using point/line/kernel density ...
3
votes
3answers
651 views

Performing join on simultaneous spatial and attribute criteria in ArcGIS for Desktop?

I have two point layers and want to perform a spatial join on nearest distance. Normally it is easy with ArcMap. But now I have a restricting condition on the spatial join. The restriction only ...
3
votes
3answers
93 views

Spatial join without operation on the variable of interest

I have a simple problem: I've got to spatially join records of an epidemic in forests to some plot coordinates I have gathered. Problem is, I cannot obtain the records for each year on each plot, I ...
3
votes
1answer
208 views

how to create a network from gps tracks?

I'm trying to build a network from several GPS-trakcs, to digitalize hiking routes on my land. I have several GPX-files from routes I've tracked with the gps. I managed to display them in Arcmap ...
3
votes
1answer
2k views

Spatial Join problems in ArcGIS 10.1 - intersect polygon and lines

I have hurricane tracks (Lines) and Florida county boundary (polygon) and I want to extract only those hurricane tracks that intersect Florida. In ArcMap 10.0 I used Spatial Join (from ...
3
votes
1answer
32 views

How many A features that fall both in the B polygons and C polygons are for each C polygon?

I have this apparently complex problem for solving in ArcGIS: Practically, I need to get the number of all yellow polygons that fall within both the green polygons and the red polygons. I need this ...
3
votes
1answer
821 views

ArcMap 10.1 Spatial Join: 'Contains' and 'Within' question

I have two polygon datasets: electoral districts and postal code areas. I'm performing a spatial join to see which postal code areas are completely within a district (the area can touch the borders, ...
3
votes
1answer
634 views

Join attributes by location

I am trying to join multiple records that occupy the same location (polygon centroid) and have tried using the join by location plug-in but have found this does not work for me in this case as I have ...
2
votes
2answers
212 views

Spatial join versus classical join

What are the main differences between a spatial join and a classical database join such as an equi (inner) join?
2
votes
2answers
159 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
1answer
183 views

Why might Spatial Join appear to produce incorrect values?

I'm trying to do a spatial join of a point file (created from a raster) to a polygon (target), where I am joining the GRID_CODE value from the point to the polygon. I've tried a variety of ...
2
votes
1answer
63 views

Join line to multiple points

I took some ASCII files and created points with attributes. I am trying to join the line features to these but a simple join function will only take the one that is closest. Is there a way to perhaps ...
2
votes
1answer
53 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
1answer
135 views

Collapsing the multi-row output of a one-to-many spatial join to single-row (arcmap 10.1)

I'm working with TIGER data, looking at the relationships among incorporated places and counties. Not all places are completely contained by counties; some do span multiple counties. In the final ...
2
votes
1answer
50 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
66 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
101 views

How to implement 1:n joins with string attribute concatenation?

I have a question concerning pyQGIS. I'm a QGIS long-time (self-learned) user, but just a pyQGIS newbie. I want to implement 1:n spatial join with attribute concatenation in the table. I have a vector ...
2
votes
3answers
352 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
386 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
1answer
35 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
26 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
2answers
64 views

QGIS calculates main soil type of polygons from another polygon layer

I've been working with qgis for a while but somehow I never fiured this out, so I thought it's time to ask. I have 2 shapefiles. a polygon layer from nearby fields (SHAPE1 (the red outlines)) a ...
2
votes
2answers
129 views

Join CSV file to shapefile

I wanted to join a CSV file to a shapefile. When I identified a field to facilitate the join, e.g., map <- spChFIDs(map, as.character(map$ID)) it returned Error in spChFIDs(SP, x) : ...
2
votes
1answer
135 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
145 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
54 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
0answers
69 views

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

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
87 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
1answer
77 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
109 views

(Solved) Near/Spatial Join pick the 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
1k 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
144 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
148 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
225 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
556 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
94 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
3answers
582 views

More Efficient Spatial join in Python without QGIS, ArcGIS, PostGIS, etc

I'm attempting to do a spatial join much like the example here: Is there a python option to "join attributes by location"?. However, that approach seems really inefficient / slow. Even ...
1
vote
3answers
58 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
96 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
101 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
291 views

What's the difference between Spatial Join Tool and Spatial Join Function in ArcGIS?

I am curious to know if anyone can shed some light on the difference between ArcGIS' Spatial Join geoprocessing tool (found in Analysis -> Overlay toolbox) and the Spatial Join 'wizard' (found by ...
1
vote
1answer
50 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 ...