Changing the version associated with map layers

Data sources can be associated with several components in several ESRI mapping and charting solutions. In addition to feature layers, data sources can be defined for Reviewer checks and map series. All of these need a geodatabase that can be referenced as a data source, which can be a feature class in a personal, file, or enterprise geodatabase.

Properties for each item include the following:

With enterprise geodatabases, the paths to the data source include the version as well as the geodatabase. You can opt to change only the version for the data source or the version and the full path to the feature class. For example, if you are working with the editor version of the data and you want to change the production version of the data, you can choose to only change the version for the geodatabase.

RemarqueRemarque :

To change the data sources for all the items listed in the Set Data Source dialog box, the Show "Change Data Source" warning check box needs to be checked. If it is not checked, the data source is only changed for the selected layer. By default, the option is checked so you can choose whether to change the data source for all layers or only one.

Étapes :
  1. Start ArcMap.
    ConseilConseil :

    If the ArcMap - Getting Started dialog box appears, you can open a new or existing map document. You can also check the Do not show this dialog box in the future check box and click Open.

  2. If necessary, load data in the map.
  3. Add the Set Data Source tool by doing the following:
    1. On the main menu, click Customize > Customize Mode.

      The Customize dialog box appears.

    2. Click the Commands tab.
    3. In the Categories list, click Production Framework.
    4. Click and drag the Set Data Source button Set Data Source to a toolbar.
    5. Click Close.
  4. Click the Set Data Source button Set Data Source.

    The Set Data Source dialog box appears.

    Set Data Source dialog box

  5. Optionally, click the Sources drop-down arrow and choose the source type for which you want to change the data source.
  6. Optionally, to view only invalid data sources, check the Show Invalid Data Sources Only check box.

    This removes any of the valid data sources from the list on the Set Data Sources dialog box.

  7. Choose an item in the Paths table.
  8. If you do not want to change the data source for multiple sources, uncheck the Show "Change Data Source" warning check box.

    Only the layer you choose will have its data source changed.

  9. Click Change Version.

    The Workspace Version Selector dialog box appears.

  10. Choose the version you want to use.
  11. Click OK.

    If the Show "Change Version" warning check box is checked, a message appears asking if you want to apply the new version to all matching workspaces.

  12. Click Yes to change the version for all the layers.

    If you click No, the version is only changed for the selected item.

  13. Click OK.

Rubriques associées


10/2/2010