36
GIS Data Structures How do we represent the world in a GIS database?

GIS Data Structures

Embed Size (px)

DESCRIPTION

GIS Data Structures. How do we represent the world in a GIS database?. Basic Data Structures for GIS. 1. Vector. 2. Raster. 3. TIN (triangulated irregular network). 4. Tabular Information (attribute table). Vector Data Structure. polygons. lines. Vector Data Structure. - PowerPoint PPT Presentation

Citation preview

Page 1: GIS Data Structures

GIS Data Structures

How do we represent the world in a GIS database?

Page 2: GIS Data Structures

Basic Data Structures for GIS

1. Vector

2. Raster

3. TIN (triangulated irregular network)

4. Tabular Information(attribute table)

Page 3: GIS Data Structures

Vector Data Structure

lines

polygons

Page 4: GIS Data Structures

In vector data layers, the feature layer is linked to an attribute table. Every individual feature corresponds to one record (row) in the attribute table.

Vector Data Structure

Page 5: GIS Data Structures

About Image Files

• Image files contain no data

• They are the background

• You can create data based on images

• Not considered a “data” structure

Page 6: GIS Data Structures

Raster Data Structure (Grid)

Page 7: GIS Data Structures

A raster grid can store values that represent categories, for example, vegetation type

The basic grid attribute table has a value and count field

The value field has a code or some real number representing information about the grid cell. In this case it is a code for vegetation.

The count field shows how many grid cells have that same value.

Raster Data Structure

Page 8: GIS Data Structures

A raster grid can store values that represent categories, for example, vegetation type

A grid table can also have additional information, in this case the name of the vegetation type. But is always has the value and count fields.

Raster Data Structure

Page 9: GIS Data Structures

Grids can also store continuous values like elevation

Raster Data Structure

Page 10: GIS Data Structures

Elevation grid for area north of Kirkuk, IraqFrom space shuttle radar topography mission (SRTM)

Zoom in and you see the grid cells

These are called:

Digital Elevation Models (DEM)

Raster Data Structure

Page 11: GIS Data Structures

So 2 ways of representing elevation:

Vector contour lines Raster grid

Raster Data Structure

Page 12: GIS Data Structures

Sources of raster data

Interpreted satellite imagery, e.g., land cover

Conversion of vector to raster data

Raster Data Structure

Page 13: GIS Data Structures

Sources of raster dataSpatial analysis performed on vector data

A point layer of crime reports

A density grid derived from the same crime data – interpolation of point data over a continuous surface

Raster Data Structure

Page 14: GIS Data Structures

Sources of raster data

Although an digital aerial photo is in raster format, it has no data.

Raster Data Structure

Page 15: GIS Data Structures

Raster Data Structure

Page 16: GIS Data Structures

Raster and Vector Data Structures

PointPoint

LineLine

PolygonPolygon

VectorVector RasterRaster

Raster data are described by a cell grid, one value per cell

Zone of cells

Page 17: GIS Data Structures

• Features with discrete shapes and boundaries (e.g., street, land ownership parcel, well)

• Database management

• Database query and reporting

• Network analysis• High quality maps

• Continuous surfaces with fuzzy boundaries or with qualities that change gradual over space (e.g., soil, land cover, vegetation, pollution)

• Spatial analysis and modeling (e.g., agricultural suitability)

Vector Raster

Page 18: GIS Data Structures

A 3rd data structure for representing surfaces:

Triangulated Irregular Network (TIN)

TIN Data Structure

Page 19: GIS Data Structures

Elevation points connected by lines to form polygons that contain topographic information

TIN Data Structure

Page 20: GIS Data Structures

Elevation points connected by lines to form polygons that contain topographic information

TIN Data Structure

Page 21: GIS Data Structures

TIN Data Structure

Page 22: GIS Data Structures

TIN Data Structure

Page 23: GIS Data Structures

3 GIS Spatial Data Structure Types

Page 24: GIS Data Structures

Attribute table

“Flat File” with columns and rows

Row = geographic feature recordColumn = attribute field (item of information about a feature)

Attribute Data Structure

Page 25: GIS Data Structures

Attribute field general types

• Numeric (integer or decimals)

• Text (string)

• Date

• Blob (binary large object)

Page 26: GIS Data Structures

TopologyWhen you edit features in an electric utilitysystem, you want to be sure that the ends ofprimary and secondary lines connect exactly andthat you are able to perform tracing analysis onthat electric network.

Features need to be connected using specific rules.

Page 27: GIS Data Structures

Network Topology

Page 28: GIS Data Structures

Planar topology

Property parcels of land must adjoin each other exactly, without gaps or overlaps. This two-dimensional graph is called a planar topology.

Page 29: GIS Data Structures

Topological relationships

The relationships that do not change if you imagine a map being on a rubber sheet and you pull and stretch the rubber sheet in different directions.

Vector and TIN data can have topological structure.

Raster and images can not have a topological structure.

Page 30: GIS Data Structures

For your project

• What data layers

• Vector, raster, TIN, image?

• Topological structure (network connectivity or planar topology)?

• Attributes?

• Minimum required accuracy?

Page 31: GIS Data Structures

Should a data layer be topologically structured?

Some objects are non-topological and can be freelyplaced in a geographic area.

Examples?

Many objects are primarily stored in a GIS forthe purpose of background display on a map, so it isusually not necessary to store them in a topologicalformat.

If roads are a background layer in your GIS,they will probably be simple features. If roads arepart of an analysis of a transportation system, theyshould be topological features.

Page 32: GIS Data Structures

ArcGIS Major Data Formats

• Shape files

• Coverages (Arc/Info)

• Geodatabases

Page 33: GIS Data Structures

Shape files

Shape files can be created with ArcView software.

Page 34: GIS Data Structures

Arc/Info Coverages

Coverages are an older data structure in which topology could be modeled.

You will still find many data sets in Arc/Info coverage data formats.

But for new data, you should use geodatabase formats.

Page 35: GIS Data Structures

Geodatabases

Geodatabases can be created with ArcGIS 8.x and 9.x

Geodatabases give you more power to specify rules for features and structure topology

Page 36: GIS Data Structures

Summary

• 3 Spatial Data Structure Types in GIS– Vector– Raster– TIN

• Attribute Data Structure – Tables of columns and rows

• Topology – needed for spatial data to “know” where other data is