NORMALIZATION OF THE DATABASE OF REGIONAL DIVISION OF THE RELIEF. Zdena Dobešová

Podobné dokumenty
Introduction to MS Dynamics NAV

Database systems. Normal forms

Tento materiál byl vytvořen v rámci projektu Operačního programu Vzdělávání pro konkurenceschopnost.

INTERAKTIVNÍ MAPA REGIONÁLNÍHO ČLENĚNÍ GEORELIÉFU ČR

USING VIDEO IN PRE-SET AND IN-SET TEACHER TRAINING

Litosil - application

GUIDELINES FOR CONNECTION TO FTP SERVER TO TRANSFER PRINTING DATA

Gymnázium, Brno, Slovanské nám. 7 WORKBOOK. Mathematics. Teacher: Student:

Střední průmyslová škola strojnická Olomouc, tř.17. listopadu 49

Compression of a Dictionary

VY_32_INOVACE_06_Předpřítomný čas_03. Škola: Základní škola Slušovice, okres Zlín, příspěvková organizace

DC circuits with a single source

WORKSHEET 1: LINEAR EQUATION 1

Úvod do datového a procesního modelování pomocí CASE Erwin a BPwin

Škola: Střední škola obchodní, České Budějovice, Husova 9. Inovace a zkvalitnění výuky prostřednictvím ICT

Transportation Problem

Postup objednávky Microsoft Action Pack Subscription

Rozvoj vzdělávání žáků karvinských základních škol v oblasti cizích jazyků Registrační číslo projektu: CZ.1.07/1.1.07/ hod.

GREAT BRITAIN. III/2 Inovace a zkvalitnění výuky prostřednictvím ICT. Anglický jazyk Třída 3.A Téma hodiny Druh materiálu

Tento materiál byl vytvořen v rámci projektu Operačního programu Vzdělávání pro konkurenceschopnost.

Czech Republic. EDUCAnet. Střední odborná škola Pardubice, s.r.o.

2. Entity, Architecture, Process

Invitation to ON-ARRIVAL TRAINING COURSE for EVS volunteers

TELEGYNEKOLOGIE TELEGYNECOLOGY

User manual SŘHV Online WEB interface for CUSTOMERS June 2017 version 14 VÍTKOVICE STEEL, a.s. vitkovicesteel.com

1, Žáci dostanou 5 klíčových slov a snaží se na jejich základě odhadnout, o čem bude následující cvičení.

VYSOKÁ ŠKOLA HOTELOVÁ V PRAZE 8, SPOL. S R. O.

SLOVNIK CIZICH SLOV PDF

Zelené potraviny v nových obalech Green foods in a new packaging

EURO přeshraniční platba

Střední průmyslová škola strojnická Olomouc, tř.17. listopadu 49

Next line show use of paragraf symbol. It should be kept with the following number. Jak může státní zástupce věc odložit zmiňuje 159a.

GENERAL INFORMATION MATCH: ALSA PRO ARENA MASTERS DATE: TIME SCHEDULE:

Využití hybridní metody vícekriteriálního rozhodování za nejistoty. Michal Koláček, Markéta Matulová

CHAIN TRANSMISSIONS AND WHEELS

CODE BOOK NEISS 8. A code book is an identification tool that allows the customer to perform a test result evaluation using a numeric code.

Energy vstupuje na trh veterinárních produktů Energy enters the market of veterinary products

Gymnázium a Střední odborná škola, Rokycany, Mládežníků 1115

VŠEOBECNÁ TÉMATA PRO SOU Mgr. Dita Hejlová

PC/104, PC/104-Plus. 196 ept GmbH I Tel. +49 (0) / I Fax +49 (0) / I I

Právní formy podnikání v ČR

VY_22_INOVACE_60 MODAL VERBS CAN, MUST

Tabulka 1 Stav členské základny SK Praga Vysočany k roku 2015 Tabulka 2 Výše členských příspěvků v SK Praga Vysočany Tabulka 3 Přehled finanční

The Over-Head Cam (OHC) Valve Train Computer Model

Vliv metody vyšetřování tvaru brusného kotouče na výslednou přesnost obrobku

Problém identity instancí asociačních tříd

LOGBOOK. Blahopřejeme, našli jste to! Nezapomeňte. Prosím vyvarujte se downtrade

2 Axiomatic Definition of Object 2. 3 UML Unified Modelling Language Classes in UML Tools for System Design in UML 5

By David Cameron VE7LTD

