Professional Documents
Culture Documents
N Two axes:
•One horizontal (x), representing east-west,
•One vertical (y), representing north-south.
3D coordinate systems
Euclidean space is more than just a real coordinate space. The
distances between points and the angles between lines or vectors
can be measured as :
One-dimensional distance
For two 1D points, P (Px ) and Q (Qx), the distance is computed as:
Two-dimensional distance
For two 2D points P (Px, Py) and Q (Qx, Qy),
the distance is computed as:
Three-dimensional distance
For two 3D points P (Px, Py, Pz) and Q (Qx, Qy, Qz), the distance computed as:
Geographically referenced data refers to data referenced by location
on Earth (e.g., latitude/longitude, northing/easting) in some standard
format.
Raster Vector
MAP DATABASE
Introduction to Spatial Data
•The data that indicates the Earth location (latitude and longitude, or
height and depth) of these rendered objects is the spatial data.
•When the map is rendered, this spatial data is used to project the
locations of the objects on a two-dimensional piece of paper.
•They have an area that is given by the arcs/lines that make the
boundary.
•They are used to represent features that have area (e.g. lakes,
large cities and islands)
•Points
•Lines
•Polygons
•TINs
Vector Data
Raster: matrix of cells (pixels) referenced by row/column,
stored as a matrix or array;
•For geo-referenced rasters, every cell represents a given area on
the ground (resolution). The smaller the area the cells represent, the
larger the data set size for a given area.
o Points along an arc that define its shape are called Vertices.
Polygon attribute
Line attribute
Non-Spatial /Attribute Data: The attributes refer to the properties
of spatial entities. They are often referred to as non-spatial data
since they do not in themselves represent location information.
Attribute data are mainly database information corresponding to
the geographic features under consideration.
• Each feature (point, line, polygon, or raster) within each GIS layer
will be represented as a record in a table.
Data formats:
Vector
Lattice/Grid/Raster
Image 1. Spatial Data Models
TIN
2. Attribute Data Models
ASCII
DWG/DXF
Tabular Databases
GeoDatabase
SPATIAL DATA MODELS:
Spatial data has been stored and presented in the form of a map. Three
basic types of spatial data models have evolved for storing geographic
data digitally. These are referred to as:
•Lattice/Grid/Raster
•Vector
•Image
Lattice and Grid (Raster):
•Describe a data format that stores positional (horizontal) location
information in a row-column (Cartesian) structure (pixels), a highly
efficient data storage, access, and manipulation format.
•Some grids may store multiple attributes just like vector data, grids
usually store only a single numerical value.
•Simple binary data values uses meaning that the possibilities are
limited to two digit numbers – either 0 or 1. This is an example of a
1-bit raster data file. Mathematically, there are only two
possibilities for each pixel, 0 or 1. By contrast in an 8-bit data file,
there are 256 possibilities of data values for each pixel.
•The computer “sees” the cells that contain 0 as “turned off”, while
the cells that contain 1 as “turned on”.
Vector:
•Roadways as lines, firestations as points and lakes and ponds as
polygons (areas).
•Vector data is a straight forward digital version of the lines that define
the shape or boundary of a map feature.
•In some software packages, vector data can have more complex
structure, e.g. measures along lines (i.e., roads), or areas of polygon
overlap such as animal habitat zones.
4. Since most input data is in vector form, data must undergo vector-
to-raster conversion. Besides increased processing
requirements, this may introduce data integrity concerns due to
generalization and choice of inappropriate cell size.
Advantages of Vector Data:
3.Since most data, e.g. hard copy maps are in vector form, no
conversion is required.
A separate data model is used to store and maintain attribute data for
GIS software. These data models may exist internally
within the GIS software, or may be reflected in external commercial
Database Management Software (DBMS). A variety of
different data models exist for the storage and management of
attribute data. The most common are:
ASCII
DWG/DXF
Tabular Databases
GeoDatabase
ASCII – (American Standard Code for Information Interchange)
•Data in this format is simply a line-by-line listing of information in
text
format that takes on a geographical meaning when the listing
contains
positional coordinate information.
•Text information can be easily imported into most GIS and CAD-
based software programs and it is this flexibility that drives storing
some point data sets in this format.
•When possible, most point data sets are stored as vector datasets to
make them more consumable to ArcView and ArcGIS software
packages.
•In the case of the elevation data that originate as very large ASCII
files, storage as vector point files is not efficient for display and
DWG/DXF Drawing files (DWG) and the ASCII export version (DXF)
• Another flavor of vector data developed for and used extensively
in engineering CAD (Computer Aided Drawing) software.
• As the line between GIS and traditional CAD software and data
types continues to blur, the industry has improved the
compatibility, and thus sharing of these data types.
This identification number acts as the primary key for the table.
To date, only a few GIS packages are promoting the use of this
attribute data model. However, initial impressions indicate that this
approach may hold many operational benefits with respect to
geographic data processing. Fulfillment of this promise with a
commercial GIS product remains to be seen.