ShafiqullahRahmani
14 views
31 slides
Mar 02, 2025
Slide 1 of 31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
About This Presentation
gis
Size: 2.69 MB
Language: en
Added: Mar 02, 2025
Slides: 31 pages
Slide Content
GEOL 404/504 GEOL 404/504
Advanced GISAdvanced GIS
Sudhanshu Sekhar Panda, PhD
Lecturer/GeoSTAC Coordinator
GIS Training and Research Center
Idaho State University
Spring 2006
Today’s TopicsToday’s Topics
•Advanced
Geodatabase
features
–Geodatabase element
–GDB Design/ reading
schemas
–Domains
–Relationships
–Topology rules and
editing
Feature data set
Feature class
Geometric network
Annotation class
Geodatabase ElementsGeodatabase Elements
Geodatabase
Relationship class
Table
GDB DesignGDB Design
•A critical step
•UML modeling for
ArcGIS
–IBM Rational Rose
–MS Visio
•Class diagrams
Reading SchemasReading Schemas
Structural
Logical
Most data access technologies provide a way for you to query the
schema of a database, and obtain information about the tables,
stored procedures, data types, users, and other content of a database.
The Spatial DomainThe Spatial Domain
•The Geodatabase stores all geometry
coordinates as positive integers
–Faster Display, Processing, and Analysis
–Better Compression (DBMS only)
–Efficient for managing topologic
relationships
•Limited to 2,147,423,647 storage units.
–2.14x10
9
meters, or miles, or inches, or ...
Example: Spatial DomainExample: Spatial Domain
•All GIS Features Must Fit Within this
Positive, 32-bit Integer Space.
OFF LIMITS
2,147,423,647
2,147,423,647
0
0
The Database’s
Spatial Domain
Storing Feature Storing Feature
CoordinatesCoordinates
Two important considerations when storing
feature coordinates in a Geodatabase:
1.All data is stored as positive, 32-bit
integers (Spatial Domain)
2.All data must maintain a Coordinate
Precision.
Coordinate PrecisionCoordinate Precision
•The geodatabase converts all
coordinates into 32-bit Storage Units.
•Storage Units are the smallest
measurable unit that can be stored in a
Geodatabase.
•Precision is used to convert coordinate
system units into storage units.
Example: Coordinate Example: Coordinate
PrecisionPrecision
Floating Point
Coordinate in ArcGIS
(123.456000)
Multiply by Precision
123.456789 × 1000
Divide by Precision
123456 ÷ 1000
Integer Storage Unit
in a Geodatabase
(123456)
X = 123.456789
Precision =1000
•Precision is a Scale Factor
–Used to preserve decimal places before
rounding
–Larger precision preserves more digits
Example: Precision Example: Precision
PreservationPreservation
Coordinate
system units÷
Precision=
Storage
units
Meters 100 1 cm
Meters 1000 1 mm
Meters 50 2 cm
Feet 12 1 inch
Coordinate System Units
Precision
Storage Units =
RelationshipsRelationships
•Connect spatial
data to its attribute
data
•Implement and
enforce referential
integrity
Flat Files
Flat files are easier to understand
Difficult to manage and manipulate
Larger file size
Relational Databases
Relational databases more difficult to implement
Reduce data redundancy
Data integrity is improved
Relational vs. Flat-FilesRelational vs. Flat-Files
Database includes multiple tables
Tables contain a single subject
Tables are joined by relationships
Examples of relational database
programs:
–Microsoft Access
–Microsoft
®
SQL Server™
–Oracle
–DB2
–FoxPro
What is a Relational Database?What is a Relational Database?
Eliminate duplicate information
Assist in querying data
Simpler to manipulate data
Reduce disk space
Why Use a Relational Database?Why Use a Relational Database?
RelationshipsRelationships
•Determine where
relationships exist
between tables
•Determine the type
of relationship that
exists
–One-to-one
–One-to-many
–Many-to-one
–Many-to-Many
One-to-One One-to-One
RelationshipsRelationships
Most common type of relationship
Related between primary and foreign keys
One-to-Many One-to-Many
RelationshipsRelationships
Not directly supported between tables
Use a junction table to relate
One order, many products
One product, many orders
Many-to-Many Many-to-Many
RelationshipsRelationships
Design Jargon and SymbolsDesign Jargon and Symbols
Symbolizing a TableSymbolizing a Table
•Table name
•Divider
•List of all
attributes
stored in this
table as they
will appear in
the table
Parcels
Parcel_ID
TRS
Value
Zoning
Symbolizing RelationshipsSymbolizing Relationships
•Draw schematic of RDB
•Determine relationship
fields
•Connect
Table A
Table B
A_ID
Relate_field
B_ID
Relate_field
•One-to-one
•One-to-many
•Zero?
Symbolizing Relationship Symbolizing Relationship
TypesTypes
Table A
Table B
A_ID
Relate_field
B_ID
Relate_field
TopologyTopology
•Definition: The physical layout of a
network
•“The relationship among features
within a GIS dataset”.
–Shapefiles are NON-Topological
–Coverages are Topological
•Basic topology (area, perimeter, ID’s,
etc.)
Full TopologyFull Topology
•“The spatial relationship among
feature classes participating in a
topology layer”
–Must belong to a feature dataset
•Feature classes share geographic reference
system,
•and spatial domain.
–More realistic representation of data
Full Topology RulesFull Topology Rules
•User managed
•Customized
Polygon RulesPolygon Rules
Key ConceptsKey Concepts
•This topic provides you with knowledge
in GIScience.
•You will learn/experience some GIS-
housekeeping.
•You will learn/experience new and
advanced techniques and
applications.