To join the attributes from one spatial data layer to another

learn more… | top users | synonyms

2
votes
2answers
69 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) : ...
4
votes
1answer
44 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 ...
1
vote
1answer
44 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 ...
2
votes
2answers
43 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 ...
1
vote
0answers
54 views

Copy parts from several attribute tables in shapefiles?

I have several shapefiles from which I wish to take parts from their attributes tables to make a new attributes table. Is this possible without destroying the original attributes table? I have ...
1
vote
1answer
43 views

Joining a table with thousands of transactions to one point (location) in Arc Map

I have a large transaction data set in the millions and around a 100 positional points. I need to join the transaction data set to these points. Arc map won't let me join them without errors or if it ...
0
votes
1answer
44 views

Join Attributes by Location: .mdb and shapefile in QGIS

I can join attributes by location in QGIS using 2 shapefiles. However, I do not know how to do the join when one of my files is in a .mdb format while the other is a shapefile.
1
vote
1answer
74 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 ...
0
votes
1answer
48 views

Merging attributes from parcels within a census tract

I am working with land parcel data and Arcmap 10.1. Each land parcel has a code (1,2,3,4) depending on the type of water supply source that it uses. I am trying to take a tally of each code within ...
1
vote
0answers
39 views

pyQGIS (Spatial Join): Sum features of attribute from point layer and join with vector layer

I am new to Python and QGIS. I have avoided asking questions up to now. But by now I have developed a reasonable idea of where i want to go so and where I am stuck. So, I have decided to ask but sorry ...
1
vote
1answer
97 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 ...
2
votes
1answer
29 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", ...
0
votes
1answer
62 views

Find polygons that contain a specific number of points

I want to make a polygon selection based on a specific number of points. For example, I want to select those polygons that contain more than 30 points. I don't want to select every polygon that ...
1
vote
3answers
199 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 ...
0
votes
0answers
42 views

Needing a python script to spatially join points to line segments with merge rules and a frequency count

I have a data that contains 4 years of fatal crash point incidents. Within the data set there is a field for the "Death Count" and "DWI Related," where death count is the number of deaths resulting ...
0
votes
1answer
53 views

How to add point attributes to containing polygon?

I have three layers in a QGIS project: layer 1 is a boundary layer of polygons each with and id I will call "p_id" layer 2 is a point layer each with an id called "p_id" layer 3 is a .csv layer ...
0
votes
0answers
39 views

Truncate operation not working in ModelBuilder?

I'm having trouble with a model that is supposed to truncate data from the attribute table of a feature class (which is in a file geodatabase not ArcSDE) and then append it with new data. The ...
2
votes
1answer
75 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 ...
0
votes
1answer
42 views

Summing the number of intersections with a separate buffer layer

I have dabbled with ArcGIS and QGIS a bit, and I consider myself a self-taught beginner with a whole lot to learn. So, I have two layers: 1) census blocks, and 2) point data. My goal is to calculate ...
0
votes
0answers
34 views

Consult the charts of a line

I have a table of bus lines and other bus stops in PostGIS. Are conformed to the image below, the lines and the stops on the sides. I want to relate the lines with parades through a spatial query. ...
2
votes
1answer
96 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 ...
0
votes
0answers
62 views

How to create a many to one spatial join?

I have a polygon feature class of territories and a point feature class of trees. The points have many attributes, one of them is the tree species name. I need to get the list of all the tree species ...
0
votes
0answers
21 views

Joining by location - DIVA-GIS .dbf layer not included

I want to get place names from a .dbf file displayed on my map. I've imported the .dbf file as a vector layer. The gazetteer table does not have any ID fields so I was trying to use the "Join by ...
1
vote
1answer
69 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 ...
0
votes
1answer
90 views

Qgis Spatial Join: problem with a column!

I run the function "Join attributes by location" in Qgis 2.2 between a point vector layer and a polygon vector layer. When I open the resulting table of contents of point layer there is a column of ...
1
vote
1answer
58 views

How to do spatial join which is also based on time using ArcGIS for Desktop?

I have a time series plot of house sales for 4 years, but in those 4 years some districts change. I was wondering if I need to split the data into 4 layers for each year in order to join them to their ...
1
vote
1answer
49 views

