Exercise 5: Make nonversioned edits as a read/write user

This topic applies to ArcEditor and ArcInfo only.

Complexity: Beginner Data Requirement: ArcGIS Tutorial Data Setup Goal: Log in as a user with read/write permissions in the geodatabase and edit nonversioned data.

To see how users with nonadministrative permissions can use the data, you will log in as editor1, import a feature class from a shapefile, then edit a feature class in ArcMap.

Logging in as editor1

Since database servers authenticate users based on the current Windows login, log off the computer and log back in as editor1.

Steps:
  1. Click the Start button on the Windows task bar and click Log off.
  2. If prompted, confirm you want to log off by clicking Log Off on the Log Off Windows dialog box.
  3. When the login dialog box appears, change the user name to editor1.
  4. Type editor.1 in the Password text box.
  5. Choose your computer name from the Log on to drop-down list and click OK.

    You are now logged in to the computer as editor1.

  6. Start ArcMap, open the Catalog window, then expand the Database Servers node in the Catalog tree.
  7. You must add the ArcSDE database server because editor1 has not added it to his Catalog yet. For instructions on how to do this, refer to Exercise 1: Add a database server to the Catalog tree and create a geodatabase.

Importing data as editor1

Import the streets shapefile to the Osokopf geodatabase.

Steps:
  1. Double-click the database server in the Catalog tree to connect to it.
  2. Right-click the Osokopf geodatabase, point to Import, then click Feature Class (single).
  3. Since editor1 has not yet created a folder connection to the tutorial data, create a new connection to the tutorial data under Folder Connections.
  4. For Input Features, browse to the DatabaseServers tutorial directory.
  5. Choose osokopf_streets.shp and click Add.
  6. Type streets in the Output Feature Class text box.
  7. Click OK to run the tool.

    The progress of the tool appears at the bottom of ArcMap. When the feature class has been imported, a pop-up appears in the lower right corner of your screen. You can click it to open messages that were output from the tool.

The Osokopf geodatabase now contains two feature datasets, parks and boundaries, owned by dbo, and the streets stand-alone feature class, owned by editor1.

Making edits to a nonversioned dataset

You will edit the schools feature class. Since you will only be making one small change, which can be completed in a short amount of time, you can use nonversioned editing.

When you make nonversioned edits, the dataset is locked for the duration of your edit session, and the changes you make are committed directly to the database as soon as they are saved.

Setting the edit session for nonversioned editing

First, you must set up ArcMap to perform nonversioned edits.

Steps:
  1. Expand the Osokopf geodatabase in the Catalog window.
  2. Click the park_areas feature dataset in the Catalog window and drag it into the ArcMap table of contents.
  3. Expand the buildings geodatabase in the Catalog tree.
  4. Click the schools feature class and drag it into the ArcMap table of contents.
  5. If the Editor toolbar is not already open, add it by clicking Customize on the Main menu, pointing to Toolbars, then clicking Editor.
  6. Click Editor on the Editor toolbar and click Options on the drop-down list.

    This opens the Editing Options dialog box.

  7. Click the Versioning tab.
  8. Uncheck Edit a version of the database with the ability to undo and redo and click OK.

    This sets the edit type for this session to allow you to edit nonversioned datasets.

Making and saving the edits

A new school is to be built in Olafville at the northeast corner of Wspolnoty and Sunray. This is across the street from Wspolnoty Park.

First, you will make sure you can select features in the parks feature dataset, then find Wspolnoty Park.

Steps:
  1. Click the List By Selection button in the table of contents.
  2. Be sure park_areas is listed under the Selectable heading. If it is not, click the Click to toggle selectable icon next to the park_areas layer to make it selectable.
  3. Click Selection on the Main menu and click Select By Attributes.
  4. Choose park_areas from the Layer drop-down menu.
  5. Double-click park_name to add it to the WHERE clause of the SELECT statement.
  6. Click the equals sign (=) to add it to the SELECT statement.
  7. Click Get Unique Values to get a list of names.
  8. Double-click Wspolnoty Park in the values list to add it to the SELECT statement.
    TipTip:

    You might need to scroll down the unique values list to find Wspolnoty Park.

  9. Click OK to make the selection and close the Select By Attributes dialog box.

    Wspolnoty Park is now highlighted on the map.

  10. If you cannot find the selected park, right-click the parks layer in the table of contents and click Zoom To Selected Features. This will zoom all the way in to the park. Click the Fixed Zoom Out button on the ArcMap Main toolbar until you can see the area to the east of the park, on the other side of Sunray St.
  11. Click Editor on the Editor toolbar and click Start editing to begin an edit session.

    Because the schools layer is not listed in the Create Features window, the Start Editing dialog box opens so you can choose the data source to edit.

  12. Choose schools for the data source and click OK.
  13. If the schools layer is not listed in the Create Features window, click the Organize Templates button.

    The Organize Feature Templates dialog box opens.

  14. Click Schools in the Layers list and click New Template.

    The Create New Templates wizard opens.

  15. Be sure the schools layer is checked and click Finish.
  16. Click Close on the Organize Feature Templates dialog box
  17. Click schools in the list of layers to edit.
  18. Click Rectangle in the Construction Tools window.
  19. Draw a rectangle in the area across the street from Wspolnoty Park.

    Normally, you would be more precise when adding features to your GIS. For the purposes of this tutorial, however, just draw a rectangle that fits within the four cross streets.

  20. Double-click to complete the rectangle.
  21. Click the Attributes button on the Editor toolbar.

    The attributes for the new school open.

  22. Type Wspolnoty in the Name row.
  23. Click the field next to School type and choose Elementary (K-5) from the drop-down list.
  24. Click Editor on the Editor toolbar and click Stop Editing.
  25. When prompted, click Yes to save your edits.

You logged in as a user with read/write permission in the geodatabase, imported a feature class, and edited a feature class in a nonversioned edit session.


11/18/2013