Difference between revisions of "AHGW:Assign Related Identifier"

From XMS Wiki
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[File:AHGW - The Assign Related Identifier tool assists in populating key fields.png|thumb|right|The Assign Related Identifier tool assists in populating key fields. For example, to support the Aquifer-Well relationship in Arc Hydro the AquiferID of the Well feature (shown as Null) should be set equal to the HydroID of the Aquifer feature (in this example equals 119).]]
+
The ''Assign Related Identifier'' dialog is accessed by clicking [[File:AHGW Assign Related Identifiers Icon.png]] '''Assign Related Identifier''' on the [[AHGW:Arc Hydro Groundwater Toolbar|Arc Hydro Groundwater Toolbar]]. This tool assists in assigning a source layer and field to a target layer and field in [[ArcGIS]].  
The Arc Hydro data model includes relationships between features, which are based on key fields. For example well and aquifer features are related through the HydroID and AquiferID key attributes, and nodes and cells of simulation model grids/meshes supported in the simulation component. The Assign Related Identifier command will simplify the matching up of these IDs interactively, by allowing the user to interactively assign the value of one field in one layer to another field in another layer. The tool is similar to an existing tool in the Arc Hydro surface water tools.
 
  
For example, to interactively associate well features with underlying aquifers users can use the Assign Related Identifier tool. Instead of manually editing the AquiferID value in the well feature class, the user can specify that the HydroID of the aquifer feature will be copied over to the AquiferID field of the well feature. The tool simplifies this attribution process.  
+
The [[AHGW:Arc Hydro Groundwater Data Model|Arc Hydro Groundwater Data Model]] includes relationships between features, which are based on key fields. For example, well and aquifer features are related through the HydroID and AquiferID key attributes, and to nodes and cells of simulation model grids and meshes supported in the simulation component. The ''Assign Related Identifier'' dialog simplifies the matching up of these IDs by allowing the user to interactively assign the value of one field in one layer to another field in another layer. The tool is similar to an existing tool in the Arc Hydro surface water tools.
  
[[File:AHGW Assign Related Identifier dialog.png|thumb|300px|none|Setup for the Assign Related Identifier tool. Inputs to the tool include the source and target layer and the key fields to be populated. The tool is similar to an existing tool in the Arc Hydro surface water tools.]]
+
[[File:AHGW Assign Related Identifier dialog.png|350px|thumb|right|The ''Assign Related Identifier'' dialog]]
 +
The following sections, options, and fields are available:
 +
*''Source'' section – Select the current layer and field that will be assigned to the target layer and field.
 +
**''Layer'' – A drop-down listing available layers.
 +
**''Field'' – A drop-down of fields associated with the layer selected above.
 +
*''Target'' section – Select the target layer and field to which the target layer and field will be assigned.
 +
**''Layer'' – A drop-down listing available layers.
 +
**''Field'' – A drop-down of fields associated with the layer selected above.
 +
*'''OK''' – Click close the ''Assign Related Identifiers'' dialog and assign the source layer and field to the target layer and field as selected in the drop-downs.
 +
*'''Cancel''' – Discard any changes and close the ''Assign Related Identifiers'' dialog.
  
After defining the input parameters, the user can attribute the AquiferID of well features (target layer) by selecting the well, right-clicking on an aquifer feature (source layer) and selecting the '''Assign Attribute''' command. The AquiferID attribute in the well feature is updated to equal the HydroID of the associated aquifer feature (i.e. 119).
+
==Example==
 +
For example, instead of manually editing the AquiferID value in the well feature class, specify that the HydroID of the aquifer feature will be copied over to the AquiferID field of the well feature (see Example 1, below). The tool simplifies this attribution process.  
  
[[File:AHGW Updating key filed using the Assign Related Identifier tool.png|thumb|500px|none|Updating key filed using the Assign Related Identifier tool.]]
+
[[File:AHGW - The Assign Related Identifier tool assists in populating key fields.png|thumb|500px|none|Example 1: The Assign Related Identifier tool assists in populating key fields. For example, to support the Aquifer-Well relationship in Arc Hydro the AquiferID of the Well feature (shown as Null) should be set equal to the HydroID of the Aquifer feature (in this example equals 119).]]
 +
 
 +
After defining the input parameters, attribute the AquiferID of well features (target layer) by selecting the well, right-clicking on an aquifer feature (source layer) and selecting the '''Assign Attribute''' command. The AquiferID attribute in the well feature is updated to equal the HydroID of the associated aquifer feature (i.e., 119—see Example 2, below).
 +
 
 +
[[File:AHGW Updating key filed using the Assign Related Identifier tool.png|thumb|500px|none|Example 2: Updating key filed using the Assign Related Identifier tool.]]
  
  
 
{{Navbox AHGW}}
 
{{Navbox AHGW}}
 
[[Category:AHGW Groundwater Analyst]]
 
[[Category:AHGW Groundwater Analyst]]

Latest revision as of 00:38, 8 November 2019

The Assign Related Identifier dialog is accessed by clicking AHGW Assign Related Identifiers Icon.png Assign Related Identifier on the Arc Hydro Groundwater Toolbar. This tool assists in assigning a source layer and field to a target layer and field in ArcGIS.

The Arc Hydro Groundwater Data Model includes relationships between features, which are based on key fields. For example, well and aquifer features are related through the HydroID and AquiferID key attributes, and to nodes and cells of simulation model grids and meshes supported in the simulation component. The Assign Related Identifier dialog simplifies the matching up of these IDs by allowing the user to interactively assign the value of one field in one layer to another field in another layer. The tool is similar to an existing tool in the Arc Hydro surface water tools.

The Assign Related Identifier dialog

The following sections, options, and fields are available:

  • Source section – Select the current layer and field that will be assigned to the target layer and field.
    • Layer – A drop-down listing available layers.
    • Field – A drop-down of fields associated with the layer selected above.
  • Target section – Select the target layer and field to which the target layer and field will be assigned.
    • Layer – A drop-down listing available layers.
    • Field – A drop-down of fields associated with the layer selected above.
  • OK – Click close the Assign Related Identifiers dialog and assign the source layer and field to the target layer and field as selected in the drop-downs.
  • Cancel – Discard any changes and close the Assign Related Identifiers dialog.

Example

For example, instead of manually editing the AquiferID value in the well feature class, specify that the HydroID of the aquifer feature will be copied over to the AquiferID field of the well feature (see Example 1, below). The tool simplifies this attribution process.

Example 1: The Assign Related Identifier tool assists in populating key fields. For example, to support the Aquifer-Well relationship in Arc Hydro the AquiferID of the Well feature (shown as Null) should be set equal to the HydroID of the Aquifer feature (in this example equals 119).

After defining the input parameters, attribute the AquiferID of well features (target layer) by selecting the well, right-clicking on an aquifer feature (source layer) and selecting the Assign Attribute command. The AquiferID attribute in the well feature is updated to equal the HydroID of the associated aquifer feature (i.e., 119—see Example 2, below).

Example 2: Updating key filed using the Assign Related Identifier tool.