Predavanje br. 7 Formiranje GIS-a II Relacione klase
Tipovi klasa Prostorne klase Neprostorne klase Rasterske klase Vektorske klase Review from Lesson 4: What is a geodatabase? A geodatabase is an ArcGIS data-storage format intended to be a single container for both spatial and attribute information. GIS data (i.e., points, lines, polygons, annotation, tables, etc.) contained within a geodatabase are called feature classes. For example, the left screen capture in this slide shows a geodatabase called “Owyhee River Rec” which contains three feature classes: Fires, Lakes, and Open_rec_sites. The creation of a geodatabase feature class is discussed in another slide of this lesson. Feature classes that are spatially related (e.g., the features overlap or are coincident) can be further organized into Feature Datasets. A Feature Dataset defines the spatial domain (e.g., the spatial reference) used by the feature classes it contains. The creation of a geodatabase Feature Dataset is discussed in another slide of this lesson. The right screen capture in this slide shows a geodatabase called “Resources” which contains four Feature Datasets: Fire, Land, Range, and Recreation. The Recreation Feature Dataset is expanded to show that it contains three feature classes: Recreation_Opport, Recreation_Site_ pt, and VQO. Because they are stored within a Feature Dataset, all three feature classes are spatially related. Relacione klase
Relacione klase Predavanje br. 7 Relacione klase ostvaruju mogućnost upravljanja ili udruživanja između objekata u jednoj klasi (klasa funkcija ili tabela) i atributa ili objekata u drugoj klasi. Relacione klase podržavaju sve vrste kardinaliteta -jedan-na-jedan, jedan-prema-više, i više-prema-više i mogu imati atribute o samoj relaciji.
Personal Geodatabase Feature Class Feature Datasets Feat. Class
Raster Catalog Raster Dataset Table
Opis geološke jedinice Geološke karakteristike Geološka jedinica PK: GeoloskaJedinica_ID 1 1 Litološki recnik 1 Geohronološki recnik n 1 PK: Opis_ID FK: InstancaGJ_ID 1 1 Opis geološke jedinice n n Litološki sastav Geološka starost FK: InstancaOpisa_ID FK: InstancaOpisa_ID
Opis geološke strukture Geološke karakteristike Geološka struktura PK: GeoloskaStruktura_ID 1 n Opis geološke strukture FK: InstancaGS_ID
Geološke karakteristike Strukturno merenje
Bušotina Kartirani interval Geološke karakteristike PK: Busotina_ID 1 n Kartirani interval FK: InstancaBusotine_ID
Hidrogeološke karakteristike Hidrogeološka jedinica
Hidrogeološke karakteristike Hidrogeološke pojave i objekti PK: HGPIO_ID 1 n Periodična merenja FK: InstancaHGPIO_ID
Formiranje relacionih klasa
Definisanje tipa realcija
Definisanje realcionog odnosa
Definisanje ključeva
Datum: 07. 04. 2010 Vežba br. 7 Finalizovati bazu Geologija.mdb sa prošloga časa, ako to nije već urađeno i dopuniti je sa dve nove tabele i to Hronostratigrafski rečnik i Litološki rečnik. Strukturu, a potom i podatke za ove nove dve tabele preuzeti iz personalne baze Recnici.mdb. Struktuirati dopunske klase kojima će se omogućiti opis konstrukcije bunara i te klase ugraditi u personalnu bazu Geologija.mdb. Formirati relacione klase kao što je to dato na slajdovima u prezentaciji. Definisati posebne domene za klase Geološka struktura kojima će se kroz polje NazivStrukture kontrolisati domen TipGeološke Strukture. U ArcMap-u proveriti funkcionalnost baze i utvrditi da li su svi domeni na pravi način aktivirani