Leveraging Relationship Classes in the Geodatabase

Similar documents
Create a personal geodatabase

ArcGIS Pro Editing. Jennifer Cadkin & Phil Sanchez

Accessing and Administering your Enterprise Geodatabase through SQL and Python

ArcGIS Pro Editing: An Introduction. Jennifer Cadkin & Phil Sanchez

Lesson 12: ArcGIS Server Capabilities

Introduction to Geodatabase and Spatial Management in ArcGIS. Craig Gillgrass Esri

ER-to-Relational Mapping

Sharing Web Layers and Services in the ArcGIS Platform. Melanie Summers and Ty Fitzpatrick

Why use an RDBMS? ❽ Data maintenance ❽ Standardized access ❽ Multi-user access ❽ Data protection

Fundamentals, Design, and Implementation, 9/e Copyright 2004 Database Processing: Fundamentals, Design, and Implementation, 9/e by David M.

Utility Network Management in ArcGIS: Migrating Your Data to the Utility Network. John Alsup & John Long

Collector for ArcGIS: Using Relationships with your Inspection Workflows. Morgan Zhang Kevin Burke

Insight into the Utility Network. Erik Hoel and Tom Brown March 13, 2018

Streamlining Editing Workflows. Amber Bethell

ArcGIS Network Analyst and Network Dataset. Jim McKinney ESRI

What s New for Developers in ArcGIS Maura Daffern October 16

Interface Documentation in Solution Documentation

Chapter 17. Methodology Logical Database Design for the Relational Model

ArcGIS Pro. Terminology Guide

Select the Parks within Forest Acres

ArcGIS Pro SDK for.net: An Overview of the Geodatabase API. Colin Zwicker Ling Zhang Nghiep Quang

Editing Parcel Fabrics Tutorial

Best Practices for Designing Effective Map Services

ArcCatalog or the ArcCatalog tab in ArcMap ArcCatalog or the ArcCatalog tab in ArcMap ArcCatalog or the ArcCatalog tab in ArcMap

Chapter 10: Editing Data

CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam

ArcGIS Pro Terminology Guide

ArcGIS Pro Terminology Guide

Effective Geodatabase Programming. Colin Zwicker Erik Hoel

Developers Road Map to ArcGIS Desktop and ArcGIS Engine

Polygon Analysis. Download and unzip the personal geodatabase polygon_analysis_lab.mdb from.

Microsoft Office Access 2007: Intermediate Course 01 Relational Databases

Answer the following general questions: 1. What happens when you right click on an icon on your desktop? When you left double click on an icon?

COMM 391. Objectives. Introduction to Microsoft Access. What is in an Access database file? Introduction to Microsoft Access 2010

ArcMap Editing Tips and Tricks. Sean Jones

Facilities Management Data Input, Editing and Management. Adrien Litton

Object modeling and geodatabases. GEOG 419: Advanced GIS

Effective Geodatabase Programming. Colin Zwicker Erik Hoel

EFFECTIVE GEODATABASE PROGRAMMING

ESRI Technology Update. Joe Holubar Larry Young

ORACLE DATABASE 12C INTRODUCTION

ArcGIS Desktop The Road Ahead. Amadea Azerki

By Colin Childs, ESRI Education Services. Catalog

Geodatabase and Object Model Design Using CASE Tools. Julio Andrade Erik Hoel

Spatial Data Standards for Facilities, Infrastructure, and Environment (SDSFIE)

LSGI 521: Principles of GIS. Lecture 5: Spatial Data Management in GIS. Dr. Bo Wu

Integrating CAD Data with ArcGIS

What s New in ArcGIS Server 10

ICIT. Brian Hiller ESRI Account Manger. What s new in ArcGIS 10

MSBI( SSAS, SSIS, SSRS) Course Content:35-40hours

What s s Coming in ArcGIS 10 Desktop

Esri Geodatabase (File Geodatabase API) Reader/Writer

Key Terms. Attribute join Target table Join table Spatial join

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010

Data Interoperability An Introduction

