SlideShare a Scribd company logo
Building Geo-Database ArcGIS 10

Najed Hanahnah

Building Geo-Database ArcGIS 10-Basic

1/1/2014
Create by Eng.Najed ALHanahnah
Najedjamal@yahoo.com, ArcGIS@ymail.com

Copyright© 2014 Eng.Naje d ALHanahnah

|Pag e1
Building Geo-Database ArcGIS 10

Contents
Task 1: Creat shapefile : .................................................................................................. 4
Task 2: Create File Geodatabase ...................................................................................... 8
Task 3: Create Personal Geodatabase (H.W) ................................................................. 11
Task 4: Creating subtypes and attribute domains ........................................................... 11
Field type ............................................................................................................. 14
Domain type ........................................................................................................ 15
Coded values ....................................................................................................... 16

Task5: Data loading:...................................................................................................... 19

Copyright© 2014 Eng.Naje d ALHanahnah

|Pag e2
Building Geo-Database ArcGIS 10

In this exercise will have ability to make Personal Geodatabase , file Geodatabase and
shapefile and we will learn :
1- The option Available in each Geodatabase file
2- Size For each type.
3- Define the Geometry type and prepare Attribute data.
4- Define Coordinate system will be use (Geographic or Projected)
We will working on ArcCataloge

Copyright© 2014 Eng.Naje d ALHanahnah

|Pag e3
Building Geo-Database ArcGIS 10
Task 1: Creat shapefile :
1- Open ArcCataloge and preparer Folder (name of this folder Shape1 on C: Path )

2- After rename the file, right click and start prepare shapefile as follows :

 Name is Road with type Polyline

Copyright© 2014 Eng.Naje d ALHanahnah

|Pag e4
Building Geo-Database ArcGIS 10

 Coordinates system is UTM zone 40 N, Datum WGS84.(from Edit you can
choose the coordinate system, Select projected coordinate system , UTM
,WGS84 ,North Hemisphere ,Zone 40 WGS84 )

 After choose the coordinate system click Add, then you will see the
coordinate system parameters

Copyright© 2014 Eng.Naje d ALHanahnah

|Pag e5
Building Geo-Database ArcGIS 10
3- After prepare the shapefile, we will define attribute data(Right click on the shapfile and
choose fields tab)

 Add fields name as follows:
1- St.Name (type Text )
2- St.Length(Long Integer )
3- St.Witdth(Long Integer)

Copyright© 2014 Eng.Naje d ALHanahnah

|Pag e6
Building Geo-Database ArcGIS 10
4- Click Ok(there is Message will be appear, what the meaning of this message ),then click
yes

Copyright© 2014 Eng.Naje d ALHanahnah

|Pag e7
Building Geo-Database ArcGIS 10

Task 2: Create File Geodatabase
1- In the same folder right click and create file Geodatabse (the name for this
Geodatbase Oman)

2- Right click on Oman Geodatabase and select new Feature Dataset

Copyright© 2014 Eng.Naje d ALHanahnah

|Pag e8
Building Geo-Database ArcGIS 10

3- The characteristic for this Dataset as follows:
 Name Networks.
 Coordinates system UTM 40N,WGS84 (refer to Shapefile for coordinate
system selection)
 Follows the pages (set all things default)

4- Right click on feature Dataset and choose new Feature class

Copyright© 2014 Eng.Naje d ALHanahnah

|Pag e9
Building Geo-Database ArcGIS 10

5- The specifications for this feature class :
 Name of this feature (RoadNet)
 Alias (Road Network)
 Feature Type (Line features)
 Coordinates systems??What do think??

6- Click next and follows the page until you reach Fields
Add the following fields:
1) St_Name (type Text )
2) St_Length(Long Integer )
3) St_Witdth(Long Integer)
7- Click finish at this point you will have Road Network (RoadNet) feature class.

Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 11
Building Geo-Database ArcGIS 10

Task 3: Create Personal Geodatabase (H.W)

Task 4: Creating subtypes and attribute domains
 Subtypes
Subtypes are a subset of features in a feature class, or objects in a table, that share the
same attributes. They are used as a method to categorize your data.
Subtypes are records in a table or feature class that have been grouped based on an
attribute field. Subtypes are implemented by creating coded values and, therefore,
must be associated with fields of the data type short or long integer. These integer
values each represent a feature in the subtype. For example, the following codes in a
subtype named RoadClass could represent valid classes in a feature class for streets:
0 - Local Streets
1 - Secondary Streets
2 - Main Streets

