47
Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Embed Size (px)

Citation preview

Page 1: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Applied Cartography and Introduction to GIS

GEOG 2017 ELLecture-4

Chapters 7 and 8

Page 2: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Location Errors

• Location errors refer to the geometric inaccuracies of digitized features.

• Location errors can be examined by referring to the data source for digitizing.

Page 3: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Digitization Errors

Page 4: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Spatial Data Accuracy Standards

• In the United States, the development of spatial data accuracy

• standards has gone through three phases. 1. U.S. National Map Accuracy Standard, revised and

adopted in 1947

2. Accuracy standards for large-scale maps proposed by the American Society for Photogrammetry and Remote Sensing in 1990

3. National Standard for Spatial Data Accuracy established by the Federal Geographic Data Committee in 1998

Page 5: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Topological Errors

Topological errors violate the topological relationships either required by a GIS package or defined by the user.

Page 6: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Topological Errors with Geometric Features

• Undershoot• Overshoot• Dangling node• Pseudo node• Direction error• Label error

Page 7: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Topological Errors

(a) An unclosed polygon (b) A gap between two polygons (c) Overlapped polygons.

Page 8: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Overshoot and Undershoot

Page 9: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Pseudo Nodes

Pseudo nodes, shown by the diamond symbol, are nodes that are not located at line intersections.

Page 10: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Direction of Arc

The from-node and to-node of an arc determine the arc’s direction.

Page 11: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Multiple Labels

Multiple labels can be caused by unclosed polygons.

Page 12: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Errors between Layers

• Boundaries not coincident• Lines not connected at end points • Overlapping line features

Page 13: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Boundaries not Coincident

Page 14: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Coincidence Errors

Line features from one layer do not connect perfectly with those from another layer at end points. (b) is an enlargement of the top error in (a).

Page 15: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Topological Editing

• Topological editing ensures that digitized spatial features follow the topological relationships that are either built into a data model or specified by the user.

1.Topological Editing on Coverages2.Editing Using Map Topology3.Editing Using Topology Rules

Page 16: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Using Dangle Length

Page 17: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Problem with Dangle Length Method

Page 18: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Fuzzy Tolerance

The fuzzy tolerance can snap duplicate lines if the gap between the duplicate lines is smaller than the specified tolerance. In this diagram, the duplicate lines to the left of the dashed line will be snapped but not those to the right.

Page 19: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Problem with Fuzzy Tolerance

A large fuzzy tolerance can remove duplicate lines (top), which should be removed, as well as features such as a small stream channel (middle), which should not be removed.

Page 20: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Extend Distance

The allowable extend distance can remove the dangle by extending it to the line on the right.

Page 21: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Manually Removing Overshoot

To remove the overshoot a, first select it and then delete it.

Page 22: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Non-Topological Editing

Non-topological editing refers to a variety of basic editing operations that modify simple features and create new features from existing features.

Page 23: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Reshaping a Line

Reshape a line by moving a vertex (a), deleting a vertex (b), and adding a vertex (c).

Page 24: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Polygon Splitting

Sketch a line across the polygon boundary to split the polygon into two.

Page 25: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Merging Polygons

Merge four selected polygons into one.

Page 26: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Edgematching

Edgematching matches lines along the edge of a layer to lines of an adjacent layer so that the lines are continuous across the border between two layers.

Page 27: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Edgematching

Edgematching matches the lines of two adjacent layers (top) so that the lines are continuous across the border (bottom).

Page 28: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Line Mismatch

Mismatches of lines from two adjacent layers are only visible after zooming in.

Page 29: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Line Simplification and Smoothing

• Line simplification refers to the process of simplifying or generalizing a line by removing some of its points.

• Line smoothing refers to the process of reshaping lines by using some mathematical functions such as splines.

Page 30: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Line Simplification

The Douglas-Peucker line simplification algorithm is an iterative process, which requires use of a tolerance, trend lines, and calculation of deviations of vertices to the trend line. See text for explanation.

Page 31: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Line Simplification Algorithms

Result of line simplification can differ depending on the algorithm used: the Douglas-Peucker algorithm (a) and the bend-simplify algorithm (b).

Page 32: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Line Smoothing

Page 33: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Attribute Data

• Attribute data are stored in tables.

• An attribute table is organized by row and column.

• Each row represents a spatial feature, each column describes a characteristic, and the intersection of a column and a row shows the value of a particular characteristic for a particular feature.

Page 34: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Feature Attribute Table

• A feature attribute table has access to the spatial data. Every vector data set must have a feature attribute table.

• For the georelational data model, the feature attribute table uses the feature ID to link to the feature’s geometry.

• For the object-based data model, the feature attribute table has a field that stores the feature’s geometry.

Page 35: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Georelational Data Model

As an example of the georelational data model, the soils coverage uses SOIL-ID to link to the spatial and attribute data.

Page 36: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Object-Based Data Model

The object-based data model uses the Shape field to store the geometries of soil polygons. The table therefore contains both spatial and attribute data.

Page 37: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Value Attribute TableAn integer raster has a value attribute table, which lists the cell values and their frequencies (count).

A value attribute table lists the attributes of value and count. The value field refers to the cell value, and the count field refers to the number of cells.

Page 38: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Feature Attribute Table

A feature attribute table consists of rows and columns. Each row represents a spatial feature, and each column represents a property or characteristic of the spatial feature.

Page 39: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Types of Database Design

There are at least four types of database designs that have been proposed in the literature:

Flat file

Hierarchical

Network

Relational

Page 40: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Four types of database design: (a) flat file, (b) hierarchical, (c) network, and (d) relational.

Page 41: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Normalization

Designing a relational database must follow certain rules. An important rule is called normalization. Normalization is a process of decomposition, taking a table with all the attribute data and breaking it down to small tables while maintaining the necessary linkages between them.

Page 42: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Un-normalized Table

PIN Owner Owner address Sale date Acres Zone code ZoningP101 Wang 101 Oak St 1-10-98 1.0 1 residential

Chang 200 Maple StP102 Smith 300 Spruce Rd 10-6-68 3.0 2 commercial

Jones 105 Ash StP103 Costello 206 Elm St 3-7-97 2.5 2 commercialP104 Smith 300 Spruce Rd 7-30-78 1.0 1 residential

Page 43: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

First Step in Normalization

PIN Owner Owner address Sale date Acres Zone code ZoningP101 Wang 101 Oak St 1-10-98 1.0 1 residentialP101 Chang 200 Maple St 1-10-98 1.0 1 residentialP102 Smith 300 Spruce Rd 10-6-68 3.0 2 commercialP102 Jones 105 Ash St 10-6-68 3.0 2 commercialP103 Costello 206 Elm St 3-7-97 2.5 2 commercialP104 Smith 300 Spruce Rd 7-30-78 1.0 1 residential

Page 44: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Second Step in Normalization

Page 45: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Complete Normalization

Page 46: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8

Relationship Types

• A relational database may contain four types of relationships (also called cardinalities) between tables, or more precisely, between records in tables: – one-to-one– one-to-many– many-to-one– many-to-many

Page 47: Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-4 Chapters 7 and 8