wbareacomid queries. by first converting the nhdflowline feature class to a point feature class and...

Post on 20-Jan-2016

220 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

WBAreaComID Queries

By first converting the NHDFlowline feature class to a point feature class and then joining the flowline point feature class with the NHDArea feature class/ NHDWaterbody feature class, Queries can then be used to find <Null> or incorrect WBAreaComID’s in the NHDFlowline feature class and populate the NHDStatus table with Modify Feature Attribute records

Open Arc Toolbox

Arc Toolbox:Data Management ToolsFeaturesDouble click on Feature To Point

Input Features:Browse to personal geodatabase, Hydrography, NHDFlowlineAdd

Output Feature Class:Browse to personal geodatabase, HydrographyName = flowline_to_pointSave

Check Inside (Optional)OK

flowline_to_point feature class has been added to table of contents

Right click on flowline_to_pointOpen Attribute Table

OptionsSelect By Attributes

Create a new selectionWhere [FType] =558Apply

Right click on flowline_to _pointDataExport Data…

Export: Selected featuresThis layers source dataBrowse to specify output feature class

Browse to personal geodatabase, HydrographySave as type: Personal Geodatabase feature className = flowline_ap_pointsSave

Click OK

Click Yes

flowline_ap_points feature class has been added to table of contents

Note: If you are in Editing Mode – Stop EditingRight click on flowline_ap_pointsJoins and RelatesJoin…

Populate table as shown belowBrowse to specify output feature class

Browse to personal geodatabase, HydrographySave as type: Personal Geodatabase feature className = join_flowline_areaSave

Click OK

join_flowline_area feature class has been added to table of contents

Right click on flowline_ap_pointsJoins and RelatesJoin…

Populate table as shown belowBrowse to specify output feature class

Browse to personal geodatabase, HydrographySave as type: Personal Geodatabase feature className = join_flowline_waterbodySave

Click OK

Join_flowline_waterbody feature class has been added to table of contents

Save mxdExit ArcMap

Windows explorer:Double click on personal geodatabase

Open

Microsoft Access:QueriesRight click in white areaImport…

Browse to NHDCleanup_Queries.mdbDouble click on NHDCleanup_Queries.mdb

Select wbareacomid_cleanup1-5OK

The following Sequel statements will be run against your personal geodatabase tofind WBAreaComID’s that are Null or incorrect, Calculate them to the correct ID andtrack the ComID of the features being corrected in the NHDStatus table

Double click on wbareacomid_cleanup1

Yes

Yes

Double click on wbareacomid_cleanup2

Yes

Yes

Double click on wbareacomid_cleanup3

Yes

Yes

Double click on wbareacomid_cleanup4

Yes

Yes

Double click on wbareacomid_cleanup5

Yes

Exit Microsoft AccessOpen mxd in ArcMap

Right click over NHDFlowlineOpen Attribute Table

OptionsSelect By Attributes

Create a new selectionWhere [FType] = 558Apply

Select from current selectionWhere [WBAreaComID] IS NullApply

Right click on first recordLeft click on Zoom to

This check will identify artificial paths that still have a WBAreaComID of NullInvestigate to determine why they could not be calculated to a value

In this case the NHDFlowlines should be changed to Canal/DitchIf all three were not in the same area you would “Zoom to” the next record

WBAreaComID

NHDAreaComID

NHDWaterbodyComID

WBAreaComID

Spot Check WBAreaComIDs (Entire Dataset)

top related