xml extract

10
XML Extract Paul Kimsey - 3/20/2006 Modified - 4 August 2009

Upload: evonne

Post on 05-Jan-2016

38 views

Category:

Documents


2 download

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 Presentation

TRANSCRIPT

Page 1: XML Extract

XML Extract

Paul Kimsey - 3/20/2006

Modified - 4 August 2009

Page 2: XML Extract

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

Page 3: XML Extract

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

Page 4: XML Extract

ProgramsNHDUtilities

XMLExtract

Page 5: XML Extract

Browse to Input Personal GDB File

Page 6: XML Extract

Select Personal GDB File

Open

Page 7: XML Extract

Create XML

Notice that the Output XML File has been populated for you

Page 8: XML Extract

Successful Completion:

For Un-Successful Completion see next slide (Example Debug File)

Page 9: XML Extract

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

Page 10: XML Extract

Output: 1804_geo.rcl, 1804_geo.xml