Applied Cartography and Introduction to GIS GEOG 2017 EL

Post on 14-Feb-2016

57 views 0 download

Tags:

description

Applied Cartography and Introduction to GIS GEOG 2017 EL. Lecture-2 Chapters 3 and 4. Vector Data Modeling. To prepare spatial data for computer processing: Use x , y coordinates to represent spatial features as points, lines, and areas. - PowerPoint PPT Presentation

Transcript of Applied Cartography and Introduction to GIS GEOG 2017 EL

Applied Cartography and Introduction to GIS

GEOG 2017 EL

Lecture-2Chapters 3 and 4

Vector Data Modeling

• To prepare spatial data for computer processing:– Use x,y coordinates to represent spatial

features as points, lines, and areas.

– Organize geometric objects and their spatial relationships into digital data files that the computer can access, interpret, and process.

A subway map of Taipei, Taiwan.

Topology

• We use topology to study arrangement of geometric objects and relationship between them.

• Topology can therefore be used for geocoding and referencing.

• TIGER: Topologically Integrated Geographic Encoding and Referencing.– An early application of Topology

Digraph

Georelational Data Model

• Topology can be used to develop georelational data models.

• In such a model:– geometries are stored in graphic files and– Attributes are stored in a relational database

Georelational Data in ArcInfo

An ArcInfo coverage has two components: graphic files for spatial data and INFO files for attribute data. The label connects the two components.

The Coverage

The coverage supports three basic topological relationships.

• Connectivity: Arcs connect to each other at nodes.

• Area definition: An area is defined by a series of connected arcs.

• Contiguity: Arcs have directions and left and right polygons.

Point Coverage

Line Coverage

Polygon Coverage

Shapefile• The shapefile is a standard, non-topological data

format used in ESRI products.

• Although the shapefile treats a point as a pair of x-, y-coordinates, a line as a series of points, and a polygon as a series of line segments, no files describe the spatial relationships between these geometric objects.

• Shapefiles can be read by other GIS software as well, such as MapInfo.

• In general, a non-topological format is faster for the computer to process and display.

Object-Based Data Model

• The object-based data model treats spatial data as objects. It differs from the georelational data model in two important aspects. – The object-based data model stores both the

spatial and attribute data of spatial features in a single system.

– The object-based data model allows a spatial feature (object) to be associated with a set of properties and methods.

Object-Based Model

Geodatabase

• The geodatabase is part of ArcObjects, a collection of thousands of objects, properties, and methods that provides the foundation for ArcGIS Desktop.

• The geodatabase organizes vector data sets into feature classes and feature datasets

• A feature class stores spatial data of the same geometry type.

• A feature dataset stores feature classes that share the same coordinate system and area extent.

Geodatabase Structure

Advantages of Geodatabase• The hierarchical structure of a geodatabase is useful for data

organization and management.

• The geodatabase, which is part of ArcObjects, can take advantage of object-oriented technology.

• The geodatabase offers on-the-fly topology, applicable to features within a feature class or between two or more participating feature classes.

• Thousands of objects, properties, and methods in ArcObjects are available for GIS users to develop customized applications.

• ArcObjects provides a template for custom objects to be developed for different industries and applications.

Topology Rules

• The geodatabase defines topology as relationship rules and lets the user choose the rules, if any, to be implemented in a feature dataset.

• The geodatabase offers 25 topology rules by feature type.

Topology Rules

Feature Type

Rule

Polygon must not overlap, must not have gaps, must not overlap with, must be covered by feature class of, must cover each other, must be covered by, boundary must be covered by, area boundary must be covered by boundary of, and contains point

Line must not overlap, must not intersect, must not have dangles, must not have pseudo-nodes, must not intersect or touch interior, must not overlap with, must be covered by feature class of, must be covered by boundary of, endpoint must be covered by, must not self overlap, must not self intersect, and must be single part

Point must be covered by boundary of, must be properly inside polygons, must be covered by endpoint of, and must be covered by line

Composite Features

• Composite features refer to those spatial features that are better represented as composites of points, lines, and polygons.

• Composite features include TINs (triangulated irregular networks), regions, and routes.

TINA TIN approximates the terrain with a set of non-overlapping triangles.

TIN Data Structure

Regions

• A region is a geographic area with similar characteristics.

• A data model for regions must be able to handle two spatial characteristics: A region may have spatially joint or disjoint areas, and regions can overlap or cover the same area.

Regions - Overlapping

Region – Data Structure

Routes

A route is a linear feature such as a highway, a bike path, or a stream but, unlike other linear features, a route has a measurement system that allows linear measures to be used on a projected coordinate system.

Route – Data Structure

Raster Data Model

• A raster represents a continuous surface, but for data storage and analysis, a raster is divided into rows, columns, and cells.

• Raster data represent points by single cells, lines by sequences of neighboring cells, and areas by collections of contiguous cells.

Raster and Vector

Elements of Raster Data Model1. Cell value. Each cell in a raster carries a value, which represents

the characteristic of a spatial phenomenon at the location denoted by its row and column. The cell value can be integer or floating-point.

2. Cell size. The cell size determines the resolution of the raster data model.

3. Raster bands. A raster may have a single band or multiple bands.

4. Spatial reference. Raster data must have the spatial reference information so that they can align spatially with other data sets in a GIS.

Digital Elevation Model

Types of Raster Data

1.Satellite Imagery2.Digital Elevation Models (DEMs)3.Digital Orthophotos (DOQ)4.Land Cover Data5.Bi-Level Scanned Files6.Digital Raster Graphics (DRGs)7.Graphic Files8.GIS Software-Specific Raster Data

Satellite Imagery

Scanned Image

Digital Raster Graphics

Raster Data Encoding

1.Cell-by-Cell Encoding2.Run Length Encoding3.Quad Tree

Cell-by-Cell Data Structure

Run-Length Encoding

Row 1: 5,6Row 2: 4,6Row 3: 3,7Row 4: 3,7Row 5: 3,7Row 6: 2,7Row 7: 2,7

Quad-Tree Method

Data Compression

• Data compression refers to the reduction of data volume.

• A variety of techniques are available for image compression. Compression techniques can be lossless or lossy.

• The wavelet transform, the latest technology for image compression, treats an image as a wave and progressively decomposes the wave into simpler wavelets.

Data Conversion

The conversion of vector data to raster data is called rasterization, and the conversion of raster data to vector data is called vectorization.

Rasterization and Vectorization