data structures & geodatabase. geodatabase implemented in a relational database comes in two...
TRANSCRIPT
![Page 1: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/1.jpg)
Data Structures & GeoDatabase
![Page 2: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/2.jpg)
GeoDatabase• Implemented in a relational database• Comes in two flavors – Personal &
Enterprise (Access & Sys. Like Oracle) • Supports a model of topologically
integrated feature classes - 2D & 3D• Supports Data Models -- ArcHydro• Use can be simple or very complex!• In some applications database
designers will be needed to tune the database operation!
• Can use many different data structures
![Page 3: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/3.jpg)
Outline
• Before looking at GeoDatabases we need to take a detailed look at the structure of the various types of data that can be used in a GeoDatabase
• Then we can look at the complexities of the GeoDatabase its self
![Page 4: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/4.jpg)
Data Structures
Access
DBase
Shapefile
Coverage
GeoDataBase
GI
Spatial Data Attribute Data
Access
DBase
Other DBs
Grid
Raster
IDRISI
Vector
TopologicalNon-
Topological
Shapefile High levelData Models
Simple Data
TIN Object OrientedCoverage RegionsDynamic
segmentation
GeoDataBase
Access
DBase
Shapefile
Coverage
GeoDataBase
GI
Spatial Data Attribute Data
Access
DBase
Other DBs
Grid
Raster
IDRISI
Vector
TopologicalNon-
Topological
Shapefile High levelData Models
Simple Data
TIN Object OrientedCoverage RegionsDynamic
segmentation
GeoDataBase
Images
![Page 5: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/5.jpg)
Data Structures
• You have to know something about these Vector structures– Shapefiles (multiple files same name)– Coverages (Folders)
• Workstation – (folder with INFO file)• PC (folder WITHOUT an INFO file)
– Can only open in ArcView3.3– Can then convert to a Shapefile
![Page 6: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/6.jpg)
Data Structures
• You have to know something about these structures– Raster
• GRIDS
– Images• MrSid• Tiff• ERDAS• Etc/
![Page 7: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/7.jpg)
Vector: General
• Points are defined by a single x,y coordinate pair
• Lines are defined by two or more x,y coordinate pairs
• Polygons are defined by lines that close to form the polygon boundaries
![Page 8: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/8.jpg)
3 Shape files for map
Points, lines, polys
![Page 9: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/9.jpg)
Vector: ShapefilesExtension Require
dWhat it is
.dbf Attribute data file
.shp Geometry
.shx Index to geometry
.sbn, .sbx Spatial index of features
.fbn, fbx Spatial index read only features
.ain, aih Attribute Index of active fields
.xml Metadata (AV8+)
.avl Legend data (Av3.x)
.prj Projection data etc.
![Page 10: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/10.jpg)
Vector: Topology• Shapefiles are said to have NO topology• But they do (see Practical Vector GIS)• WHAT IS IT???• Topological association: spatial relationship
between features that share geometry• In Coverages (Workstation & PC): spatial
relationships between connecting or adjacent features in a data layer
• In GeoDatabases: a set of rules applied to feature classes that explicitly define spatial relationships that must exist between features.
![Page 11: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/11.jpg)
Note:
• The chapter (2) in Practical Vector GIS has a lot of good information about this subject
![Page 12: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/12.jpg)
Vector: Workstation Coverages
• Workstation ArcInfo coverages are a very common data structure
• They are stored in a workspace• A Workspace is any folder that has
– An INFO folder– And a set of coverages folders that have
• A bunch of .ADF files
• DON’T EVER MOVE THE CONTENTS OF A WORKSPACE EXCEPT IN ARC CATALOG!
![Page 13: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/13.jpg)
Vector: Workstation Coverages
• Workstation ArcInfo coverages are a very common data structure
• A Workspace is any folder that has – An INFO folder– And a set of coverages folders that
have• A bunch of .ADF files
These folders are all
coverages
Line data
Extent
Poly or Point Attribute Table
TIC tableAn .AAT is a Arc Attribute table
![Page 14: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/14.jpg)
A Coverage: pointsTIC
![Page 15: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/15.jpg)
A Coverage: points
![Page 16: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/16.jpg)
A Coverage: Arcs
![Page 17: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/17.jpg)
2 Coverages for map
Can’t have Points and Polys in same coverage because polys have a label point in each poly – confusion would abound!
![Page 18: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/18.jpg)
Raster data
•We have looked at this structure before•Here is ESRI’s diagram•The elevation values are average for each cell in the raster•There are a number of raster formats – ESRI’s is GRID
![Page 19: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/19.jpg)
GRID STRUCTUREESRI COURSE VIEW OF SOILS
Explorer view
AWorkspace
![Page 20: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/20.jpg)
Image data• A raster-based representation of a scene
• Cell attributes are NOT like feature data
• Typically produced by an optical or electronic device,
– camera or
– scanning radiometer.
• Examples
– remotely sensed data (for example, satellite data)
– scanned data, and photographs.
• Stored as a raster dataset of binary or integer values that represent the intensity of reflected light, heat, sound, or any other range of values on the electromagnetic spectrum.
• An image may contain one or more bands.
![Page 21: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/21.jpg)
Image data• A raster-based representation of a scene
• Cell attributes are NOT like feature data
• Typically produced by an optical or electronic device,
– camera or
– scanning radiometer.
• Examples
– remotely sensed data (for example, satellite data)
– scanned data, and photographs.
• Stored as a raster dataset of binary or integer values that represent the intensity of reflected light, heat, sound, or any other range of values on the electromagnetic spectrum.
• An image may contain one or more bands.
.tif – tagged Image File Format
.tfw – Tiff world file (location)
.sid – MrSID format (LizardTech)
.img – ERDAS Imagine format
.jpg – Joint Photographic Experts …
![Page 22: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/22.jpg)
USED FOR WHAT?
• Vector data – things with discrete borders– roads, minor civil divisions
• Raster data – continuous surfaces– Elevation, water table, sound levels
• Images – views of real world– Photos, satellite data
![Page 23: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/23.jpg)
The Geodatabase
• It is a single container for many feature classes (FC) (layers, {themes} of any feature class type)
• Quite often the FCs are stored in Feature Datasets (FDS)
• Come in two flavors– Personal in Access databases– Enterprise in large commercial databases
• Oracle, DB2, SQL Server, ArcSDE
![Page 24: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/24.jpg)
Geodatabase
Feature Dataset
Feature Classes
Stand alone Feature Classes
Source View
![Page 25: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/25.jpg)
Display view
ArcCatalog view
}Cover
Line(arc)
point
poly
Anno
Table
![Page 26: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/26.jpg)
You need to consider ...• What will it be used for?• What kind of data will be in the GDB
– Themes and geometry types (point, line, poly?)– Attributes -- spatial or non-spatial tables
• What will be the projection & data extent used?• What rules of data modification will be required?• Do you want to maintain relationships between
objects of different types?• Will you be using geometric networks?• Will you require topologically related features?• Will you store custom objects?
![Page 27: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/27.jpg)
Definitions
Do all those words mean??????????
![Page 28: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/28.jpg)
You need to consider ...• What will it be used for?• What kind of data will be in the GDB
– Themes and geometry types (point, line, poly?)– Attributes -- spatial or non-spatial tables What will it be
used for?• What kind of data will be in the GDB
– Themes and geometry types (point, line, poly?)– Attributes -- spatial or non-spatial tables
• What will be the projection used?• What rules of data modification will be required?• Do you want to maintain relationships between objects
of different types?• Will you be using geometric networks?• Will you require topologically related features?• Will you store custom objects?
•Connectivity: Constraint on the type of network features that may be connected to one another
–edge-junction rules–edge-edge rules
•Topology: Permissible relationships of features –within a feature class –between feature classes –between features in two different feature classes
![Page 29: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/29.jpg)
You need to consider ...• What will it be used for?• What kind of data will be in the GDB
– Themes and geometry types (point, line, poly?)– Attributes -- spatial or non-spatial tables What will it be used for?
• What kind of data will be in the GDB– Themes and geometry types (point, line, poly?)– Attributes -- spatial or non-spatial tables
• What will be the projection used?• What rules of data modification will be required?• Do you want to maintain relationships between objects of
different types?• Will you be using geometric networks?• Will you require topologically related features?• Will you store custom objects?
Associations or links between two or more objects in a GDB.
Relationships can exist between 1) spatial objects (features in a feature class) 2) non-spatial objects (records in a table, or 3) spatial and non-spatial objects
![Page 30: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/30.jpg)
You need to consider ...• What will it be used for?• What kind of data will be in the GDB
– Themes and geometry types (point, line, poly?)– Attributes -- spatial or non-spatial tables. What will it be used for?
• What kind of data will be in the GDB– Themes and geometry types (point, line, poly?)– Attributes -- spatial or non-spatial tables
• What will be the projection used?• What rules of data modification will be required?• Do you want to maintain relationships between objects of
different types?• Will you be using geometric networks?• Will you require topologically related features?• Will you store custom objects?
Objects: The representation of a real world entity stored in a GDB. An object has properties and behaviors.
![Page 31: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/31.jpg)
You need to consider ...• What will it be used for?• What kind of data will be in the GDB
– Themes and geometry types (point, line, poly?)– Attributes -- spatial or non-spatial tablesWhat will it be used for?
• What kind of data will be in the GDB– Themes and geometry types (point, line, poly?)– Attributes -- spatial or non-spatial tables
• What will be the projection used?• What rules of data modification will be required?• Do you want to maintain relationships between objects of
different types?• Will you be using geometric networks?• Will you require topologically related features?• Will you store custom objects?
A one dimensional nonplaner graph (mathematics) that is composed of features.These features are constrained to exist within the network and can, therefor, be considered network features.
![Page 32: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/32.jpg)
You need to consider ...• What will it be used for?• What kind of data will be in the GDB
– Themes and geometry types (point, line, poly?)– Attributes -- spatial or non-spatial tablesWhat will it be used for?
• What kind of data will be in the GDB– Themes and geometry types (point, line, poly?)– Attributes -- spatial or non-spatial tables
• What will be the projection used?• What rules of data modification will be required?• Do you want to maintain relationships between objects of
different types?• Will you be using geometric networks?• Will you require topologically related features?• Will you store custom objects?
Relationships between connected features in a geometric network ORShared borders between features in a topology
(Now that is circular!!!!)
![Page 33: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/33.jpg)
You need to consider ...• What will it be used for?• What kind of data will be in the GDB
– Themes and geometry types (point, line, poly?)– Attributes -- spatial or non-spatial tablesWhat will it be used for?
• What kind of data will be in the GDB– Themes and geometry types (point, line, poly?)– Attributes -- spatial or non-spatial tables
• What will be the projection used?• What rules of data modification will be required?• Do you want to maintain relationships between objects of
different types?• Will you be using geometric networks?• Will you require topologically related features?• Will you store custom objects?
Custom Objects: In ArcGIS you are NOT limited to the objects provided. New objects can be added
![Page 34: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/34.jpg)
More Definitions: Feature
• An object class in a GDB that has a field of type GEOMETRY.– Are stored in Feature Classes
• A representation of a real world object• A point, line or poly in a coverage or
shapefile• A representation of a real world object
in a layer on a map.
![Page 35: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/35.jpg)
More yet: Feature Class
• Conceptual representation of a category of geographic features.
• Includes point, line, poly & annotation
• In a GDB, an object that stores features and has a geometry field type
![Page 36: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/36.jpg)
Feature Dataset
• A collection of feature classes that share the same spatial reference.
• It is because they share the same spatial reference that they can participate in topological relationships with each other.
• Several feature classes with the same geometry may be stored in the same feature dataset.
• Object geometry and relationship classes can also be stored in a feature dataset
![Page 37: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/37.jpg)
Some others
• Edge: – A line segment in a topology that defines
lines or polys boundaries – Multiple features in one or more feature
classes may share topology edges
• Dataset:– Any feature class, table, or collection of
feature classes or tables in the GDB– A named collection of logically related data
items arranged in a prescribed manor
![Page 38: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/38.jpg)
IconsGDB
Feature Dataset
GDB table
![Page 39: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/39.jpg)
IconsGDB
Feature Dataset
GDB table
![Page 40: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/40.jpg)
IconsGDB
Feature Dataset
GDB table
![Page 41: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/41.jpg)
![Page 42: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/42.jpg)
![Page 43: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/43.jpg)
Three ways to create a GDBPlan it
Import Existing
Data
Create a Schema
with ArcCatalo
g
Use CASE tools
Define connectivity
rules, relationships
Load data into
Schema:ShapefilesCoverages
GDB
![Page 44: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/44.jpg)
Feature Datasets (FDS)
• Exist in a GDB to define a particular Spatial Reference
• Are a way to group feature Classes(FC) with the same spatial reference
• So they can participate in topological relationships with each other
• Topologically related FCs must reside in the same FDS
![Page 45: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/45.jpg)
Spatial Reference• A coordinate System
– Geographic– UTM– Etc.
• A spatial domain (coord range, measures (M), and Z values (extent)
• Precision (# of system units/unit M)• MUST be specified when creating a FDS and
it feature classes or a stand alone feature class
![Page 46: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/46.jpg)
Field Properties
• When creating a Feature Class or table you can specify the number of fields to be included
• And you can spec settings such as field type and max. size
• All fields have property default values, domains, aliases, and null allowance
![Page 47: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/47.jpg)
Field Properties
• When creating a Feature Class or table you can specify the number of fields to be included
• And you can spec settings such as field type and max. size
• All fields have property default values, domains, aliases, and null allowance
Set values at creation time
Valid set or range of values
for the field
Aliases will display on
maps
Yes or NO for allowing nulls
(nothing)
![Page 48: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/48.jpg)
Field Precision & Scale
• Max. field size and precision– Precision – number of digits (not the
“.”)– Scale – number of decimal places
• Personal GDBs support ONLY binary fields and precision and scale are ignored!
• NOT SO for enterprise GDB!!!
![Page 49: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/49.jpg)
Required Fields
• Apply to all feature classes and tables• Automatically created • Required fields also have required
properties (domain) [can’t change]• Required fields for simple FCs are
– OBJECTID– Shape
• Note: when you import data there will be other fields you cannot change in ArcGIS – But you can change them in ACCESS
![Page 50: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/50.jpg)
Topologies
• Many datasets have features that could share boundaries or corners
• By creating a Topology you set up rules defining how features share their geometries.
• Editing a boundary or vertex shared by two or more features updates the shape of all of them.
![Page 51: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/51.jpg)
Topology rules
• Govern the relationships between between features within a FC or features in different FCs
• Example: moving a slope boundary in in one FC could update two slope class polys AND update a forest stand boundary in another FC.
• Topology editing tools in ArcMap are used to create and change the rules
![Page 52: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/52.jpg)
Geometric Networks
• Some vector datasets need to support connectivity tracing and network connectivity rules– Communications– Pipelines– Transportation (roads, railroads, canals)
• Geometric networks allow you to turn simple point and line features into network edge and junction features
![Page 53: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/53.jpg)
Data
• Numeric data can be stored in 4 types– Short integer– Long integer– Single precision floating point (floats)– Double precision floating point
(doubles)
![Page 54: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/54.jpg)
Decimal vs. Binary
• Important concept• 8,4,2,1 place weight• The binary number 0110 = 6 in decimal• 0001 = 1, 0010 =2, 0011 = 3, 0100 =4• The short integer is 16 bits or 2 bytes• One is for sign leaving 15 for the number• Range is –32,000 to +32,000 • The long integer is 4 bytes or 32 bits• Range is –2 billion to +2 billion (more or less)
![Page 55: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/55.jpg)
Decimal vs. Binary• Floats and doubles are coded in a
form similar to scientific notation• -3,125 -3.125 x 103 3.125E3 • Float is a 8 bit number and store up
to 7 significant digits – -3.4E-38 to –1.2E38 for neg numbers– 3.4E-38 to 1.2E38 for positive
• As a result floats and doubles are only approximate numbers!!!!!!!!
![Page 56: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/56.jpg)
More yet
• You cannot express the number1,234,567.8
as a float because it contains more than 7 digits. As a float it will be
1,234,568• 0.1 cannot be expressed exactly
-- it will be0.099999
![Page 57: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/57.jpg)
Summary of data types
Name Range, length
Size(bytes
)
Applications
Short Integer
-32,768 to 32,767
2 No fractions
Long Integer
-2,147,483,648To2,147,483,647
4 No fractions
Float ~-34E-38 to ~1.2E38
4 Fractional values
![Page 58: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/58.jpg)
Summary of data types
Name Range, length
Size(bytes
)
Applications
Double ~ -2.2E-308
~ 1.8E308
8 Fractions OK
Text <=64,000 char
varies
Names etc.
Date mm/dd/yy
hh:mm:ss
8 Date and time
![Page 59: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/59.jpg)
The BLOB
• Binary Large Object• Simply some data stored in the
GDB as a long sequence of binary numbers.
• Such as– Images– Multimedia– Code
![Page 60: Data Structures & GeoDatabase. GeoDatabase Implemented in a relational database Comes in two flavors – Personal & Enterprise (Access & Sys. Like Oracle)](https://reader030.vdocuments.mx/reader030/viewer/2022032707/56649e255503460f94b1375e/html5/thumbnails/60.jpg)
Summary
GDB
Feature Datasets
Feature Classes
Features