ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • 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 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

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Aligning features to a shape

You can use Align To Shape to adjust layers to a shape you trace. This is useful if you want to match features to the edges of other features. This scenario commonly happens when layers were captured at different resolutions, scales, or time periods—causing edges to become braided, overlap, or have gaps between them. For example, you have a hiking trail that was digitized from very accurate GPS measurements. The trail follows along the banks of a stream at the edges of two types of forests. The stream and forest boundaries should actually be coincident with the trail. However, those layers originated from a coarser resolution or different scale, so they zigzag across the trail. There are also gaps between the polygons and areas where the polygons overlap. You can use Align To Shape to draw a path interactively so the layers are aligned to the trail line and the polygons form a continuous fabric.

Using Align To Shape to adjust features to match a line

To use Align To Shape, you need to trace a path to which you want to align other features. This path is created by tracing the edges of one or more adjacent, existing features. You then choose which layers will be adjusted to match this path; other layers will not be updated. For a layer to be listed, it must be either a point, line, or polygon and also be editable and visible (turned on and not hidden at the current scale because of a visible scale range). The map shows a buffer around the traced path representing the current tolerance value and provides a preview of the resulting alignment. You can change the tolerance to find your desired outcome. Once you are satisfied with the preview, perform the adjustment.

Since Align To Shape is an interactive tool that requires that you manually trace the shape to align to, it works best for cases where just portions of features need to be adjusted.

  1. Click Align To Shape Align To Shape on the Advanced Editing toolbar.
  2. Under Alignment shape, click Alignment Shape to define the shape to which features will be aligned.
  3. On the map, click the edge to trace along and click again to end the trace. Features will be aligned to this line, which is displayed transparently. Press the ESC key to cancel the trace. To limit the trace to selected features only, hold down the CTRL key.
  4. Under Layers to be aligned, check the layers you want to align to the traced edge. Only editable and visible layers are listed; you can turn on hidden layers using the table of contents without closing the dialog box. Check Align selected features if you want to align only the selected features in the chosen layers.
  5. Type a tolerance. The value is specified in the data frame coordinate system's map units, which are listed next to the box. Any portions of features in the specified layers that are within this tolerance are aligned to the path. The map shows a buffer representing the tolerance and a preview of the resulting alignment, which is updated as you change the tolerance.
  6. In some cases, portions of features that are not within the tolerance may be adjusted slightly so the aligned features can make a smooth transition to the shapes of surrounding features. If you do not want this to occur, check the box to insert vertices at the ends of the trace. Doing this preserves the shape of features outside the tolerance.
  7. When you are satisfied with the preview, click Align to perform the alignment.
  8. To align additional features, change a parameter, such as redrawing the trace path, choosing different layers, or updating the tolerance. Then you can click Align again.
  9. Click Close to close the dialog box.

Related topics

  • About aligning features
  • Aligning an edge to match another edge
  • Replacing a feature's geometry with an entirely new shape

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

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