46
GIS Data Models Vector Data Models Vector File Formats Raster Data Models Raster File Formats Lecture 2-3, Jan. 26 and 28, 2004

GIS Data Model

Embed Size (px)

Citation preview

Page 1: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 1/46

GIS Data Models

Vector Data Models

Vector File Formats

Raster Data Models

Raster File Formats

Lecture 2-3, Jan. 26 and 28, 2004

Page 2: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 2/46

Data Abstraction

• To use GIS the real world must be

abstracted into points, lines, polygons,

raster cells, and attribute values

• Class examples may use common object

that most people will understand. If you

understand how to abstract common

objects you will be able to apply the samemethod to object in your field

Page 3: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 3/46

What is Vector Data

• Vector Data uses Points and their (X,Y)

coordinates to represent spatial features

• Points, Lines and Polygons

Page 4: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 4/46

Points

•  A point is a 0 dimensional object and has

only the property of location (x,y)

• Points can be used to Model features such

as a well, building, power, pole, sample

location ect.

• Other name for a point are vertex, node, 0-

cell

Page 5: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 5/46

Lines

•  A line is a one-dimensional object that has the

property of length

• Lines can be used to represent road, streams,

faults, dikes, maker beds, boundary, contactsetc.

• Lines are also called an edge, link, chain, arc, 1-

cell

• In an ArcInfo coverage an arc starts with a node,

has zero or more vertices, and ends with a node

Page 6: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 6/46

Figure 4.3 p58 Bernhardsen

Page 7: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 7/46

Polygons

•  A polygon is a two-dimensional object with

properties of area and perimeter 

•  A polygon can represent a city, geologic

formation, dike, lake, river, ect.

• Other name for polygons face, zone 2-cell

• Scale matters

Page 8: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 8/46

Page 9: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 9/46

Data Abstraction Discussion

• If you do not understand this the rest of 

GIS will not make sense

• Scale Matters

• Intended use Matters

Page 10: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 10/46

Examples

• Trees

• Dikes

• Roads• Rivers

Page 11: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 11/46

Topology

•  A set of rules on how objects relate to

each other 

• Major difference in file formats

• Higher level objects have special topologyrules

Page 12: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 12/46

Topology Definition

• The Science of mathematics of relationships

used to validate the geometry of vector entities,

and for operations such as network tracing and

tests of polygon adjacency.

• The study of geometric properties that do not

change when the forms are bent, stretched or 

under go similar geometric transformations.

Page 13: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 13/46

Figure 2-9 GIS Fundamentals, Bolstad

Page 14: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 14/46

Planer Enforcement

Page 15: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 15/46

Why Topology Matters

• Error Detection

open polygons

unlabeled polygonsslivers

polygons that cannot exist next to each

other • Network Modeling

Page 16: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 16/46

Show Placitas

•  Arc Node Topology

 – Cover#

 – Lpoly# and Rpoly#

 – Tnode fnode

• Label errors

Page 17: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 17/46

Higher Level Object

• Regions

• Networks

• TIN – Triangulated irregular network• Dynamic Segmentation

Page 18: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 18/46

Regions

Overlapping areas with different attributes

Fire history

Disconnected areas with the same attributesHawaii

Page 19: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 19/46

Networks

• Road systems, power grids, water supply

sewerage systems, drainage network

• Continuous connected networks

• Rules for displacement in a network

•  Attribute value accumulations due todisplacements

Page 20: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 20/46

TIN

• Vector Surface Model

• Triangulated Irregular Network

•  A set of nonoverlapping triangles eachwith a constant gradient

•  A TIN can honor original input elevations

Page 21: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 21/46

Dynamic Segmentation

• Combines a line coverage with a linear 

reference system

• Has event tables for point events and

linear events

Page 22: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 22/46

Fig 3.13 p52 Chang

Page 23: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 23/46

Examples and Demo

Page 24: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 24/46

Shape Files

• Nontopological

•  Advantages no overhead to process

topology

• Disadvantages polygons are double

digitized, no topologic data checking

• 3 files .shp .shx .dbf 

Page 25: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 25/46

Coverages

• Original ArcInfo Format

• Directory With Several Files

• Database Files are stored in the InfoDirectory

• Uses Arc Node Topology

 – Planer Enforcement – Connectivity

 – Adjacency

Page 26: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 26/46

GeoDatabase

• New GIS Format at ArcGIS 8.0

• Two Types

 – Personal Geodatabase – Microsoft access 2000 database

 – SDE GeoDatabase – Multi-user 

 – Can connect to many RDBMS

• Oracle, SQL server, Informix

• File are stored in the format native to the RDBMS

Page 27: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 27/46

Box 3.5 Geographic Information

Systems, Chang 04 p. 55

Page 28: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 28/46

GeoDatabase

• Shapes are similar to shape files

• Object-oriented model not a Geo-relational

• There are 25 topology rules than can beused to relate different layers

Page 29: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 29/46

Raster Data Model

Fi 3 1 G tti St t d ith

Page 30: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 30/46

Figure 3:1 Getting Started with

Geographic Information Systems,

Clarke (2003) p. 91

Page 31: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 31/46

Grid Properties

• Each Grid Cell holds one value even if it is empty.

•  A cell can hold an index standing for an attribute.

• Cell resolution is given as its size on the ground.

• Point and Lines move to the center of the cell.

• Minimum line width is one cell.

• Rasters are easy to read and write, and easy to

draw on the screen.

Page 32: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 32/46

Page 33: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 33/46

Page 34: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 34/46

Raster Pyramids

• With out pyramids the entire raster must

be read for each screen draw

• Pyramids store reduced resolution dataset

files .rrd to increase the speed of screen

draws

• When you add a raster to ArcMap if 

pyramids do not exist you can create them

Page 35: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 35/46

Raster Resampling

• Nearest Neighbor 

 – Closest cell

 – Continuous and Discrete data

• Bilinear interpolation – Average of nearest 4 cells

 – Continuous data only

• Cubic Convolution – Average of nearest 16 cells

 – Continuous data only

Page 36: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 36/46

Quad Tree Compression

• May be use to get variable resolution for 

imagery in the National Map

Page 37: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 37/46

Figure 4.35 Geographic Information Systems and Introduction,

Bernhardsen (2001), p. 87

Page 38: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 38/46

C. Dana Tomlin, Geographic Information Systems and Cartographic

Modeling (1990), P. 44

• “Yes raster is faster, but raster is vaster,

and vector just seems more corrector” 

Page 39: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 39/46

Images are a form of raster data

•  ArcGIS can use many common image

formats

Page 40: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 40/46

Page 41: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 41/46

Page 42: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 42/46

Page 43: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 43/46

Page 44: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 44/46

Industry Standard Data Models

• Some Industries have created standard

data models

• It is a good idea to use a standard model

to promote sharing of data

• Some data models can be very complex

• Complex models require custom tools to

be useful

Page 45: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 45/46

Page 46: GIS Data Model

7/29/2019 GIS Data Model

http://slidepdf.com/reader/full/gis-data-model 46/46

References

• Getting Started with Geographic Information

Systems 4th Edition, Clark (2003)

• Geographic Information Systems an Introduction

3rd Edition, Bernhardsen (2002)• Introduction to Geographic Information Systems

2nd Edition, Chang (2004)

• GIS Fundamentals, Bolstad (2002)

•  ArcGIS 8.3 Desktop Help

• Using GRID with ArcInfo version 7 ESRI