ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Finding the nearest feature

A spatial join joins the attributes of two layers based on the location of the features in the layers. Like joining two tables by matching attribute values in a field, a spatial join appends the attributes of one layer to another.

The nearest feature is defined as the feature that is geographically closest to another one. Proximity is based on straight-line distance between features.

  1. Right-click the layer to which you want to join attributes, point to Joins and Relates, then click Join.

    You can also click the Table Options button Table Options on an open table window to access the Join Data dialog box.

  2. Click the What do you want to join to this layer? drop-down arrow and click Join data from another layer based on spatial location.
  3. Click the Layer drop-down arrow and click the name of the layer whose attributes you want to join.

    If the layer is not currently part of the map, click the Browse button Browse to search for it on disk.

    Each point is given all the attributes of the line that is closest to it and a distance field showing how close that line is.

  4. Type the name of the output shapefile or feature class.
  5. Click OK.

    A new layer is added to the map.

Related topics

  • About joining the attributes of features by their location
  • Spatial joins by feature type
  • Finding what is inside a polygon
  • Finding what intersects a feature

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2018 Esri. | Privacy | Legal