60
Editing Versioned Geodatabases : An Introduction Cheryl Cleghorn and Shawn Thorne

Editing Versioned Geodatabases : An Introduction

  • Upload
    ormand

  • View
    26

  • Download
    0

Embed Size (px)

DESCRIPTION

Editing Versioned Geodatabases : An Introduction. Cheryl Cleghorn and Shawn Thorne. Assumptions:. Basic knowledge of relational databases Basic knowledge of the Geodatabase data model Other sessions that focus on the geodatabase data model. Requests:. - PowerPoint PPT Presentation

Citation preview

Page 1: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

Editing Versioned Geodatabases : An IntroductionCheryl Cleghorn and Shawn Thorne

Page 2: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

Basic knowledge of relational databases

Basic knowledge of the Geodatabase data model

- Other sessions that focus on the geodatabase data model

Assumptions:Assumptions:

Editing Versioned Geodatabases : An Introduction

Page 3: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Please hold questions until Q&A

Requests:Requests:

• Please silence smart devices

Editing Versioned Geodatabases : An Introduction

Page 4: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Introduction to the Multi-user Geodatabase

• Versioning

• Types of Editing

• Archiving

• Geodatabase Replication

• Q & A

Session Path

Editing Versioned Geodatabases : An Introduction

Page 5: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

Session Path

• Introduction to the Multi-user Geodatabase

- What is the Geodatabase?

- The Geodatabase Management Approach

- Different types of Geodatabases

- The Multi-user Geodatabase

• Versioning

• Types of Editing

• Archiving

• Geodatabase Replication

• Q & A

Editing Versioned Geodatabases : An Introduction

Page 6: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Physical data store

• Core ArcGIS data model

• Transactional model

• COM components

What is the Geodatabase?

Editing Versioned Geodatabases : An Introduction

Page 7: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

Personal GDB File GDB Multi-user GDB(3 editions)

Storage format MicrosoftAccess

Folder ofbinary files

DBMS

Storage capacity 2 GB 1 TBper table*

Depends onedition

Supported O/S platform

Windows Any platform Depends onedition

Number of users Single editorMultiple readers

Single editorMultiple readers

Multiple editors& readers

Distributed GDB functionality

Check out/check inOne way replication

Check out/check inOne way replication

Replication(all types)

& versioning

Three Types of Geodatabases

Editing Versioned Geodatabases : An Introduction

Page 8: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

Mulit-user Geodatabase Data Management Approach

Extend functionality and data integrity

Short transactions

Flexibility

DBMS

Reliability

Integrity

Scalability

Simple classes logic

AEditing Versioned Geodatabases : An Introduction

Page 9: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

Editing and data compilation

Multi-user Geodatabase Data Management Approach…Multi-user Geodatabase Data Management Approach…

Oops!

Editing Versioned Geodatabases : An Introduction

Page 10: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Versioning workflows

- Long transactions

- Distributed data management

• Robust, customizable framework

Multi-user Geodatabase Data Management Approach…Multi-user Geodatabase Data Management Approach…

Editing Versioned Geodatabases : An Introduction

Page 11: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Previously called an ArcSDE Geodatabase

• ESRI’s geospatial technology

• Unique capabilities:

- Many supported DBMSs

- Full, open SQL access

- Versioning

- Archiving

- Replication

What is a Multi-user Geodatabase?

Editing Versioned Geodatabases : An Introduction

Page 12: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

How is ArcSDE technology included in ArcGIS?

Multi-userMulti-userGeodatabaseGeodatabase

A

Operating system

DBMS

ArcSDE technology

Geodatabase

ArcGIS

Editing Versioned Geodatabases : An Introduction

Page 13: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

Desktop

Geodatabase

Workgroup

Geodatabase

Enterprise Geodatabase

ArcGIS Product

ArcGIS Desktop and Engine

ArcGIS Server Workgroup ArcGIS Server Enterprise

Administration ArcGIS Desktop