Topology in the Geodatabase: An Introduction

Automating Geodatabase Creation with Geoprocessing

LAB 1: Introduction to ArcGIS 8

Building Geodatabases Tutorial

Cartographic Techniques and Representations

ARC HYDRO GROUNDWATER TUTORIALS

Appendix C: GIS Standards and Procedures

Chapter 9: Relational DB Design byer/eer to Relational Mapping Relational Database Design Using ER-to- Relational Mapping Mapping EER Model

Forestry Data Model User Guide. Version 2.0 January, 2013

What is Network Analyst?

ArcGIS Runtime SDKs Building Offline Apps. Nick Furness

ENVI Py for ArcGIS Documentation

Geodatabase Database Design. Tomislav Sapic GIS Technologist Faculty of Natural Resources Management Lakehead University

Building Desktop Applications with Java. Eric Bader Vishal Agarwal

1. SQL Server Integration Services. What Is Microsoft BI? Core concept BI Introduction to SQL Server Integration Services

Python: Getting Started. Ben

Advanced Parcel Editing. Amy Andis Tim Hodson

SANDAG LANDCORE GEODATABASE MIGRATION AND WORKFLOWS

Ch 9: Mapping EER to Relational. Follow a seven-step algorithm to convert the basic ER model constructs into relations steps 1-7

Course Prerequisites: This course requires that you meet the following prerequisites:

Best Practices for Designing Effective Map Services

MSBI (SSIS, SSRS, SSAS) Course Content

7. Query Processing and Optimization

Easy ArcObjects Turbocharging

Introduction to ArcGIS Server Architecture and Services. Amr Wahba

FME Desktop. Esri ArcGIS v10.3 Pathway Training. FME Edition

Integrating Imagery into ArcGIS Runtime Application. Jie Zhang, Zhiguang Han San Jacinto, 5:30 pm 6:30 pm

Entity Attribute STUDENT TABLE tuples single domain

Integrating Word, Excel, Access, and PowerPoint

Esri Best Practices: QA/QC For Your Geodata. Michelle Johnson & Chandan Banerjee

Developer's Guide to Geodata Access in ArcGIS. Craig Gillgrass Brent Pierce Colin Zwicker Russell Brennan Gary MacDougall

What s New in Desktop 10.1

ArcGIS Apps for the Mobile Worker. Presented by: Sue Enyedy-Goldner

ArcGIS for Server Michele Lundeen

Geog 469 GIS Workshop. System Requirements

OBJECTIVES. How to derive a set of relations from a conceptual data model. How to validate these relations using the technique of normalization.

Course 55197A: Microsoft SharePoint Server 2016 for the Site Owner/Power User

The Road to Runtime. Mark Cederholm UniSource Energy Services Flagstaff, Arizona

FME Desktop. Esri ArcGIS v Pathway Training. FME 2014-SP2 Edition

6232B: Implementing a Microsoft SQL Server 2008 R2 Database

ArcGIS Apps for the Mobile Worker. Presented by: Sue Enyedy-Goldner

Data Interoperability Extension Tutorial

Open an existing database Sort records in a table Filter records in a table Create a query Modify a query in Design view

AVANTUS TRAINING PTE LTD

Data Interoperability An Introduction

Transcription:

Leveraging Relationship Classes in the Geodatabase Colin Zwicker

Presentation Outline What is a relationship class? How to create a relationship class Navigating between related objects Editing with a relationship class

What is a Relationship Class? An item in the Geodatabase that stores information about a relationship between two feature classes and/or tables. Example:

What is a Relationship Class? An item in the Geodatabase that stores information about a relationship between two object classes. Example: ParcelToBuilding

What is a Relationship Class? An item in the Geodatabase that stores information about a relationship between two object classes. Example: ParcelToBuilding Origin Destination Primary Key Foreign Key

What is a Relationship Class? An item in the Geodatabase that stores information about a relationship between two object classes. Example: ParcelToBuilding Origin Destination Primary Key Foreign Key