Eurogranites 2015 Variscan Plutons of the Bohemian Massif

Air Quality Improvement Plans 2019 update Analytical part. Ondřej Vlček, Jana Ďoubalová, Zdeňka Chromcová, Hana Škáchová

GENERAL INFORMATION MATCH: ALSA PRO HOT SHOTS 2018 DATE:

Návrh a implementace algoritmů pro adaptivní řízení průmyslových robotů

EXACT DS OFFICE. The best lens for office work

CASTING HAND PRODUCTION USING MOULDS

Friction drives have constant or variable drives (it means variators). Friction drives are used for the transfer of smaller outputs.

Střední průmyslová škola strojnická Olomouc, tř.17. listopadu 49

Fytomineral. Inovace Innovations. Energy News 04/2008

RNDr. Jakub Lokoč, Ph.D. RNDr. Michal Kopecký, Ph.D. Katedra softwarového inženýrství Matematicko-Fyzikální fakulta Univerzita Karlova v Praze

Vánoční sety Christmas sets

The Czech education system, school

Dynamic Development of Vocabulary Richness of Text. Miroslav Kubát & Radek Čech University of Ostrava Czech Republic

Cambridge International Examinations Cambridge International General Certificate of Secondary Education

Obsah&/&Content& Všeobecné)podmínky)(v)češtině)) Terms)and)Conditions)(in)english)) )

Střední škola obchodní, České Budějovice, Husova 9, VY_INOVACE_ANJ_741. Škola: Střední škola obchodní, České Budějovice, Husova 9

Střední průmyslová škola strojnická Olomouc, tř.17. listopadu 49

Dynamic programming. Optimal binary search tree

Britské společenství národů. Historie Spojeného království Velké Británie a Severního Irska ročník gymnázia (vyšší stupeň)

TKGA3. Pera a klíny. Projekt "Podpora výuky v cizích jazycích na SPŠT"

Aplikace matematiky. Dana Lauerová A note to the theory of periodic solutions of a parabolic equation

Škola: Střední škola obchodní, České Budějovice, Husova 9. Inovace a zkvalitnění výuky prostřednictvím ICT

Izolační manipulační tyče typ IMT IMT Type Insulated Handling Rod

Gymnázium, Brno, Slovanské nám. 7, SCHEME OF WORK Mathematics SCHEME OF WORK. cz

Just write down your most recent and important education. Remember that sometimes less is more some people may be considered overqualified.

Digitální učební materiál

Configuration vs. Conformation. Configuration: Covalent bonds must be broken. Two kinds of isomers to consider

II/2 Inovace a zkvalitnění výuky cizích jazyků na středních školách

Převod prostorových dat katastru nemovitostí do formátu shapefile

DATA SHEET. BC516 PNP Darlington transistor. technický list DISCRETE SEMICONDUCTORS Apr 23. Product specification Supersedes data of 1997 Apr 16

Anglický jazyk. Specifikace oboru. Australia and 1. New Zealand. ssgbrno.cz. Co je to polygrafie Australia and New Zealand

Výukový materiál zpracovaný v rámci operačního programu Vzdělávání pro konkurenceschopnost

Číslo projektu: CZ.1.07/1.5.00/ Název projektu: Inovace a individualizace výuky

CZ.1.07/1.5.00/

Immigration Studying. Studying - University. Stating that you want to enroll. Stating that you want to apply for a course.

Immigration Studying. Studying - University. Stating that you want to enroll. Stating that you want to apply for a course.

AIC ČESKÁ REPUBLIKA CZECH REPUBLIC

Radiova meteoricka detekc nı stanice RMDS01A

CHAPTER 5 MODIFIED MINKOWSKI FRACTAL ANTENNA

Aktivita CLIL Chemie III.

Střední průmyslová škola strojnická Olomouc, tř.17. listopadu 49

B1 MORE THAN THE CITY

EU peníze středním školám digitální učební materiál

Výukový materiál zpracovaný v rámci operačního programu Vzdělávání pro konkurenceschopnost

Stojan pro vrtačku plošných spojů

kupi.cz Michal Mikuš

Výukový materiál zpracovaný v rámci operačního programu Vzdělávání pro konkurenceschopnost

VYUŽITÍ DATA DRIVEN PAGES

GENERAL INFORMATION MATCH: ALSA PRO OPEN 2018 DATE: TIME SCHEDULE: Prematch - Friday. registration:

Čtvrtý Pentagram The fourth Pentagram

