• Tidak ada hasil yang ditemukan

Raster and Vector Data Models Part Two

N/A
N/A
Protected

Academic year: 2025

Membagikan "Raster and Vector Data Models Part Two"

Copied!
12
0
0

Teks penuh

(1)

1

Lecture 06

Raster and Vector Data Models Part Two

DATA MODEL OF RASTER AND VECTOR DATA MODEL OF RASTER AND VECTOR

REAL WORLD

1 2 3 4 5 6 7 8 9 10

1 2 3 4 5 6 7 8 9 10

(2)

3

Vector Data Model

To prepare spatial data for computer processing, the vector data model first uses points and their x-, y-coordinates to represent spatial features as points, lines, and areas.

Then it organizes geometric objects and their spatial relationships into digital data files that the computer can access, interpret, and process.

Vector data

• Vector data are stored as a series of xy coordinates

– Points are stored as single xy coordinate – Lines are a string of xy coordinates

– Polygons are composed of one or more lines and a label

– Attributes are attached to each feature through a unique numeric code

– Many attributes may be stored in each vector file

(3)

5

Types of Vector Data Models

Two main types of vector data models:

¾spaghetti vector data model

¾Topological vector data model

(4)

7

The Spaghetti Model

• The spaghetti model is the most simple vector data model

• The model is a direct representation of a graphical image

• No explicit topological information

• Example: shapefiles

Spaghetti Model

• Description: direct line for line translation of the paper map (often viewed as raw digital data)

• Pros: easy to implement, good for fast drawing

• Cons: storage and searches are

sequential, storage of attribute data

(5)

9

Spaghetti model

Topology

Topology is the mathematical procedure for defining spatial relationships, i.e., it is the mathematics of connectivity and adjacency for spatial features (how features join).

Topology is the programming that provides spatial relationships between nodes, chains, and geographic features, i.e., it is a special data structure that establishes connections and links for the nodes and chains in order to recognize spatial relationships among the geographic features.

(6)

11

Intelligent Vector Data model - Topology

GIS analysis answers many questions:

Where is it?

What is it next to?

Is it inside or outside

How far is it from something else

The mathematical terms for these answers is:

Where is it? (location)

What is is next to (adjacency) Is it inside or outside (containment) How far is it (connectivity)

Topologyrepresents the structuring of coordinate data which clearly describes adjacency, containment, and connectivity.

Topology

¾With topology each feature has the following characteristics:

knows where it is.

Knows what is around it.

Has recognized spatial relationships with other features.

Has length, distance, perimeter, and area information.

Knows how to get around.

Understands its environment.

¾Example of topological data model: coverage

(7)

13

Topological Vector Model

Storing Vector Data

Two common methods for storing vector data:

Georelational (e.g. shapefiles, coverage) Spatial and attribute stored separately

• “geo” – graphic/spatial part

• “relational” – database part (tabular)

• Classical approach to vector data

Object-based (oriented) (e.g. geodatabase)

• Spatial and tabular component are stored as a single system

• Spatial features can have properties and methods

• Recent trend towards object-based model

(8)

15

(9)

17

Raster Vs. Vector

• Must Consider

– Discreteness of the entity being depicted – Intended application (efficiencies)

– Source data

– Storage considerations

• Resolution

• Color

Vector – Advantages and Disadvantages

• Advantages

– Good representation of reality – more efficient data storage

– Topology can be described in a network – Accurate graphics

• Disadvantages

– Complex data structures – Simulation may be difficult

– Some spatial analysis operations are

(10)

19

(11)

21

Raster – Advantages and Disadvantages

• Advantages

– Simple data structure – Easy overlay

– Various kinds of spatial analysis – Uniform size and shape

– Cheaper technology

• Disadvantages

– Large amount of data – Less “pretty”

– Projection transformation is difficult

– Different scales between layers can be a nightmare – May lose information due to generalization

(12)

23

Comparisons, raster v.s. vector

Characteristics

Positional Precision

Attribute Precision

Analytical Capabilities

Data Structures

Storage Requirements Coordinate conversion Network Analyses

Output Quality

Can be Precise Defined by cell size

Poor for continuous data Good for continuous data Good for spatial query, adjacency, area,

shape analyses. Poor for continuous data. Most analyses limited to intersections. Slower overlays.

Spatial query more difficult, good for local neighborhoods, continuous variable modeling. Rapid overlays.

Often complex Often quite simple

Relatively small Often quite large

Usually well-supported Often difficult, slow

Easily handled Often difficult

Very good, map like Fair to poor - aliasing

Vector Raster

Referensi

Dokumen terkait

Direct Torque Control- Space Vector Modulation (DTC- SVM) method offers constant switching frequency and lower flux and torque ripple, reliable start up and low

In the proposed method, a fixed-length vector, called an i-vector, is extracted from each signature, and then this vector is used to create a template.. Several methods, such as the

CONCLUSION From graphical representation of parameters, we concluded that dwt is most suitable for image compression For the comparison of our compression technique with the other

Procedure for the same is described as follows: Input: Color or Gray Image Output: Feature Vector for image Procedure: Step by step representation Step 1: Read or refer the given

The numerical examples of multi-scale Lorenz 96 systems are summarized as below: i For𝑐=10 andℎ =1 in the multi-scale Lorenz 96 system, a dictionary-learning- based model is trained as

3.2.2.1 Data Requirement Mobile Captured Image Needs Image Processing Processes Output Produces Optical Character Or Recognition OCR Result elements Diagram 2: Data model of

Tests for mean vector and simultaneous confidence intervals with two-step monotone missing data Noriko Seko1, Akiko Yamazaki2 and Takashi Seo1 1Department of Mathematical Information