Each subtype can have its own set of default values.

You can use ArcCatalog or the Catalog window to add subtypes and set default values
and attribute domains for the fields of each subtype.
You can manage subtypes using the Properties dialog box for each table or feature
class. You can define the subtype field, add new subtypes, and remove or modify
existing subtypes.
Steps:
1. In the Catalog tree, right-click the feature class or table to which you
want to add subtypes.
2. Click Properties .

Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 11
Building Geo-Database ArcGIS 10

3. Click the Subtypes tab.

4. Click the drop-down arrow and click the subtype field from the list of
available long-integer fields.

Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 12
Building Geo-Database ArcGIS 10

5. To add a new subtype, click the first empty field under Code and type an
integer value that will be the code for that subtype.
6. Press the TAB key or click the Description field and type a description for
the subtype.

7. For each field, type a default value in the appropriate field in the table.
8. To associate an attribute domain with a field for the new subtype, click
the Domain field, click the drop-down arrow, then click the domain from
the list of domains.
Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 13
Building Geo-Database ArcGIS 10
Only those domains that apply to this field type are displayed in the list.
9. To set this subtype as the default subtype, click the drop-down arrow and
choose it from the list of subtypes.
10. Repeat steps 5 through 8 to add other subtypes. You can reset the default
subtype at any time.
11. When adding a new subtype, click Use Defaults to have your new
subtype take all the default values and domains from the default subtype.
You can then modify some or all of these.
12. When you are finished creating your subtypes and have selected the
default subtype, click Apply to create the new subtypes in the
geodatabase or click OK to create the subtypes and close the dialog box.

 Domain
Attribute domains are rules that describe the legal values of a field type, providing a
method for enforcing data integrity. Attribute domains are used to constrain the values
allowed in any particular attribute for a table or feature class. If the features in a
feature class or nonspatial objects in a table have been grouped into subtypes,
different attribute domains can be assigned to each of the subtypes. A domain is a
declaration of acceptable attribute values. Whenever a domain is associated with an
attribute field, only the values within that domain are valid for the field. In other
words, the field will not accept a value that is not in that domain. Using domains helps
ensure data integrity by limiting the choice of values for a particular field.
Attribute domains can be shared across feature classes, tables, and subtypes in a
geodatabase.
For example, a feature class for water mains and a feature class that stores water
laterals can use the same domain for the ground surface type field.
Field type

The field type is the type of attribute field with which the domain can be associated.
The field type can be set to any of the following:


Short—Short integers



Long—Long integers



Float—Single-precision floating point numbers
Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 14
Building Geo-Database ArcGIS 10


Double—Double-precision floating point numbers



Text (Coded domains only)—Alphanumeric characters



Date—Date and time data

Domain type

When you create a domain, you must specify which type of domain you want to
use.
There are two types of attribute domains:


Range domains—A range domain specifies a valid range of values for a
numeric attribute. When creating a range domain, you enter a minimum and
maximum valid value. A range domain can be applied to short-integer, longinteger, float, double, and date attribute types.
For example, in a feature class for water mains, you could have subtypes for
transmission, distribution, and bypass water mains. Distribution water mains
can have a pressure between 50 and 75 psi. For a distribution water main
object to be valid, its pressure value must be entered as some value between
50 and 75 psi. Range domains are validated through the use of the Validate
Features command.
Coded domains—A coded value domain can apply to any type of attribute—
text, numeric, date, and so on. Coded value domains specify a valid set of
values for an attribute.
For example, water mains may be buried under different types of surfaces as
signified by a GroundSurfaceType attribute field: pavement, gravel, sand, or
none (for exposed water mains). The coded value doma in includes both the
actual value that is stored in the database (for example, 1 for pavement) and a
more user-friendly description of what that value actually means. Validation
for coded value domains is accomplished by restricting the user to choose
field values from a drop-down list.

Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 15
Building Geo-Database ArcGIS 10
Coded values

The coded value section is only available for coded domains. It contains the coded
values for a domain as well as an associated description of what that value
represents.
The following graphic displays a method of using abbreviated text as coded values
to represent categories of a feature. In this instance, land use categories are
represented by suitable abbreviations:

