17
Session 7.2: Description of database characteristics V1 Pier-Giorgio Zaccheddu Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee 11 60598 Frankfurt am Main Tel.: +49 69 6333 305 Fax: +49 69 6333 441 Email: [email protected] 17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 1

Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

Session 7.2:

Description of database characteristics

V1

Pier-Giorgio ZacchedduFederal Agency for Cartography andGeodesy (BKG)Richard-Strauss-Allee 1160598 Frankfurt am MainTel.: +49 69 6333 305Fax: +49 69 6333 441Email: [email protected]

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 1

Page 2: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

Content7.2 Description of database characteristics – Database

management Characteristics of databases

Text file, Spreadsheet or Database?

Data model – database modelling

Content

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 2

Page 3: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

1. Operating systemAn operating system (OS) is a software program that manages the hardware and software resources of a computer. The OS performs basic tasks, such as controlling and allocating memory, prioritizing the processing of instructions, controlling input and output devices, facilitating networking, and managing files.

Examples:

• Microsoft Windows (proprietary)

• Linux (open source = free of charge and usage)

Characteristics of databases

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 3

Page 4: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

2. DatabaseOne possible definition is that a database is a collection of records stored in a computer in a systematic way, so that a computer program can consult it to answer questions.

Examples:

• Microsoft Access, Oracle, etc. (proprietary)

• MySQL, PostGreSQL/PostGIS, etc. (open source)

Definitions Characteristics of databases

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 4

Page 5: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

3. Geographic Information System (GIS)A geographical information system (GIS) is a system for creating, storing, analyzing and managing spatial data and associated attributes.

In a more generic sense, GIS is a tool that allows users to create interactive queries (user created searches), analyze the spatial information, and edit data.

Examples:

• ESRI ArcGIS, ViewMap, etc. (proprietary)

• Quantum GIS, etc. (open source)

Definitions Definitions

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 5

Page 6: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

e.g. Codepages!!!

ISO8859 character set or Unicode? in (Microsoft Windows) operating system

Different interpretation of characters possible in

- Database products: MS Access or similar

- GIS software: ESRI ArcGIS or similar

Characteristics of databases

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 6

Page 7: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

Characteristics of databases

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 7

Page 8: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

character B▪ According to this codepage, the character “B” is displayed as decimal number 66

▪ Examples of Codepages: − ASCII-Code (American

Standard Code for Information Interchange),

− ANSI-Code (American National Standards Institute),

− ISO-Codepages, − Unicode

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 8

Characteristics of databases

Page 9: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

Data Capture

Data Storage

Data Output

Data Processing

from cards, lists, books, fieldwork, maps, other databases, ....

in a database

NamesDATABASE

Gazetteer

(printed)

national

Web

NamesDATABASE

international

Map

GIS

Characteristics of databases

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 9

Page 10: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

Text file, Spreadsheet or Database?

Explanations and short demos to be arranged by Pier-Giorgio

Top Train Course, Antananarivo, Madagascar17 - 21/06/2013 10

Page 11: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

1) Text file (software: e.g. Microsoft Word)

advantage: easy to print

disadvantages: very limited capabilities in digitalprocessing,not suitable for large amount of data

Text file, Spreadsheet or Database?

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 11

Page 12: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

2) Spreadsheet (software: e.g. Microsoft Excel)

advantage: extended processing capabilities

disadvantage: digital processing limited tooperations within the spreadsheet

Text file, Spreadsheet or Database?Text file, Spreadsheet or Database?

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 12

Page 13: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

3) Database (software: e.g. Microsoft Access)

advantages: data can be connected with other databases,complex processing capabilities

disadvantages: some programming and/or userskills required

Text file, Spreadsheet or Database?Text file, Spreadsheet or Database?

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 13

Page 14: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

- language {three letter codes from ISO 639-3 or -5} - nameStatus {official, standardised, historical, other}- link to relatedSpatialObject- script {four letters codes defined in ISO 15924}- nativeness {endonym, exonym}- transliterationScheme- grammatical gender {masc., fem., neuter, common} - grammatical number {singular, plural, dual} - pronunciation- sourceOfName - typeLocal- lifeCycleInfo (begin/end of the object in the source DB)- …

mandatory- name(s) (text, spelling)- geomety- feature type- unique identifier

‘voidable’

INSPIRE GN schema: elements

Data model – database modelling

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 14

Page 15: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

INSPIRE Geographical Names – UML Schemav3.1

Data model – database modelling

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 15

UML = Unified ModellingLanguage

Page 16: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

INSPIRE Geographical Names – UML Schema

Data model – database modelling

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 16

A Named Place, representing a real world entity referred to by a Geographical Namee.g “the City of Athens” type = built-up area

geometry = {X, Y}

is associated with one or severalGeographical Names, i.e. proper noun applied to the feature

(1) “Athína” language = GreeknativeValue = Endonym

(2) “Athens” language = EnglishnativeValue = Exonym

Spellings of Name.i.e. proper way of writing the name

and may have one or several

(1.1) text = Aθnνascript = Greek

(1.2) text = Athínascript = Latin

(2.1) text = Athensscript = Latin

Page 17: Session 7.2: Description of database characteristics V1 · Description of database characteristics. V1. Pier-Giorgio Zaccheddu. Federal Agency for Cartography and Geodesy (BKG) Richard-Strauss-Allee

Geographical names in production database – GN-DE

Example: 1 spatial object/feature → Bautzen/Budyšin

Entities for both languages “Bautzen” (German) and “Budyšin” (Sorbian)

Data model – database modelling

17 - 21/06/2013 Top Train Course, Antananarivo, Madagascar 17