The following steps will allow you to update the stream names in your new basins_all shapefile with those you have added or modified in your xxxx_aggr_basins shapefile.
This procedure should result in a direct transfer of most of the customized stream names to the basins_all shapefile. Approximately 15% of the transferred names will require additional post-transfer verification to ensure that they are the desired names for that basin. An example of this situation is an aggregated basin that may have been named "Little Run Tributary to Stony Creek". When this name is transferred to the native format basins, the aggregated basin is automatically associated with its most downstream component basin or "outlet" basin. Thus, this name will be assigned to a portion of Stony Creek that does not actually include the Little Run Tributary. Unfortunately, this cannot be avoided when transferring names between aggregated and native basins. Through this procedure, we will maximize the number of directly transferred names and flag those transferred names that should be checked.
From the Table menu, select Start Editing.
From the Edit menu, select Add Field. In the Field Definition box, type a name for the field (we will call it Cust_name). Select "String" for Type, and 20 or larger for Width. Click OK. The new field should be added to the basins_all table. We will fill in this field later.
a) Click the Query Builder button (hammer with question mark) or select Query from the Table menu. In the box that appears, build the following query:
( [Pfaf_join] <> "" )
Click "New Set". This will select all records corresponding to the basins in the xxxx_aggr_basins shapefile.
b) Replace the previous query in the Query Builder box with the following:
( [Streamname] <> [New_name] )
Click "Select From Set". This will select all records from the current selection where the old and new stream names are different.
c) Replace the previous query in the Query Builder box with the following:
( [New_name] <> "" )
Click "Select From Set" and close the Query Builder window.
The final query selects only the records in the New_name field that have names to avoid replacing named streams with blanks.
This will copy the names in the New_name field to the Streamname field for the selected records in the table.
DO NOT CLEAR THE SELECTION YET!!
This will indicate that these names have been customized.
DO NOT CLEAR THE SELECTION YET!!
Click the Query Builder button (hammer with question mark) or select Query from the Table menu. In the box that appears, build the following query:
( [Area_sq_mi] <> [Area_aggr] )
Click "Select From Set" and close the Query Builder window. This will select (from the currently selected features) the records corresponding to aggregated basins in the xxxx_aggr_basins shapefile.
If it is not still selected, click the Cust_name field header to select it. Click the Calculate button (or select Calculate from the Field menu). In the Field Calculator box that appears, enter "yes/need to check" (be sure to include the quotation marks) in the box under [Cust_name]=. Click OK.
This will serve as a flag for the basins with transferred customized names that should be re-checked.
You are now ready to prepare the shapefiles for localization.