Why use a Relationship Class? Navigating - Identify related objects Editing - Facilitate editing with automatic updates - Relationship rules define and control how objects relate - Relationship rules can be enforced through Validation Versioning - Participate in versioning

Relationship Classes vs. Relates and Joins Relationship classes On-the-fly relates Joins Scope Geodatabase Cross database or data source Cross database or data source Typical uses Ensuring data integrity Editing with low overhead Labeling, symbology Composite objects Yes No No Attributes Yes No No Relationship rules Yes No No

Relationship Classes vs. Relates and Joins Relationship classes On-the-fly relates Joins Scope Geodatabase Cross database or data source Cross database or data source Typical uses Ensuring data integrity Editing with low overhead Labeling, symbology Composite objects Yes No No Attributes Yes No No Relationship rules Yes No No

Relationship Classes vs. Relates and Joins Relationship classes On-the-fly relates Joins Scope Geodatabase Cross database or data source Cross database or data source Typical uses Ensuring data integrity Editing with low overhead Labeling, symbology Composite objects Yes No No Attributes Yes No No Relationship rules Yes No No

How to create a Relationship Class? Catalog - Relationship Class Wizard Geoprocessing Tools - Located in the Data Management toolbox - Create Relationship Class - The same as the wizard - Table to Relationship Class - Used to create an intermediate relationship class table from an existing table

Creation and Navigation Create a Relationship Class Navigate between related features

Editing with a Relationship Class Behavior is dependent on the type of relationship class Simple - Objects are independent of one another - Ex. Parcels and Owners Composite - Destination objects are dependent on the related origin objects - Ex. Utility Poles and Transformers

Editing Origin Objects with a Relationship Class Delete Simple Foreign key set to Null in objects related to deleted object Composite Objects related to deleted object are deleted Merge Foreign key set to Null in objects related to deleted object Objects related to deleted object are deleted Split Larger part of the split maintains the relationships Larger part of the split maintains the relationships Move/ Rotate No effect on related objects If messaging is set to Forward the related objects will also move

Editing Origin Objects with a Relationship Class Delete Simple Foreign key set to Null in objects related to deleted object Composite Objects related to deleted object are deleted Merge Foreign key set to Null in objects related to deleted object Objects related to deleted object are deleted Split Larger part of the split maintains the relationships Larger part of the split maintains the relationships Move/ Rotate No effect on related objects If messaging is set to Forward the related objects will also move

Editing Origin Objects with a Relationship Class Delete Simple Foreign key set to Null in objects related to deleted object Composite Objects related to deleted object are deleted Merge Foreign key set to Null in objects related to deleted object Objects related to deleted object are deleted Split Larger part of the split maintains the relationships Larger part of the split maintains the relationships Move/ Rotate No effect on related objects If messaging is set to Forward the related objects will also move

Relationship Class Rules Restrict how objects in the origin and destination classes can be related Set the minimum and maximum number of relatable objects Set rules based on subtypes to constrain the types of objects that can be related Validate the rules in an edit session

Relationship Class Rule Example Utility Pole - Transformer Pole Subtypes: Wood or Steel Transformers must be related to 1 pole Wood poles can support 1 to 2 transformers Steel poles can support 1 to 3 transformers

Editing Editing with Relationship Classes

Relationship Classes Summary Relates two object classes that are stored in the same Geodatabase Stored in a feature dataset or as a stand alone relationship class Created in Catalog with the Relationship Class wizard or a Geoprocessing tool Navigate between related objects Enforces referential integrity

Unsupported Recursive relationships Composite keys

Things to consider with composite If a composite relationship class exists between two classes, no other relationship class can be created between the same two classes. An object class cannot be the destination in more then one composite relationship class. It is not recommended to use composite relationship classes with feature classes that are participating in a geometric network

Geodatabase ArcObjects API To create a relationship class - IFeatureWorkspace.CreateRelationshipClass - IRelationshipClassContainer.CreateRelationshipClass To get and set relationship class properties - IRelClassSchemaEdit - IRelationshipClass - IRelationshipRule - IRelationship