threats database v4 model geodatabase relation class creation and data population june 25, 2007...

48
Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Upload: brett-lang

Post on 29-Dec-2015

225 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Threats Database V4 Model

Geodatabase Relation Class Creation and Data Population

June 25, 2007

Marlene McKinnon, GIS Specialist

Page 2: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Background

Since 2005 there has been an‘Assessment Report Outputs: Data Specifications’ document.

Now in Version 4.0 (April 27, 2007)

Data Dictionary and basic structure has been there since that time for the Threats Database

Now to incorporate functionality of the data we have

Threats Database Version 4

Page 3: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Preparation

This Process is for:Arc 9.1Personal GeodatabaseWindows XP Professional

Database Compatibility:Review existing data and format of data structureReview in the documentation the relationship structure

Match fields with

Threats Database Version 4

Page 4: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Relationship Class(creation in Geodatabase)

REGISTER the Tables that will be Related with the Geodatabase.

If you try to create the relationship Class without the registry process you will get the above error message.

Page 5: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step R1

Warning message when registering table to Geodatabase.

Click on Yes to add the field.

Page 6: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step R2Wizard for ‘NEW RELATIONSHIP CLASS’.

Select the tables for the relationship.

Page 7: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step R3

If the tables have not been registered with the Geodatabase then you will receive the following message.

At this point you must cancel the wizard and register the tables with the Geodatabase.

Page 8: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step R4Select the type of the relationship, the default should be Simple.

But if the business needs require the function that can be obtained with the Composite then select that type.

Page 9: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step R5Determine if the messages should be generated and how.

Page 10: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step R6

Review the data standards document to determine the cardinality of the relationship(1 to 1, 1 to many or many to many).

Page 11: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step R7

Define if attributes would be added to the relationship class or not.

Page 12: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step R8

Designating the Primary Key and the Foreign Key.

Page 13: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step R9

Summary Page in the Wizard

Page 14: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step R10This is how the new Relationship Class will be represented in ArcCatalog.

Page 15: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Tabular

REGISTER the table with the Geodatabase.

If you try to load the data without the registry process you will get the above error message.

Page 16: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step T1

Warning message when registering table to Geodatabase.

Click on Yes to add the field.

Page 17: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step T2Simple Data Loader Wizard

Page 18: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step T3Simple Data Loaderwizard dialog box

Page 19: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step T4

Select the database with the data to load.

Page 20: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step T5

This is a default dialog box.

Page 21: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step T6Dialog box to match the fields from the new structure to the database with the data.

Page 22: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step T7Should you only want specific data to load then start click on that button and then click on the Query Builder button.

Page 23: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step T7aThe query builder will assist you with your query.

Page 24: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step T8

Final dialog box is the summary. REVIEW before you click on ‘Finish’.

Page 25: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step T9Should you have errors in the data load this dialog box will appear. Click on yes to view the errors.

This is an example of the error messagedialog box.

Page 26: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Review the loaded data.

Should you have errors delete the records and repeat from Step 1 correcting the selections as required.

View the data again.

Step T10

Page 27: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Spatial Create a

Personal Geodatabase

for the spatial capture.

Page 28: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S1Preparation for the LOADING,Look at the field name and data type. Refer to structure that you area going to be loading the data into.

Double check all the fields with INTEGER and the length of the TEXT fields.

Page 29: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S2

Continue reviewing the fields.

Page 30: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S3

Finish the review

Page 31: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S4Then create a FEATURE DATASET to establish the datum and projection of your data.

Right click on the new GEODATABASE.

Page 32: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S5

Edit the SPATIAL REFERENCE to your area.

Page 33: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S6Create a FEATURE CLASS by right clicking on the feature dataset.

Page 34: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S7Name the feature class according to the naming convention of the Threats database design.

Page 35: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S8Ensure that when you open this you select the GEOMETRY TYPE to match the data type you are going to load.

Either line, point or polygon.

Page 36: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S9

Once that is selected click on IMPORT and select the appropriate TABLE STRUCTURE for the layer.

Page 37: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S10Simple Data Loader Wizard

Page 38: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S11Simple Data Loaderwizard dialog box

Page 39: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S12

Select the database with the data to load.

Page 40: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S13

This is a default dialog box.

Page 41: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S14Dialog box to match the fields from the new structure to the database with the data.

Page 42: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S15Should you only want specific data to load then start click on that button and then click on the Query Builder button.

Page 43: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S15aThe query builder will assist you with your query.

Page 44: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S16

Final dialog box is the summary. REVIEW before you click on ‘Finish’.

Page 45: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S17Should you have errors in the data load this dialog box will appear. Click on yes to view the errors.

This is an example of the error messagedialog box.

Page 46: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

Step S18Review the loaded data.

Should you have errors delete the records and repeat from Step 2 correcting the selections as required.

View the data again.

Page 47: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist

CreditsESRI – Arc Editor and Arc Catalog Version 9.1

Threats Database V4 – Anne Trudell, WRIP, MNR

Page 48: Threats Database V4 Model Geodatabase Relation Class Creation and Data Population June 25, 2007 Marlene McKinnon, GIS Specialist