At any time in the life of a geodatabase, a new attribute domain can be created using
the Domains Properties dialog box.
You can create new attribute range domains, or you can create coded value domains.
Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 16
Building Geo-Database ArcGIS 10
If a feature class has subtypes, domains must be applied at the subtype level and not at
the field's level.
Steps:
1. In the Catalog tree, right-click the geodatabase and click Properties.
2. Click the Domains tab.
3. Click the first empty field under Domain Name and type a name for the
new domain.

Note:
Do not use special characters, such as backslashes, in domain names
if using a PostgreSQL database .

4. Press the TAB key or click the new domain's description field and type a
description for the domain.

Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 17
Building Geo-Database ArcGIS 10

5. Click the field next to Field Type, click the drop-down arrow, then click
the type of attribute field to which this domain will be applied.
6. Click the field next to Domain Type, click the drop-down arrow, then
click Coded values from the list of domain types.
7. Click Apply to create the new domain in the geodatabase, or click OK to
create the domain and close the dialog box.

Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 18
Building Geo-Database ArcGIS 10

Task5: Data loading:

Steps for Data loading:1- Open ArcCatalog , Navigate >C/:Shape1/Parcel_total.shp (Display the shapefile to
see the existing layers)

Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 19
Building Geo-Database ArcGIS 10

2- Open parcel file on C/:Shape1/Parcel.shp (open it using ArcMap )

3- Notice the different between two files.
4- Start planning to load data from Parcel to parcel_total ,to start loading we need to
store parcel_toatal in to File Geodatabase (Oman.gdb- C:Shape1Oman.gdb).
5- Display the Oman.gdb in ArcCatalog .

Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 21
Building Geo-Database ArcGIS 10

6- Right click on feature dataset(parcel_area) and select import feature class(single)

Create Feature dataset inside Oman.Gdb , called Parcel_area with
Coordinate system (NAD_1927_StatePlane_Alabama_East_FIPS_0101)

7- Import the Shapefile (Parcel_Total) ,on output feature class write Parcel_Total.

Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 21
Building Geo-Database ArcGIS 10

8- After loading complete you will got the following result

Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 22
Building Geo-Database ArcGIS 10

9- Right click on Parcel_Total and select load Data…

10- After that popup window will appear call Simple Data Loader

Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 23
Building Geo-Database ArcGIS 10

11- Click next will appear screen for data source :

12- Choose the data source (Parcel.shp)

Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 24
Building Geo-Database ArcGIS 10

13- Click next >Next.
14- You will find screen for attribute matching ,then click Next>Next>Finish .

Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 25
Building Geo-Database ArcGIS 10

15- The result from loading

Before Data Loading

After Data Loading

Copyright© 2014 Eng.Naje d ALHanahnah

| P a g e 26

More Related Content

PDF
Ozri 2013 Brisbane, Australia - Geodatabase Efficiencies
PDF
Data managing and Exchange GDB
PDF
Enterprise geodatabase sql access and administration
PPT
Lecture 1b introduction to arc gis
PDF
Geodatabase: The ArcGIS Mechanism for Data Management
PDF
Arc gis desktop_and_geoprocessing
PPTX
Spot db consistency checking and optimization in spatial database
PPTX
Geoprocessing
Ozri 2013 Brisbane, Australia - Geodatabase Efficiencies
Data managing and Exchange GDB
Enterprise geodatabase sql access and administration
Lecture 1b introduction to arc gis
Geodatabase: The ArcGIS Mechanism for Data Management
Arc gis desktop_and_geoprocessing
Spot db consistency checking and optimization in spatial database
Geoprocessing

What's hot (20)

