Arcgis Geodatabase
Arcgis Geodatabase
Arcgis Geodatabase
April 9, 2013
1 Introduction
4 Editing Data
Creating Polygons
Creating Annotations
Introduction
Shapefile limitations:
Vector features:
similar to shapefile, in GDB it is called Feature Class
Raster data:
raster maps, photo documentations, raster analysis outputs, ...
Tables:
attributes that have no geometry
standalone / related
Relations:
relations between tables, feature classes, raster catalogues
1:1, 1:M, N:M
primary key, foreign key
Topology:
Describes spatial relations.
checking overlaps, gaps, dangles, ...
Annotations:
labels stored in GDB
each annotation feature can be edited as a feature in the
shapefile or feature class
Create Domains
domains are common to the entire database.
Right-click the new geodatabase and point to Properties
Select the Domains tab and create a new domain by typing
the domain name.
For each domain you can choose the type (range or coded
values).
Specify the range for the range domain type or codes for the
coded values domain type.
Range domains do not have built-in validation! You have to
manually validate in ArcMap! In the edit session, select
features you want to validate and use Validate Features on
the Editor menu.
Vector Data
Organizing vector data in feature datasets
grouping data with the same
coordinate system
thematic content
spatial location
Raster Data
Raster data can be included to the GDB using Raster Catalog.
Right-click your GBD in ArcCatalog, point to New and select
Raster Catalog...
Type name of the Raster Catalog and select Raster
Management Type.
Managed type means that rasters will be stored within GDB.
Unmanaged type creates only links to existing photos.
Load Rasters
To load rasters right-click the raster catalog, point to Load
and select Load Data.
Add ID to rasters
In ArcMap open the raster catalog. Open attribute table and
add a new field with photo id information.
This field will serve as the primary key for relating your tables
to rasters.
Typically you can relate the documentary points feature class
to the photo documentation.
Relate a table
Create a new feature class Documentary samples with the
field called Photo id.
Digitize few points and assign them an existing photo id from
raster catalog.
In ArcCatalog right-click the feature dataset that contains
feature class Documentary samples, select New and
Relationship Class.
On the wizard dialog relate documentary samples to the raster
catalog, choose simple relationship, check no messages
propagated, select cardinality one to many and choose the
primary and the foreign key (photo id).
Editing Data
Creating Polygons
The simplest way to create polygons is to use the Editor tool
in ArcMap.
But this manner brings lot of inaccuracies - overlap or gaps!
To avoid these errors it is better to use Polygon Feature Class
From Lines tool.
In ArcMap you simply create lines (borders of areas) within
the line feature class.
Furthermore, using point feature class there is possibility to
add attribute to polygons.
Creating Annotations
Labels
automatically generated text
Label parameters are defined for layers.
unable to define parameters separately for each text element
Annotations
generated from labels
stored in geodatabase as features
Label parameters are defined for each feature.
can be edited as feature classes (attribute table, geometry)