(ArcCatalog)

ArcGIS Desktop

(ArcCatalog)

ArcGIS Desktop,

Geoprocessing tools

• Same functionalities

Three editions of Multi-user Geodatabase

Scales from small, personal systems up to workgroups and very large enterprises

Editing Versioned Geodatabases : An Introduction

Page 14: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

Desktop

Geodatabase

Workgroup

Geodatabase

Enterprise

Geodatabase

ArcGIS Product

ArcGIS Desktop and Engine

ArcGIS Server Workgroup ArcGIS Server Enterprise

Number of users

Max 3 users, 1 editor at any one time

Max 10 clients at one time

No limit to the number of connections

Unlimited

Administration ArcGIS Desktop

(ArcCatalog)

ArcGIS Desktop

(ArcCatalog)

ArcGIS Desktop,

Geoprocessing tools

Which Multi-user Geodatabase edition?

Editing Versioned Geodatabases : An Introduction

Page 15: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

Desktop

Geodatabase

Workgroup

Geodatabase

Enterprise

Geodatabase

ArcGIS Product

ArcGIS Desktop and Engine

ArcGIS Server Workgroup ArcGIS Server Enterprise

Number of users

Max 3 users, 1 editor at any one time

Max 10 clients at one time

No limit to the number of connections

Unlimited

Supported DBMS

SQL Server Express SQL Server Express Oracle, SQL Server, DB2, Informix, PostGreSQL

Administration ArcGIS Desktop

(ArcCatalog)

ArcGIS Desktop

(ArcCatalog)

ArcGIS Desktop,

Geoprocessing tools

Which Multi-user Geodatabase edition?

Editing Versioned Geodatabases : An Introduction

Page 16: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

Desktop

Geodatabase

Workgroup

Geodatabase

Enterprise

Geodatabase

ArcGIS Product

ArcGIS Desktop and Engine

ArcGIS Server Workgroup ArcGIS Server Enterprise

Number of users

Max 3 users, 1 editor at any one time

Max 10 clients at one time

No limit to the number of connections

Unlimited

Supported DBMS

SQL Server Express SQL Server Express Oracle, SQL Server, DB2, Informix, PostGreSQL

Resource limits

Max database size 4 Gig

1 GB RAM on a single cpu

Max database size 4 Gig

1 GB RAM on a single cpu

No limits

Administration ArcGIS Desktop

(ArcCatalog)

ArcGIS Desktop

(ArcCatalog)

ArcGIS Desktop,

Geoprocessing tools

Which Multi-user Geodatabase edition?

Editing Versioned Geodatabases : An Introduction

Page 17: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Introduction to the Multi-user Geodatabases

• Versioning

- What is it?

- Why Use Versioning?

• Types of Editing

• Archiving

• Geodatabase Replication

• Q & A

Session Path

Editing Versioned Geodatabases : An Introduction

Page 18: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Multi-user Technology

Versioning: What is it?

Editing Versioned Geodatabases : An Introduction

Page 19: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• An alternative view of the Geodatabase

• Edits independent of other versions

Parks

Version:

Editing Versioned Geodatabases : An Introduction

Page 20: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• An alternative view of the Geodatabase

• Edits independent of other versions

Version:

Parks

Editing Versioned Geodatabases : An Introduction

Page 21: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Multiple Editors

• Different Views of the Data

• Editing Complex Data (e.g. Geometric Networks)

• Replication

Why Use Versioning?

Editing Versioned Geodatabases : An Introduction

Page 22: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Editing with long transactions• Isolate work across multiple sessions

• Edits do not impact others

• Model what-if scenarios

Why Use Versioning?...

Editing Versioned Geodatabases : An Introduction

Page 23: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Introduction to the Multi-user Geodatabase

• Versioning

• Types of Multi-user Geodatabase Editing

- Versioned Editing

- Non-Versioned Editing

- Editing through SQL

• Archiving

• Geodatabase Replication

• Q & A