MySQL sežere vaše data

Transkript:

Geographica 37, 2002 7 NORMALIZATION OF THE DATABASE OF REGIONAL DIVISION OF THE RELIEF Zdena Dobešová Department of Geoinformatics, Faculty of Science, Palacký University in Olomouc Head of Department: Ass. Prof. Dr. Vít Voženílek Received July 2, 2002; accepted July 31, 2002 KEY WORDS: Database, Normalization, Geomorphological units ABSTRACT This article describes application of the normalization process on the database of the Regional Division of the Relief of the Czech Republic. An example of searching information in this geographical database is also provided. 1. INTRODUCTION Relief of the Czech Republic is divided into a system of geomorphological units. Jaromír Demek and his colleagues built up the Geographic Lexicon of the Czechoslovak Republic: Mountains and Lowlands (Zeměpisný lexikon ČSR: Hory a nížiny). The Lexicon provides hierarchical division of the geographic relief of the Czech Republic. Furthermore it unifies usage of geographical names for both professionals and the public. This work describes geomorphological units and a large amount of peaks. It contains simple maps with boundary lines and codes of the units and also the network of rivers and big settlements. A disadvantage of the Lexicon is that the units are sorted alphabetically. Therefore information about certain area can only be found if you know the name of the particular unit. We can get better access to information by transferring the data to a database i.e. to Geographical Information System (GIS). There will be only area of the Czech Republic in the proposed information system. The main task is to transfer the data about regional division of the relief to the database. Process of normalization will be used when designing relational database model. The main advantages of normalization are elimination of redundancy, easy access to required information, unambiguous answer to a question and also data update on a single spot. 2. NORMALIZATION First part of the process is design of the database model. This means that rules of the normal forms will be applied on the original data structure, which is not in a normal form. In most cases the first, second and the third normal forms are used. Other normal forms like the Boyce-Codd, fourth and the fifth are rarely used. Normalizing the database means removing redundancies by the mechanism of the decomposition without loss of information. First Normal Form A relation is in the first normal form if all of its attributes are defined within scalar ranges of values (domains). This means further division of attributes is not possible. One column cannot have more than one piece of information. The value of a column must not be a relation. [Riordan, 2000] The criteria of scalar attributes are sometimes not met with values such as composed codes and flags. This is also the case of the Czech Republic geographical relief coding. 3. GEOMORPHOLOGICAL DIVISION OF THE CZECH REPUBLIC In 1987 Jaromír Demek and his colleagues built up the Geographical Lexicon of the Czechoslovak Republic: Mountains and Lowlands. The lexicon provides hierarchical division of the geographic relief of the Czech Republic. Furthermore it unifies usage of geographical names for both professionals and the public. This work describes geomorphological units and a large amount of peaks. Each geomorphological unit (hereafter the unit) has its numeric and alphabetic code (hereafter the code). The code is set up so that its structure determines belonging of the lower unit to the higher. This code in-

8 Acta Universitatis Palackianae Olomucensis Facultas Rerum Naturalium stead of verbal description is used in the maps attached to the lexicon. The resulting relations have the following contents: Geomorphological types are as follows: systém, subsystém, provincie, soustava, podsoustava, celek, podcelek a okrsek. Example: Hercynský systém Hercynská pohoří subsystém Česká Vysočina provincie I Šumavská soustava soustava IA Českoleská podsoustava podsoustava (oblast) IA-1 Český les celek IA-1A Čerchovský les podcelek IA-1A-a Haltravská hornatina okrsek IA-1A-b Nemanická vrchovina IA-1A-c Ostrovská vrchovina IA-1B Kateřinská kotlina IA-1C Přimdský les IA-1C-a Málkovská vrchovina IA-1C-b Plešivecká vrchovina IA-1C-c Havranská vrchovina IA-1C-d Rozvadovská pahorkatina [Demek, 1987] The value of the code is composed in the following way: Fig. 1: Content of the System relation The System relation consists of the attributes ID primary key (automatic numbering data type), Nazev. Fig. 2: Content of the Subs_Prov relation There are both the subsystem and the province in the Subs_Prov relation. These two types of geomorphological units are together in one relation because the relation between them is 1:1 for the area of the Czech Republic. Numeric index for the province (1, 2, 3, 4) was added to the database model. The three highest levels do not have any code. Types of geomorphological units Description Range systém subsystém provincie soustava (new subprovincie) roman digit I to X podsoustava (new oblast) capital letter A to D celek arabic digit 1 to 8 podcelek capital letter A to H okrsek small letter a to i Tab. 1: Code of units 4. DATABASE MODEL The database is designed in the Microsoft Access 2000 CZ environment. Seven relations (tables) are used in the design of the first database model. Each relation corresponds to a geomorphological type of units. Therefore proposed relations will be System, Subs_Prov, Soustavy, Podsoustavy, Celky, Podceleky and Okrsky. There will be attributes kod, nazev in the relations above. From the normalization point of view it can be seen that the relations do not correspond to the first normal form. The code attribute is not scalar. It is necessary to divide it into separate attributes. It is possible to leave the original code as a separate attribute, which can serve as a link to the map. It is necessary to realize that the length of the code attribute is variable. Therefore it is divided in a various number of attributes in the particular relations. In the Okrsky relation it is divided into 5 separate attributes. Fig. 3: Content of the Soustavy relation Fig. 4: Content of the Podsoustavy relation

