Attribute sets configuration
Attribute sets provide the functionality to designate selected attributes for user inputs. They are used to designate the event layers and columns in the layers that the user will provide values for in the Add Linear Events widget. The administrator can create a preconfigured attribute set that can be accessed by any user of the Roadway Characteristics Editor. This preconfigured attribute set cannot be modified by the user. A user can create new attribute sets that are stored in the web browser for local access or import attribute sets created by other users. For more information, see the following:
The attribute sets are useful in limiting the number of record input fields while using the Add Linear Events widget. The user enters the records only in the fields provided by the attribute sets.
Expand All | Shows all the attribute fields present within each event layer. | |
Collapse All | Hides the attribute fields to show only the event layers. | |
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. | |
New Attribute Set | Creates a new 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. | |
Remove Selected Attribute Set | Removes the selected attribute set from the widget. The administrator-configured attribute sets cannot be removed using this button. | |
New Group | Creates a new 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. | |
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. | |
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. |
You can preconfigure an attribute set using the following steps.
- Browse to the Edit tab of the Roadway Characteristics Editor and open the Attribute Sets dialog box by clicking the Modify Attribute Sets button.
- Create a new attribute set.
For more information, see Using attribute sets.
注:Alternatively, you can import and modify existing attribute sets shared with you by another user. To learn more, see Using attribute sets.
- Click Export.
The Export Attribute Sets dialog box appears.
- Select the attribute sets you want to export.
To select all attribute sets, click Select All.
To clear selected attribute sets, click Clear Selection.
- When you are ready to export, click OK.
Your attribute sets will be exported to a Roads and Highways attribute set (.rhas) file.
- Browse to the location of the Roadway Characteristics folder.
- Browse to the attributeSets folder, which is created upon installation of Esri Roads and Highways for Server.
- Open the attributeSets folder and add the .rhas file you exported in step 5.
Your attribute sets can now be accessed by any user of the Roadway Characteristics Editor.
In a web browser, browse to the Roadway Characteristics Online application. On the Edit tab, click the Add Line Events button . The preconfigured attribute set can be used to record attributes in this widget.
Modifying the attributeSets folder
By default, the Roadway Characteristics Editor (RCE) 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 RCE.
- In the Roadway Characteristics folder, rename the attributeSets folder or create a new folder in which attribute sets will be stored.
- Open the config.json file in a text editor such as Notepad.
For more information on using the config.json file for RCE, see Configuring the Roadway Characteristics Editor web application.
- In the config.json file, browse to the attributeSets section.
- Browse to the subsection titled folder.
Here, you can modify the default attributeSets folder by changing the folder name.