How to maintain Shape_Length field afer Spatial Join of Point to Polyline feature classes?

I need to get for each point the length of the line that joining to the point. How to maintain the "Shape_Length" field of polylines when I'm Spatially Joining point to lines feature classes ? When ...
0
votes
1answer
199 views

Spatially join polygons (target) to polylines (join) on longest intersecting polyline

I am curious if I can, without having to write a python or an ArcObjects script, create a spatial join that will result in a polygon feature class containing the attributes of the LONGEST intersecting ...
3
votes
1answer
135 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 ...
0
votes
1answer
35 views

QGis polygon to points different CRS problems

I'm trying to join the values from polygons onto a grid of points. I had this problem solved here by @Underdark , however a few layers weren't working. It seemed they were all British National Grid ...
0
votes
2answers
99 views

duplicate polygons once for each point inside

I have a set of feature classes: points representing addresses, and polygons representing buildings. Sometimes there are more than one addresses per building. I use Maplex to generate and place ...
0
votes
0answers
29 views

QGIS Spatial join many points to single vector [duplicate]

I've got two shape files, one contains many point coordinates and the other vector shapes. There are many point coordinates contained within each vector shape. I would like to perform a spatial join ...
2
votes
2answers
100 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 ...
1
vote
1answer
175 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 ...
1
vote
2answers
89 views

Create line between polygon and nearest raster cell

I need to create a line between polygons (centroid) and the nearest cell of a raster dataset. The polygon and raster do not intersect. Each polygon has a UID. One cell can be linked to many polygons, ...
1
vote
0answers
54 views

Trouble intersecting a polyline and contours (Hack index / stream length gradient index)

Working on creating polylines for measurement using SL index (hack index). So far I have the main trunk of a stream, and contours at 10m. What I am trying to do is a) get the elevation at each ...
2
votes
1answer
65 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 ...
0
votes
1answer
46 views

Using attributes of a polygon in one layer to identify polygons in another

So I'm in the process of developing a web application, I am using open source tools so qgis, postgis, play framework for the web app. And I have come across an interesting problem that I'm trying to ...
4
votes
1answer
335 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 ...
0
votes
2answers
84 views

Python Error in QGIS Ubuntu 13.10 while trying to join .csv tables

Using the mqgis plugging in QGIS I cant join my csv file... This is what QGIS returns me: An error has occured while executing Python code: Traceback (most recent call last): File ...
2
votes
2answers
109 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 ...
1
vote
2answers
190 views

How to Spatial Join centroids of parcels to point data and get the distance

I'm currently using ArcMap 10.1 (basic license). I have a LSOA shape file of Camden borough. From there I added 2 extra fields within the attribute table, X and Y. I then calculated the 2 extra fields ...
2
votes
3answers
229 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 ...
0
votes
1answer
98 views

Visualizing information when click in polygonā€¸ - Spatial join

I am new to cartodb, right now I am trying to do something similar to the cartodb tutorial: Create your first map with CartoDB.js, but with polygons using my own map. For example: I did a spatial ...
0
votes
1answer
53 views

Export data of points and polygons which are intersected

I have a shp file of roughly 100 Polygon. I also have a corresponding list (including X,Y data) of about 3000 points, in a csv file. Overlayed within QGis the 100 polygons contain about 90% of the ...
2
votes
0answers
85 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 ...
1
vote
1answer
195 views

Simple Spatial Join of Point Feature to Polygon Target Feature Not So Simple (Source Files Included)

I have what should be a simple task to perform: join ~47K census blocks from the PL redistricting files with pop and racial data joined to Chicago Public Schools High School boundaries to get an ...
5
votes
1answer
357 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 ...
0
votes
1answer
60 views

using joinDelimiter with MergeRule “Join” (Python in ArcGIS 10.1)

In this example from ESRI, the MergeRule is set to "Mean" and the values from two fields from two different feature classes are averaged and written to a new field. # Set the merge rule to mean ...
1
vote
0answers
271 views

Arcpy Spatial Join Running Extremely Slow [closed]

I have a simple arcpy script that runs a series of spatial joins. However, the script is running extremely slow: one set of joins takes over 12 hours. There are a few for loops, but I have timed these ...