Session Path

Editing Versioned Geodatabases : An Introduction

Page 24: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Short Transactions

- E.g., ATM transactions, Library records, Timecards

• Long Transactions

- E.g., Parcel updates

- General geographic editing

• GIS editors need both short and long transactions

Editing Multi-user Geodatabases

Farmland Residential

Editing Versioned Geodatabases : An Introduction

Page 25: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

- Versioned Editing (Long Transactions)

- Non-Versioned Editing (Short Transactions)

- Editing through SQL (Short Transactions)

Three ways to edit Multi-user Geodatabases

Editing Versioned Geodatabases : An Introduction

Page 26: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Versioned Edit Sessions

- Through a version

- Concurrent editing

- Long transactions (hours/days)

- Undo/Redo

Versioned Editing

DEFAULT

Design

Work Order

Editing Versioned Geodatabases : An Introduction

Page 27: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• ….Register as Versioned

How Versioning Works

Business or Base table

Editing Versioned Geodatabases : An Introduction

Page 28: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Registered as Versioned

- Creates Adds and Deletes tables for tracking edits

How Versioning Works

Editing Versioned Geodatabases : An Introduction

Page 29: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Adding Features- Record added to the Adds Table

- Version will be referenced (SDE_State_ID Field)

How Versioning Works

Editing Versioned Geodatabases : An Introduction

Page 30: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Deleting Features

- Record added to Deletes Table

- Version will be referenced (Deleted_At field)

How Versioning Works

Editing Versioned Geodatabases : An Introduction

Page 31: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Updating Features

- Record added to both Adds and Deletes table

- Version will be referenced (SDE_State_ID Field)

How Versioning Works

Editing Versioned Geodatabases : An Introduction

Page 32: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Versioned feature classes:

- Base Tables, Adds Tables & Deletes Tables

How Versioning Works

Deletes Tables

Adds Tables

ArcGIS ClientBase Tables

AEditing Versioned Geodatabases : An Introduction

Page 33: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Shawn Thorne

Editing Versioned Geodatabases : An Introduction

Page 34: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• How can versions be consolidated?

Versioned Editing – Reconcile and Post

Editing Versioned Geodatabases : An Introduction

Page 35: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Incorporate changes from the target version

Versioned Editing – Reconcile

Editing Versioned Geodatabases : An Introduction

No locks on edit

Page 36: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• No locks on edit- Data overwritten?

- Conflict detection

• Conflict Resolution Dialog

Reconcile and Conflicts

AEditing Versioned Geodatabases : An Introduction

Page 37: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Incorporate with target version

- After a post versions are identical

Versioned Editing – Post

Editing Versioned Geodatabases : An Introduction

Page 38: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Shawn Thorne

Editing Versioned Geodatabases : An Introduction

Page 39: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Directly editing the base tables

• Benefits IT integration

• Database integrity rules

• Simple data only (Points, Lines, Polygons)

• No Undo/Redo

Non-Versioned Editing

Deletes Tables

Adds TablesBase Tables

Editing Versioned Geodatabases : An Introduction

Page 40: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

But I want both…

Deletes Tables

Adds Tables

Base Tables

Deletes Tables

Adds Tables

Base Tables

Versioned Non-versioned

Editing Versioned Geodatabases : An Introduction

Page 41: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Hybrid

- versioned and non-versioned

• Simple data only

- Points, lines, polygons, annotation, relationship classes

Versioned Editing - Move to Base Option

IT integration

Database constraints

Editing Versioned Geodatabases : An Introduction

Page 42: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Attributes

• Geometry

- Spatial Types- Non-ArcGIS Client

- SQL access to geometries

• Versions

• No geodatabase functionality

SQL Editing

Editing Versioned Geodatabases : An Introduction

Page 43: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Three ways to edit data

1. Versioned Editing

2. Non-Versioned Editing

3. SQL Editing

• Which one do I use?

• Depends: > Short vs. Long Transactions?