Geographica 37, 2002 9 Fig. 5: Part of content of the Celky relation Fig. 6: Part of content of the Podceleky relation Fig. 7: Part of content of the Okrsky relation It is easier to define relations between tables in this model. Primary keys for the relations are simple or composite keys. The keys unambiguously define the geomorphological units. Cardinality (relationship) is 1:N.

10 Acta Universitatis Palackianae Olomucensis Facultas Rerum Naturalium Fig. 8: Diagram of the relations between relations (tables) 5. QUERIES By using the normalization process the tables have been divided into a number of the separate relations (tables). Now some method is needed to join the divided data from different tables together. For practical use it is necessary to prepare queries creating of not normalized relation, which includes verbal description of all of the superior hierarchy units. In Microsoft Access we can create query that can find data in more than one table. The example of a query follows. We are looking for all of the Celky type containing word les. There are 3 celky types as a result of the query: Ždánický les, Slavkovský les a Český les. In the report we can see the superior hierarchic structure and placing of the celky type in the structure of the geomorphological units. In this way we get quickly not only the required units but also names of the superior units. In the original database only the code could Fig. 9: Output report

Geographica 37, 2002 11 be obtained. We would get the names of the superior units only by further analysis of the code. Various queries can be created to obtain the names of the units and their belonging to superior units. It is also possible to select a specific unit and to obtain all of the subordinate units to the specified level. The system (database) can answer all types of these queries. SUMMARY In the presented example of the geographical database of the regional division of the relief of the Czech Republic we can see that by converting into a relational database it can be the basement of the information system. By the process of normalization we have obtained the database composed of a number of separate relations (tables). The data can be joined again by queries. It is easy to determine the placement of any unit in the hierarchic system of the units. Relations of the data model could be easily extended by another attributes containing e.g. verbal description of the geomorphological unit or pictures. SOUHRN NORMALIZACE DATABÁZE REGIONÁLNÍHO ČLENĚNÍ GEORELIÉFU Na uvedeném příkladu geografické databáze regionálního členění reliéfu České republiky vidíme, že jejím převodem do relační databáze získáváme informační systém, který může být základem geografického informačního systému. Procesem normalizace jsme získali databázi, která je složena z několika samostatných relací. Sedm výsledných relací (tabulek) odpovídá geomorfologickým typům jednotek ( systém, subsystém, provincie, až okrsek). Mezi tabulkami jsou vytvořeny vztahy pomocí primárních a cizích klíčů. Pomocí dotazů jsme opětně schopni sloučit data dohromady. Lze sestavit různé dotazy. Například lze jednoduše určit zařazení kterékoliv jednotky v hierarchickém členění. Relace datového modelu by bylo možné snadno rozšířit o další atributy, které by obsahovaly například textový popis geomorfologické jednotky nebo obrazovou dokumentaci. REFERENCES Demek, J. a kol.: Zeměpisný lexikon ČSR, Hory a nížiny, Academia, Praha 1987. Riordan, R. M.: Vytváříme relační databázové aplikace, Computer Press, Praha 2000, ISBN 80-7226-360-9. Ing. Zdena Dobešová Department of Geoinformatics Faculty of Science Palacký University in Olomouc Tř. Svobody 26 771 46 Olomouc Czech Republic dobesova@prfnw.upol.cz Reviewed: Dr. Ing. Jiří Horák Technical University in Ostrava Acta Univ. Palacki. Olomuc. Fac. Rer. Nat. (2002), Geographica 37 7 11