Skip To Content

Producing attribute sets

Attribute sets provide the functionality to designate selected attributes for inputs. They are used to designate the event layers and columns in the layers for which values are provided in the Add Linear Events widget. The administrator can create a preconfigured attribute set that can be accessed by any person using the ArcGIS Event Editor. This preconfigured attribute set cannot be modified by other people. A person can create attribute sets that are stored in the web browser for local access or import attribute sets created by other persons.

Learn more about configuring attribute sets and adding linear events by route and measure.

Attribute sets in the Event Editor

As shown in the figure, the preconfigured attribute set contains two groups: Required and Other. The Required group contains six attribute fields: Functional Class, Speed Limit, Pavement Type, Through Lane, Median Type, and Shoulder Type. The Other group contains five attribute fields.

The attribute sets are useful in limiting the number of record input fields while using the Add Linear Events widget. Editors can enter records only in the fields provided by the attribute sets.

ButtonNameDescription
Tout développer

Expand All

Shows all the attribute fields present in each event layer.

Tout réduire

Collapse All

Hides the attribute fields to show only the event layers.

Copier le jeu d’attributs sélectionné

Copy Selected Attribute Set

Copies all the attribute fields present in an event from the left panel to the attribute group in the right panel. The copy is made permanent only when you click the Save button.

Nouveau jeu d’attributs

New Attribute Set

Creates an attribute set. The attribute sets created by using this button are saved in the browser. Therefore, these attribute sets are available only to the user's browser.

Supprimer le jeu d’attributs sélectionné

Remove Selected Attribute Set

Removes the selected attribute set from the widget. The administrator-configured attribute sets cannot be removed using this button.

Nouveau groupe

New Group

Creates a group in the right panel. A group contains event attribute fields. An attribute set is made up of one or more groups. The group is saved permanently by clicking the Save button.

Supprimer le groupe, la couche ou l’attribut sélectionné

Remove Selected Group, Layer, or Attribute

Removes a selected group, layer, or attribute from the right panel. The removal is made permanent by clicking the Save button.

Paramètres par défaut

Default Settings

Allows configuration of default settings for attribute sets. These settings include the default network, from method, from measure units, to method, and to measure units for the Add Linear Events widget.

Modifying the attributeSets folder

By default, the Event Editor is configured to use the attributeSets folder. You can modify the configuration to use a different folder for your attribute sets by editing the config.json file of Event Editor.

  1. In the Event Editor folder, rename the attributeSets folder or create a folder in which attribute sets will be stored.
  2. Open the config.json file in a text editor such as Notepad.
  3. In the config.json file, browse to the attributeSets section.
  4. Browse to the subsection titled folder.

    Here, you can modify the default attributeSets folder by changing the folder name.

    Configuring the default attributeSets folder

    Replace the default attributeSets with the name of the folder where you will store your .rhas files.

Exporting a set

You can export an attribute set using the following steps:

  1. In the Event Editor, click the Edit tab.
  2. Click the Modify Attribute Sets button Modifier les jeux d’attributs.

    The Attribute Sets dialog box appears.

  3. Create an attribute set.
    Remarque :

    Alternatively, you can import and modify existing attribute sets shared with you by another person.

  4. Click Export.

    The Export Attribute Sets dialog box appears.

    Export Attribute Sets dialog box

  5. Select the attribute sets you want to export.

    To select all attribute sets, click Select All.

    To clear selected attribute sets, click Clear Selection.

  6. When you are ready to export, click OK.

    Your attribute sets will be exported to an attribute set (.rhas) file.

    Remarque :

    If you have multiple Event Editor configured in one deployment, you may need to provide a separate attribute sets folder for each configuration. If not, the same attribute sets will be visible across all configurations.

  7. Browse to the location of the Event Editor folder and open the attributeSets subfolder. Alternatively, if you specified a different attributeSets folder using the config.json file, open that folder.
    Remarque :

    The attributeSets folder is created upon installation of ArcGIS Roads and Highways

  8. Add the .rhas file you exported in step 6 to the attributeSets folder.

    Your attribute sets can now be accessed by any person using the Event Editor.

  9. In a web browser, browse to the Event Editor web app.
  10. Click the Edit tab, and click the Add Line Events button Ajouter des événements linéaires.

The preconfigured attribute set can be used to record attributes in this widget.

Limiting data entry fields in the Add Linear Events widget using attribute sets

Rubriques connexes