Geodatabase Exercise in Class 12
Geodatabase Exercise in Class 12
Geodatabases
To create a geodatabase, when creating a new project in ArcGIS Pro, one is automatically
created (refer to section 5.1). However, one can also check the current geodatabase or
create a new one. To do this, go to the View tab > Windows > Catalog View. Next to the
current "Maps" and "Layouts" the "Catalog" tab will be created. Now, in the "Contents"
panel, go to "Database" (or navigate to the location where you want to create the
geodatabase on your computer), right-click on the desired location, select "New File
Geodatabase" name it, for example, "City" and click "Save" see Figure 127. The
geodatabase will be created in the specified location and will be ready to store and manage
your geospatial data.
https://giscrack.com 141
Domains are predefined sets of allowed values that can be assigned to a field in a
geodatabase. These act as constraints to ensure that the entered data is consistent and
adheres to established standards. Domains are essential for maintaining information
integrity, especially when different fieldworkers collect data.
Table 11 provides a detailed view of domains, showing a list of six domains with coded
values that determine the name, field type, code, and description for a set of objects. For
example, take the domain "POP_DESC": it is established as a "short" numerical field and
houses three specific codes. Thus, any layer associated with this domain will be limited to
those three codes, ensuring uniformity, and minimizing input errors. In a GIS, domains
serve as effective barriers against inconsistencies. Despite human recognition of word
variants as equivalent, ArcGIS Pro considers them different. This is evidenced in words like
"Hydrography", which can have multiple representations (Hydrography, hydrography,
HYDROGRAPHY), and without an appropriate domain, would be categorized separately.
To configure the domains in the geodatabase, right-click on "City.gdb" and select
"Domains". In the emerging domain window, it is necessary to enter all the domains listed
in Table 11.
Description: Provide a description for the domain. Special characters, accents, and
spaces can be included without issues.
In the continuous right panel, two fields will be presented for filling:
Code: Enter the corresponding code(s) for the domain.
A_HUMAN_CONCENTRATION
B_HYDROGRAPHY
C_ROAD_AXIS
D_RELIEF
Geodatabases offer better organization and advanced capabilities, whereas Shapefiles are
universal and easily shareable.
Figure 129. Creation of a "Feature Dataset".
15.4. Creating and Managing "Feature Class" (Points, Lines, and Polygons)
Section 7.1 introduced a general procedure for creating a "Feature Class" without delving
into the advanced capabilities of "Geodatabases." This section details the process of
configuring various "Feature Class" according to the specifications presented in Table 12.
To create the "Feature Class" named "POPULATE_P" within the geodatabase called
"City.gdb", right-click on "A_HUMAN_CONCENTRATION" and choose "New > Feature
Class". In the first page, enter the name " POPULATE_P " in the "Name" field, and specify
the corresponding geometry "Point" in "Feature Class Type". In the second page, set up
the fields according to Table 12, specifying the extension for text fields "Length". If a field
requires a domain, select the appropriate one in "Domain" at the bottom, as shown in
Figure 130. It is essential that the data types of fields and domains are compatible; a "Text"
domain will not associate with a "Short" field. In the third page, define the coordinate
system "WGS 1984 UTM Zone 17S". From the fourth to the sixth page, keep the default
values, and finally select "Finish". This method is applied in the same way for other
"Feature Classes" indicated in Table 12.