> non-ArcGIS clients?

> Multi-editor requirement?

Multi-user Geodatabase Editing Summary

Editing Versioned Geodatabases : An Introduction

Page 44: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Introduction to the Multi-user Geodatabases

• Versioning

• Types of Editing

• Archiving

- What is it?

- How is it used?

• Geodatabase Replication

• Q & A

Session Path

Editing Versioned Geodatabases : An Introduction

Page 45: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Edit history- Versioned data

- Non-versioned data

• Temporal queries

Geodatabase Archiving: What is it?

TimeTime

Editing Versioned Geodatabases : An Introduction

Page 46: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Extends versioning

1. Register as Versioned

2. Enable Archiving

Versioned Archiving: How it works

F T

Archive Table

Base Table

Delta Tables

Adds

Deletes

Default version

A

Page 47: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Save edits on the Default version- changes added to archive table

Versioned Archiving: How it works

F T

Archive Table

Base Table

Delta Tables

Adds

Deletes

AEditing Versioned Geodatabases : An Introduction

Page 48: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

Non-versioned Archiving: How it works

Editing Versioned Geodatabases : An Introduction

Business TableF T

Business Table

Enable archiving

Edits

Current Data View

Page 49: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Two query methods

- specific date and time

- historical marker

Geodatabase Archiving: usage

AEditing Versioned Geodatabases : An Introduction

Page 50: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Shawn Thorne

Editing Versioned Geodatabases : An Introduction

Page 51: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Introduction to Multi-user Geodatabases

• Versioning

• Types of Editing

• Archiving

- Geodatabase Replication

- Q & A

Session Path

Editing Versioned Geodatabases : An Introduction

Page 52: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Distribute subsets of data - Platform independent

• Data edited independently - synchronized when needed

Geodatabase Replication

Child

Parent

Child

Child Child

Editing Versioned Geodatabases : An Introduction

Page 53: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

Distributed Geodatabase Use Cases

Central Office

ProductionGeodatabase

Readers

ArcIMSArcGISServer

Editors

PublicationGeodatabase

Main Office

Regional Office

LocalOffice

LocalOffice

Regional Office

Regional Office

LocalOffice

LocalOffice

LocalOffice

LocalOffice

LocalOffice

LocalOffice

LocalOffice

Multiple Levels / Replica Tree

Mobile Users

Production / Publication

Other

Clients

ArcGIS

Server

Central Hub

Page 54: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• You can replicate :- Any version

- Specific datasets

- A subset of features in the chosen datasets

Geodatabase Replication - Concepts

Editing Versioned Geodatabases : An Introduction

Source

Target

Parent Replica_A

Child Replica_A

A

Page 55: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

Three Types of Replicas

Editing Versioned Geodatabases : An Introduction

One-way

Two-wayMultiple times

edits

Child geodatabase

Parentgeodatabase

edits

Child geodatabase

Parentgeodatabase

Check out / Check in

Once only

editsChild

geodatabaseParent

geodatabase

OROR

Multiple times

A

Page 56: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Shawn Thorne

Editing Versioned Geodatabases : An Introduction

Page 57: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Distribute data across Geodatabases

• Different Replication workflows- Check out / Check in

- One-way

- Two-way

Geodatabase Replication - Summary

Editing Versioned Geodatabases : An Introduction

Page 58: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |

• Introduction to the Multi-user Geodatabases

• Versioning

• Types of Editing

• Archiving

• Geodatabase Replication

Session Path - Summary

Editing Versioned Geodatabases : An Introduction

Page 59: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop |Esri UC 2014 | Technical Workshop |

Thank you…

Geodatabase Administration: An Introduction

Please fill out the session survey:

Offering ID: 1648

Online – www.esri.com/ucsessionsurveysPaper – pick up and put in drop box

Page 60: Editing Versioned Geodatabases :  An Introduction

Esri UC 2014 | Technical Workshop | Editing Versioned Geodatabases : An Introduction