ArcGIS Joining Data

This tutorial provides step-by-step instructions for joining a table of data to geospatial features on a map using ArcGIS technologies.

image showing connection between values and map features

Joining Tabular Data to Geospatial Data

This tutorial will look at the steps necessary for joining tabular data to geospatial data using ArcGIS Pro and ArcGIS Online.


Setup Instructions

In preparation for this tutorial, you will need an organizational account with Esri. If you are a Brock user, you will sign into the software using your Brock credentials.

Data files:
TreeSampleChippawaCOORDINATES_CSV.csv
TreeSampleChippawaATTRIBUTES_CSV.csv

The Scenario
We will be mapping tree sample data for the neighbourhood of Bridgewater near Niagara Falls and Chippawa. Tree data is often collected with GPS units that capture Geographic Coordinates. Unlike the previous exercise that required street addresses, this activity will plot the X,Y data then join detailed attributes. Sometimes it is easier to collaborate on a field project by having one person record the attributes such as diameter at breast height, tree species and health, while another person captures the GPS coordinates. Although this example uses point data, the same general steps would apply to boundary files such as census tracts or municipal boundaries and associated tabular data.


Displaying X,Y Data in ArcGIS Pro

Open the Comma-separated values (CSV) files to see the tabular data before beginning this tutorial. Notice that each table includes an OBJECTID field. First, we will display the X,Y data found in TreeSampleChippawaCOORDINATES_CSV.csv and then the attribute data will be joined with the geospatial data using ArcGIS technologies.

Screenshot of the COORDINATE data:
image of coordinate data

Screenshot of the ATTRIBUTE data:
image of tabular data

  1. Run ArcGIS Pro and sign in to Your ArcGIS Organization’s URL brock.maps.arcgis.com > Brock University (authenticate using Brock credentials).
  2. From the Map tab, click image of Add Data button.
  3. Add the .xlsx worksheet that includes coordinate details. If prompted to update drivers, try saving the xlsx file as a comma separated values (CSV) file first. The table appears under Standalone tables.

    image of standalone tables

  4. Right click the table and select Display X,Y data image of display xy data
  5. Confirm that the X coordinate is matched to Longitude and the Y coordinate is matched to Latitude.

NOTE: The default coordinate system works for our data but you will need to be sure the coordinates you are using match the appropriate coordinate system. Contact maplib@brocku.ca for assistance.

image of Display XY data dialogue box

Here is a screenshot of the result:

image of map showing dots

Joining in ArcGIS Pro

  1. From the Map tab, click image of Add Data button.
  2. Add the tabular data from the Excel worksheet called “TreeSampleChippawaATTRIBUTES > Sheet1$”. Alternately, add a CSV version of the spreadsheet.

    image showing content listing with attribute CSV

  3. From the Contents list, right click the point feature layer and select Joins & Relates > Add Join.
  4. Read each entry carefully to match the OBJECTID field for each data set. See image below:

    image of Add join window

  5. Click OK to run the tool.
  6. Open the attribute table for the point feature layer and scroll across (if necessary) to see the newly joined attributes.

    image of attribute table with join

Displaying in ArcGIS Online

  1. Go to https://arcgis.com and sign in to your ArcGIS Organization using your Brock University credentials.

    image of your arcgis organization's URL

  2. Click the Map tab at the top of the screen.
  3. Click Add > Add layer from file.
  4. Click YOUR DEVICE and browse to the file image of name and file type CSV.

  5. Accept the defaults for the Fields, click Next.
  6. Under Location settings, select Latitude and Longitude from the dropdown options.
  7. Match the fields accordingly.
  8. Click Next.
  9. Enter a Title, Folder location in ArcGIS Online, Tags and Summary.
  10. Click Create and add to map.

image of ArcGIS online with map of points

  1. To add the tabular attribute data, click Add > Add layer from file.
  2. Click YOUR DEVICE and browse to the file image of attribute CSV

  3. Click Next.
  4. Accept all the fields to add and click Next.
  5. From the Location settings, choose image showing selection option
  6. Click Next.
  7. Enter a Title, Folder, Tags and summary.
  8. Click Create and add to map.
  9. In ArcGIS Online, the tables can be found by clicking the table icon image of tables icon from the left menu options.
  10. Before continuing, click the layers icon image of layers icon.

Joining in ArcGIS Online

  1. With the point feature layer active (it will have a blue bar down the side), click the analysis tools from the righthand menu image of analysis tools icon.
  2. Click the hammer icon image of hammer icon.
  3. From the list of geoprocessing tools, under Summarize Data, select Join Features.
  4. Select the point feature layer as the Target Layer.
  5. Select the table as the Join Layer.
  6. Scroll down to Join Settings.
  7. Select OBJECTID for both the Target layer and the Join layer.

    image of Join Settings dialogue box

  8. Scroll down to the Result Layer section and enter a unique output name.

  9. Click Run.
  10. To see the status of the tool, click the History button image of history icon.
  11. The resulting feature layer will automatically be added to the map. Click a dot to see the attribute listing in a pop-up.

NOTE: you may need to turn off visibility of the original point layer.

image of popup illustrating join result

More information about Joins & Relates can be found here.


Next Steps (Optional)

Visualizing geospatial data


This tutorial is supported by the Brock University Research Lifecycle Department; Map, Data & GIS Library. If you have any questions or concerns regarding this tutorial, don’t hesitate to contact maplib@brocku.ca