PPTX
The strength of a spatial database
PPT
CAD-GIS Integration Approaches with ARCGIS
PPTX
Introduction to Tools in ArcGIS
PPTX
Introduction to ArcGIS
PDF
Arc gis introduction-ppt
PPTX
QGIS Basic Training
PPTX
Geoprocessing(Building Your Own Tool) and Geostatistical Analysis(An Introdu...
PPTX
All the New Cool Stuff in QGIS 2.0
PPTX
Generating Pipeline Alignment Sheets Using FME
PDF
Introduction to ArcGIS 10.1
PDF
Mapping toolbox
PPTX
Using FME to support open data initiatives and INSPIRE
PPT
Dsm Presentation
PDF
Mrp Final
PDF
ArcGIS Extensions
PDF
QGIS Tutorial 2
PDF
QGIS and Altas: Automatic map generation
PDF
QGIS Module 1
PDF
QGIS Module 3
PPT
Karnataka Geospatial Experience FME World Tour 2017 India
The strength of a spatial database
CAD-GIS Integration Approaches with ARCGIS
Introduction to Tools in ArcGIS
Introduction to ArcGIS
Arc gis introduction-ppt
QGIS Basic Training
Geoprocessing(Building Your Own Tool) and Geostatistical Analysis(An Introdu...
All the New Cool Stuff in QGIS 2.0
Generating Pipeline Alignment Sheets Using FME
Introduction to ArcGIS 10.1
Mapping toolbox
Using FME to support open data initiatives and INSPIRE
Dsm Presentation
Mrp Final
ArcGIS Extensions
QGIS Tutorial 2
QGIS and Altas: Automatic map generation
QGIS Module 1
QGIS Module 3
Karnataka Geospatial Experience FME World Tour 2017 India
Ad

Viewers also liked (20)

PPTX
Lec_12_Intro to Geodatabase and Topology
PDF
Power and Elegance - Leaflet + jQuery
PPT
Introduction to gis
PDF
[Infographic] Cisco Visual Networking Index (VNI): Mobile-Connected Devices p...
PPT
Copper Peak Restoration Campaign
PDF
Project: Food map
PDF
Case Nextdoor.fi at LESS2010
PPTX
Redaccion de textos
DOCX
Universidad nacional de chimborazo katty
PDF
Grafico diario del dax perfomance index para el 11 10-2011
PPTX
Կայքի հաջողության մի քանի քայլեր
PDF
Recorte Web - DuocUC - escom
PPTX
今後のスマートフォンの在り方に関するユーザー
PDF
Efficient Query Answering against Dynamic RDF Databases
DOC
Project planning forms_0210revised
DOCX
final resume new
PPTX
ERP Implementation Services UK
PPTX
How Online Education Used to reduce illiteracy in remote areas
PPS
一公分鉛筆的故事
PPTX
Newsbrands and social media
Lec_12_Intro to Geodatabase and Topology
Power and Elegance - Leaflet + jQuery
Introduction to gis
[Infographic] Cisco Visual Networking Index (VNI): Mobile-Connected Devices p...
Copper Peak Restoration Campaign
Project: Food map
Case Nextdoor.fi at LESS2010
Redaccion de textos
Universidad nacional de chimborazo katty
Grafico diario del dax perfomance index para el 11 10-2011
Կայքի հաջողության մի քանի քայլեր
Recorte Web - DuocUC - escom
今後のスマートフォンの在り方に関するユーザー
Efficient Query Answering against Dynamic RDF Databases
Project planning forms_0210revised
final resume new
ERP Implementation Services UK
How Online Education Used to reduce illiteracy in remote areas
一公分鉛筆的故事
Newsbrands and social media
Ad

Similar to Building Geodatabase 2014 (20)

PPTX
Creating a feature class
PPTX
Basic commands of ArcGIS
PDF
Comm645 gephi handout
PPTX
2017 PLSC Track: Using a Standard Version of ArcMap with External VRS Recieve...
PDF
RS and GIS TW- 1&2.pdf
DOCX
Arcgis doc
PDF
Publishing geoprocessing-services-tutorial
PDF
Soil and Water Assessment Tool Procedure
PDF
Manual arcgis basico
PDF
HEC-GEORASTutorials.PDF
PPT
The Polar HDF-EOS Data Imaging and Subsetting (PHDIS) Tool
PPTX
Geographic information system and remote sensing
PDF
InRoads V8i Templates Library Creation
PPTX
Localization and Shared Preferences in android
PPTX
Surpac Software
PPT
How to empower community by using GIS lecture 2
PDF
Programming Without Coding Technology (PWCT) Environment
DOCX
1 Project 2 Introduction - the SeaPort Project seri.docx
PPT
Arcgis training day_2
PPT
Arcgis training day_1
Creating a feature class
Basic commands of ArcGIS
Comm645 gephi handout
2017 PLSC Track: Using a Standard Version of ArcMap with External VRS Recieve...
RS and GIS TW- 1&2.pdf
Arcgis doc
Publishing geoprocessing-services-tutorial
Soil and Water Assessment Tool Procedure
Manual arcgis basico
HEC-GEORASTutorials.PDF
The Polar HDF-EOS Data Imaging and Subsetting (PHDIS) Tool
Geographic information system and remote sensing
InRoads V8i Templates Library Creation
Localization and Shared Preferences in android
Surpac Software
How to empower community by using GIS lecture 2
Programming Without Coding Technology (PWCT) Environment
1 Project 2 Introduction - the SeaPort Project seri.docx
Arcgis training day_2
Arcgis training day_1

Recently uploaded (20)

PDF
Insiders guide to clinical Medicine.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Institutional Correction lecture only . . .
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
RMMM.pdf make it easy to upload and study
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Insiders guide to clinical Medicine.pdf
Cell Structure & Organelles in detailed.
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Microbial disease of the cardiovascular and lymphatic systems
Renaissance Architecture: A Journey from Faith to Humanism
Institutional Correction lecture only . . .
Supply Chain Operations Speaking Notes -ICLT Program
TR - Agricultural Crops Production NC III.pdf
O7-L3 Supply Chain Operations - ICLT Program
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Pre independence Education in Inndia.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Microbial diseases, their pathogenesis and prophylaxis
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
RMMM.pdf make it easy to upload and study
school management -TNTEU- B.Ed., Semester II Unit 1.pptx

Building Geodatabase 2014

  • 1. Building Geo-Database ArcGIS 10 Najed Hanahnah Building Geo-Database ArcGIS 10-Basic 1/1/2014 Create by Eng.Najed ALHanahnah Najedjamal@yahoo.com, ArcGIS@ymail.com Copyright© 2014 Eng.Naje d ALHanahnah |Pag e1
  • 2. Building Geo-Database ArcGIS 10 Contents Task 1: Creat shapefile : .................................................................................................. 4 Task 2: Create File Geodatabase ...................................................................................... 8 Task 3: Create Personal Geodatabase (H.W) ................................................................. 11 Task 4: Creating subtypes and attribute domains ........................................................... 11 Field type ............................................................................................................. 14 Domain type ........................................................................................................ 15 Coded values ....................................................................................................... 16 Task5: Data loading:...................................................................................................... 19 Copyright© 2014 Eng.Naje d ALHanahnah |Pag e2
  • 3. Building Geo-Database ArcGIS 10 In this exercise will have ability to make Personal Geodatabase , file Geodatabase and shapefile and we will learn : 1- The option Available in each Geodatabase file 2- Size For each type. 3- Define the Geometry type and prepare Attribute data. 4- Define Coordinate system will be use (Geographic or Projected) We will working on ArcCataloge Copyright© 2014 Eng.Naje d ALHanahnah |Pag e3
  • 4. Building Geo-Database ArcGIS 10 Task 1: Creat shapefile : 1- Open ArcCataloge and preparer Folder (name of this folder Shape1 on C: Path ) 2- After rename the file, right click and start prepare shapefile as follows :  Name is Road with type Polyline Copyright© 2014 Eng.Naje d ALHanahnah |Pag e4
  • 5. Building Geo-Database ArcGIS 10  Coordinates system is UTM zone 40 N, Datum WGS84.(from Edit you can choose the coordinate system, Select projected coordinate system , UTM ,WGS84 ,North Hemisphere ,Zone 40 WGS84 )  After choose the coordinate system click Add, then you will see the coordinate system parameters Copyright© 2014 Eng.Naje d ALHanahnah |Pag e5
  • 6. Building Geo-Database ArcGIS 10 3- After prepare the shapefile, we will define attribute data(Right click on the shapfile and choose fields tab)  Add fields name as follows: 1- St.Name (type Text ) 2- St.Length(Long Integer ) 3- St.Witdth(Long Integer) Copyright© 2014 Eng.Naje d ALHanahnah |Pag e6
  • 7. Building Geo-Database ArcGIS 10 4- Click Ok(there is Message will be appear, what the meaning of this message ),then click yes Copyright© 2014 Eng.Naje d ALHanahnah |Pag e7
  • 8. Building Geo-Database ArcGIS 10 Task 2: Create File Geodatabase 1- In the same folder right click and create file Geodatabse (the name for this Geodatbase Oman) 2- Right click on Oman Geodatabase and select new Feature Dataset Copyright© 2014 Eng.Naje d ALHanahnah |Pag e8
  • 9. Building Geo-Database ArcGIS 10 3- The characteristic for this Dataset as follows:  Name Networks.  Coordinates system UTM 40N,WGS84 (refer to Shapefile for coordinate system selection)  Follows the pages (set all things default) 4- Right click on feature Dataset and choose new Feature class Copyright© 2014 Eng.Naje d ALHanahnah |Pag e9
  • 10. Building Geo-Database ArcGIS 10 5- The specifications for this feature class :  Name of this feature (RoadNet)  Alias (Road Network)  Feature Type (Line features)  Coordinates systems??What do think?? 6- Click next and follows the page until you reach Fields Add the following fields: 1) St_Name (type Text ) 2) St_Length(Long Integer ) 3) St_Witdth(Long Integer) 7- Click finish at this point you will have Road Network (RoadNet) feature class. Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 11
  • 11. Building Geo-Database ArcGIS 10 Task 3: Create Personal Geodatabase (H.W) Task 4: Creating subtypes and attribute domains  Subtypes Subtypes are a subset of features in a feature class, or objects in a table, that share the same attributes. They are used as a method to categorize your data. Subtypes are records in a table or feature class that have been grouped based on an attribute field. Subtypes are implemented by creating coded values and, therefore, must be associated with fields of the data type short or long integer. These integer values each represent a feature in the subtype. For example, the following codes in a subtype named RoadClass could represent valid classes in a feature class for streets: 0 - Local Streets 1 - Secondary Streets 2 - Main Streets Each subtype can have its own set of default values. You can use ArcCatalog or the Catalog window to add subtypes and set default values and attribute domains for the fields of each subtype. You can manage subtypes using the Properties dialog box for each table or feature class. You can define the subtype field, add new subtypes, and remove or modify existing subtypes. Steps: 1. In the Catalog tree, right-click the feature class or table to which you want to add subtypes. 2. Click Properties . Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 11
  • 12. Building Geo-Database ArcGIS 10 3. Click the Subtypes tab. 4. Click the drop-down arrow and click the subtype field from the list of available long-integer fields. Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 12
  • 13. Building Geo-Database ArcGIS 10 5. To add a new subtype, click the first empty field under Code and type an integer value that will be the code for that subtype. 6. Press the TAB key or click the Description field and type a description for the subtype. 7. For each field, type a default value in the appropriate field in the table. 8. To associate an attribute domain with a field for the new subtype, click the Domain field, click the drop-down arrow, then click the domain from the list of domains. Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 13
  • 14. Building Geo-Database ArcGIS 10 Only those domains that apply to this field type are displayed in the list. 9. To set this subtype as the default subtype, click the drop-down arrow and choose it from the list of subtypes. 10. Repeat steps 5 through 8 to add other subtypes. You can reset the default subtype at any time. 11. When adding a new subtype, click Use Defaults to have your new subtype take all the default values and domains from the default subtype. You can then modify some or all of these. 12. When you are finished creating your subtypes and have selected the default subtype, click Apply to create the new subtypes in the geodatabase or click OK to create the subtypes and close the dialog box.  Domain Attribute domains are rules that describe the legal values of a field type, providing a method for enforcing data integrity. Attribute domains are used to constrain the values allowed in any particular attribute for a table or feature class. If the features in a feature class or nonspatial objects in a table have been grouped into subtypes, different attribute domains can be assigned to each of the subtypes. A domain is a declaration of acceptable attribute values. Whenever a domain is associated with an attribute field, only the values within that domain are valid for the field. In other words, the field will not accept a value that is not in that domain. Using domains helps ensure data integrity by limiting the choice of values for a particular field. Attribute domains can be shared across feature classes, tables, and subtypes in a geodatabase. For example, a feature class for water mains and a feature class that stores water laterals can use the same domain for the ground surface type field. Field type The field type is the type of attribute field with which the domain can be associated. The field type can be set to any of the following:  Short—Short integers  Long—Long integers  Float—Single-precision floating point numbers Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 14
  • 15. Building Geo-Database ArcGIS 10  Double—Double-precision floating point numbers  Text (Coded domains only)—Alphanumeric characters  Date—Date and time data Domain type When you create a domain, you must specify which type of domain you want to use. There are two types of attribute domains:  Range domains—A range domain specifies a valid range of values for a numeric attribute. When creating a range domain, you enter a minimum and maximum valid value. A range domain can be applied to short-integer, longinteger, float, double, and date attribute types. For example, in a feature class for water mains, you could have subtypes for transmission, distribution, and bypass water mains. Distribution water mains can have a pressure between 50 and 75 psi. For a distribution water main object to be valid, its pressure value must be entered as some value between 50 and 75 psi. Range domains are validated through the use of the Validate Features command. Coded domains—A coded value domain can apply to any type of attribute— text, numeric, date, and so on. Coded value domains specify a valid set of values for an attribute. For example, water mains may be buried under different types of surfaces as signified by a GroundSurfaceType attribute field: pavement, gravel, sand, or none (for exposed water mains). The coded value doma in includes both the actual value that is stored in the database (for example, 1 for pavement) and a more user-friendly description of what that value actually means. Validation for coded value domains is accomplished by restricting the user to choose field values from a drop-down list. Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 15
  • 16. Building Geo-Database ArcGIS 10 Coded values The coded value section is only available for coded domains. It contains the coded values for a domain as well as an associated description of what that value represents. The following graphic displays a method of using abbreviated text as coded values to represent categories of a feature. In this instance, land use categories are represented by suitable abbreviations: At any time in the life of a geodatabase, a new attribute domain can be created using the Domains Properties dialog box. You can create new attribute range domains, or you can create coded value domains. Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 16
  • 17. Building Geo-Database ArcGIS 10 If a feature class has subtypes, domains must be applied at the subtype level and not at the field's level. Steps: 1. In the Catalog tree, right-click the geodatabase and click Properties. 2. Click the Domains tab. 3. Click the first empty field under Domain Name and type a name for the new domain. Note: Do not use special characters, such as backslashes, in domain names if using a PostgreSQL database . 4. Press the TAB key or click the new domain's description field and type a description for the domain. Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 17
  • 18. Building Geo-Database ArcGIS 10 5. Click the field next to Field Type, click the drop-down arrow, then click the type of attribute field to which this domain will be applied. 6. Click the field next to Domain Type, click the drop-down arrow, then click Coded values from the list of domain types. 7. Click Apply to create the new domain in the geodatabase, or click OK to create the domain and close the dialog box. Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 18
  • 19. Building Geo-Database ArcGIS 10 Task5: Data loading: Steps for Data loading:1- Open ArcCatalog , Navigate >C/:Shape1/Parcel_total.shp (Display the shapefile to see the existing layers) Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 19
  • 20. Building Geo-Database ArcGIS 10 2- Open parcel file on C/:Shape1/Parcel.shp (open it using ArcMap ) 3- Notice the different between two files. 4- Start planning to load data from Parcel to parcel_total ,to start loading we need to store parcel_toatal in to File Geodatabase (Oman.gdb- C:Shape1Oman.gdb). 5- Display the Oman.gdb in ArcCatalog . Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 21
  • 21. Building Geo-Database ArcGIS 10 6- Right click on feature dataset(parcel_area) and select import feature class(single) Create Feature dataset inside Oman.Gdb , called Parcel_area with Coordinate system (NAD_1927_StatePlane_Alabama_East_FIPS_0101) 7- Import the Shapefile (Parcel_Total) ,on output feature class write Parcel_Total. Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 21
  • 22. Building Geo-Database ArcGIS 10 8- After loading complete you will got the following result Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 22
  • 23. Building Geo-Database ArcGIS 10 9- Right click on Parcel_Total and select load Data… 10- After that popup window will appear call Simple Data Loader Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 23
  • 24. Building Geo-Database ArcGIS 10 11- Click next will appear screen for data source : 12- Choose the data source (Parcel.shp) Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 24
  • 25. Building Geo-Database ArcGIS 10 13- Click next >Next. 14- You will find screen for attribute matching ,then click Next>Next>Finish . Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 25
  • 26. Building Geo-Database ArcGIS 10 15- The result from loading Before Data Loading After Data Loading Copyright© 2014 Eng.Naje d ALHanahnah | P a g e 26