Shapefiles, Topology And Geodatabase Flashcards
How are shapefiles stored
.shp - shape format, feature geometries
.shx - shape index format, for efficient querying
.dbf - attribute format, attribute data
Difference between shapefile and coverage
Coverages came earlier
Can edit shapefiles into impossible shapes (overlapping parcels)
Double lines in shapefiles for shared features, no shared lines in coverages
Operations run faster in coverages
Overlaps coverages cannot deal with
What does a DBMS do?
A database handles storage and retrieval of data using specific protocols and methods and abstracts from the hardware or file system.
Does not usually handle locking, access eighths or views
Defines an additional later on top of the database and abstracts forms from specific methods
What is n-tier architecture
N-tier aims at decoupling the different components into separate layers than can only access the next tier.
What are characteristics of a DVMS
A DBMS abstracts from specifics of a database and offers additional functionality(e.g. user rights)
A software architecture abstracts from the specific DBMS and offers additional functionality (e.g. web-based access). The application server hides the storage from direct access by the user. This provides the business logicz
How to create a database scheme
First form a primary key with unique value
Then add attributes (given a specific type)
Primary keys can then be used as foreign keys in another table for cross referencing
What are primary keys, attributes and data types for?
Each table has a primary key, one column that has a unique value for each record in the table
Each attribute has a specific type such as integer or point. Data types restrict what kind of data can be stored in this attribute
What is the first normal form associated with database practice
Only one value per attribute (cell) for each record, cells do not repeat
What is the second normal form
Every non-attribute is functionally dependent on the prime key.
This creates multiple tables.
E.g creates land record 3 which associates the parcel id to owner id
What are characteristics of third normal form
Every non-key attribute is non-transitively dependent on every candidate key
E.g because an owner is in a parcel, and a township is also in a parcel, then the owner is in that township - this information would not be stored together
What is a topological data model?
A vector model consists of points lines and polygons to represent features on a map. Topology informs the connectivity and contiguity if interrelated points lines and polygons
What is contiguity
The state of bordering or being in direct contact with something
What is the minimum mapping unit?
A lower limit on the size of the objects we represent
Point topology
Points are usually independent of one another and are recorded with individual identifiers with coordinates
Line topology
Structure and identifies a minimum beginning and end point, may include online identifier a starting node and an end node