xml extract
DESCRIPTION
XML Extract. Paul Kimsey - 3/20/2006 Modified - 4 August 2009. XMLExtract creates a XML document containing all feature records in the NHDStatus table. The XML document is used to load edits to the original Personal GDB and the National Database. - PowerPoint PPT PresentationTRANSCRIPT
XML Extract
Paul Kimsey - 3/20/2006
Modified - 4 August 2009
XMLExtract creates a XML document containing all feature records in the NHDStatus table. The XML document is used to load editsto the original Personal GDB and the National Database.
See 1804_alb.xml for example document
See 1804_alb.rcl for example document
XMLExtract Checks
1. XMLExtract verifies all records in the NHDStatus table are in one of the feature classes or the NHDVerticalRelationship or the NHDReachCode_ComID table.
2. XMLExtract verifies the NHDProcessingParameters table is populated properly.
3. XMLExtract verifies all records in the NHDReachCrossReference table are properly populated.
4. XMLExtract verifies all records in the NHDFeatureToMetadata Table are populated correctly when more than one Metadata record exists in the NHDStatus table
ProgramsNHDUtilities
XMLExtract
Browse to Input Personal GDB File
Select Personal GDB File
Open
Create XML
Notice that the Output XML File has been populated for you
Successful Completion:
For Un-Successful Completion see next slide (Example Debug File)
Example XMLExtract debug file Error occurred 11/30/2005 8:54:52 AMRecord Call Stack Sequence – Bottom line is error line.
ProcessNHDStatusRecords XMLExtractModule Line : 609ReportError Errorhandeling Line : 39
DescriptionFeature or relationship with COMID -244 not found
Error occurred 11/30/2005 8:56:04 AMRecord Call Stack Sequence – Bottom line is error line.
ProcessNHDStatusRecords XMLExtractModule Line : 609ReportError Errorhandeling Line : 39
DescriptionFeature or relationship with COMID -10112 not found
Error occurred 11/30/2005 8:56:28 AMRecord Call Stack Sequence – Bottom line is error line.
ProcessNHDStatusRecords XMLExtractModule Line : 609ReportError Errorhandeling Line : 39
DescriptionFeature or relationship with COMID 38686647 not found
The three errors above represent a case in which the COMID exists in thestatus table but does not exist in the feature layers.Resolution:For each feature layer, select by attribute where COMID = 0If possible, match the features with COMID = 0 to the cooresponding updaterecords in the status table. If this is not possible, remove records from status table
Output: 1804_geo.rcl, 1804_geo.xml