Professional Documents
Culture Documents
Vagis 2006
Vagis 2006
Stuart Blankenship
Geographic Information System Manager
Software
VEDP
MAIN
Important • Be sure to reconcile personal version with main version when beginning each edit session.
• Post to main version regularly when edits are complete so other users can reconcile any changes.
Notes
• GIS Manager will post all changes from main to protected default version.
Automated Reconcile/Post/Compress
of SDE Database
Databases
Linking Tables
Higher Education Demographics GIS Data (SDE) Sites Schools
GIS Data Sites
Degrees Offered Population Sites Geography Sites Test Scores
Sites Geography Sites Enrollment Households County Geography Counties Enrollment
County Geography Counties
• Disadvantages
• More Complex to Setup and Required Some RDBMS
Experience
• Versioned Feature Classes Require Special Treatment (more
later)
Spatial View
Examples
• SDE Layer Joined to Data
in Separate “Geography”
Database Maintained by
Other Divisions at VEDP
Complex Queries
Complex
Queries
Spatial View Examples
sdetable -o create_view
-T SV_HIGHER_ED
-t "HIGHER_ED,dbo.v_Higher_Education"
-c "HIGHER_ED.SHAPE, HIGHER_ED.NAME, v_Higher_Education.Type"
-w HIGHER_ED.INSTCODE=v_Higher_Education.Instcode
-u username
-p password
-s server
-i sde_instance
-D database
• Important to Maintain
Table Structure
•Select Columns
Individually Instead of
Using Select *
• Consider Using Trigger
to Notify GIS Staff When
Records Have Been
Added or Deleted
SDE Spatial Views and Versions
• Spatial Views Are Not Version Aware and Will NOT Pull Data
from Adds and Deletes Tables
• SDE Database Needs to Be Fully Compressed Regularly
Which Will Push All Changes Into the Business Table
• Until Compress is Performed, View Will Not Function
Properly
• Possibly Use SDE Multiversioned Views Which Will
Allow Access to Multiversioned Business Table
Conclusions
• Spatial Views Can Be a Great Tool for Data Management If
You Need to Pull Together Data From Multiple Sources
• Be Aware That There Is Not a Great Deal of Documentation –
ESRI’s Support Center Does Have Some Good Discussions on
the Subject Among SDE Users
• If You’re SDE Database Is Versioned and Data Is Regularly
Edited, Regular Database Compression Should Be Built Into the
Workflow
• The New Release of ArcSDE 9.2 Will Have an Impact on How
Spatial Views Are Managed (Non-Versioned Editing)
New VirginiaScan Interactive Map
Thank You
http://www.yesvirginia.org
http://gis.vedp.org