Snapping to features in basemap layers and feature services


ArcGIS 10.1 provides options for you to choose whether to snap to features in basemap layers and feature service layers when working in ArcMap. Previously, snapping was always enabled for all available layers, which caused performance to decrease in some cases. To enable snapping, click the Snapping menu on the Snapping toolbar, click Options, and check Snap to feature service layers or Snap to basemap layers. These options are off by default.

A basemap layer is a special type of group layer that is drawn using optimized map display logic and utilizes a local cache to refresh the map quickly. Basemap layers also help reduce network traffic since ArcMap does not need to contact the server repeatedly to retrieve the map extent. Basemap layers can contain any layer format, such as feature classes, shapefiles, web services, or rasters. If you place feature layers in the basemap, you can snap to their features while editing, measuring, georeferencing, and using other tools that work with the Snapping toolbar.

Although you cannot edit the layers inside a basemap, you can snap to feature layers in a basemap layer. For example, if you were creating a new waterline in relation to building locations, you can still snap to the Building Footprints layer even though it is inside the basemap. Keep in mind that if your features are very large or complex, enabling snapping to basemap layers may reduce the performance benefits provided by basemap layers.

On another occasion, you are making updates to a city’s parks and recreation geodatabase. Roads and utility infrastructure data are shared with you as web-based feature services. When you are creating a new open space area in your parks geodatabase, you can snap to the roads and other features from the feature services.

This entry was posted in Editing, Mapping and tagged , , . Bookmark the permalink.

Leave a Reply

4 Comments

  1. ericgordon says:

    Does this apply to snapping in a web editing environment also, such as in Flex Viewer?

  2. Rhonda Glennon says:

    This is just for editing in ArcMap. I have added that clarification to the first paragraph.

    In a web editing application, you can only enable or disable snapping altogether. For example, in the Flex API, when creating features (using DrawTool) or changing existing features (using EditTool), you can turn off snapping completely by setting “snapDistance” to 0 or “snapMode” to off. There is not a way to specify the types of layers to which you can snap.

  3. miguel says:

    From the article, it seems possible to create a base map that contains a tiled map service with a feature service. Users would then be able to snap to the layers provided by the feature service. If this is the case, who would you go about creating such a basemap?

    • Rhonda Glennon says:

      When you publish a tiled map service and enable feature access, the result will be a map service and a feature service. Because you can only snap to feature services and not map services, you need to add the feature service to ArcMap. To create a basemap layer, right-click the data frame name in the table of contents, click New Basemap Layer, and drag the layers into the basemap layer. Be sure to enable the snapping options described in this post.