Introduction to GIS

What is a Geographic Information System?

A GIS connects what with where

A Geographic Information System collects, stores and manages the location and layout of things (the where) along with a description of those things (the what, and sometimes also who and when). By utilizing computer technology, this connection between what and where allows for powerful analysis and decision support.

What ↔ Where

The basic building block of a GIS is a feature

A feature1 is a computer model of a collection of things in the real world that will, for the purposes of the computer model, be identifiable as a single entity. This entity could be a tangible object (e.g., a river) or intangible concept (e.g., a boundary). The computer model of an entity (the feature) contains spatial information (where) as well as descriptive information (what, who, when). The spatial component is stored as a geometry and each item of descriptive information is called an attribute.

1 The word “feature” is unfortunately used a lot in software and technology to describe a specific benefit of a product, i.e. central locking in a car is a “feature” of the car. In GIS, feature is the term for an identifiable entity on a map. When describing the software itself, alternative words like “function” must be used in the GIS world.

Geometry

The geometry of a feature consists of one or more point locations in two or three dimensional space. Each point location is described by coordinates (x, y, z or latitude, longitude, altitude).

Three types of geometries

A geometry may be a single point or an ordered list of points. If multiple points are connected, meaning all locations along the shortest path between two points are being modeled as an edge of the feature, the geometry is called a polyline, though usually shortened as simply line.

A polyline which is closed (meaning the first and last point have the same coordinates), can be used to model a bounded surface, which is called a polygon.

Geometries can also be more complex in that they may consist of multiple parts. Lines may have breaks and polygons may have additional disjoint parts (separated surfaces that are identified as the same entity). Polygons may also have any number of holes (also called islands).

Feature type

The feature type defines how a geometry is used to model a feature. For example, a closed polyline could be modelling a path (e.g., a circular route) or a surface bounded by the edges formed by the polyline (e.g., a lake).

The feature type tells us whether all locations on the (lake's) surface is part of the model or only the locations along the path (the road around the lake).

Features may also be rectangular entities (geometries with four corners) that reference grid patterns to locations on a map. Such grid patterns and features of this type, are called rasters which is synonymous with “bitmaps”, i.e. rectangular grids of pixels where each pixel represents a different value, typically a colour.

Another type of feature used in PlanetGIS is a rectangular region, in three dimensions, containing a large amount of points obtained from a laser scanner. This is called a point cloud. Individual points in a point cloud are not features because they are not identifiable and cannot have information (attributes) attached to them individually. These points have only coordinates (X, Y, Z), an intensity value obtained from the laser scanner and (usually) a colour value obtained from a photograph taken by the same scanning unit. These points can be used to accurately position features in three dimensions, similar to how features can be derived from images (e.g., satellite photos) in two dimensions.

Lastly, PlanetGIS has a type of feature called web tiles that references images (typically) on an Internet server. The geometry of such features is an entire planetary sphere and the number of each tile corresponds to its location on the sphere.

FeatureId

Each feature is assigned a unique number which is used to link all attributes to the feature in the database. In database terminology, the FeatureId is the primary key.

Attributes

Any piece of information connected to a feature is called an attribute. In the database, each attribute is stored in a different column of a table and all attributes of a feature in the same row (which has the FeatureId as the primary key). The term “attribute” has a double meaning when describing a class of features, where its meaning is closely related to the entire column of a database table.

Features have a numer of fixed attributes, as well as user-defined attributes. The fixed attributes are:

  • Easting, Northing, Altitude - the coordinate of the centroid of the feature; corresponds to the geometry of a point
  • Measure - a numeric value with no predefined meaning, used to describe a primary measurement or dimension of a feature, e.g., the width of a pipe
  • Label - a text value normally displayed along with the feature on a map
  • Length - the length of a line feature, or perimeter of a polygon; point features have no length
  • Area - the surface area of a polygon; point and line features have no area
  • Key1 - a text or numeric value with no predefined meaning, which a user can use to identify a feature or attach further information (which has that value as a primary key)

Attributes

Each feature has a unique number (called a FeatureId). Each feature may have a label (text to display on a map) and a measurement. Point features may have an orientation, line features have lengths and polygons have perimeters as well as surface areas. Areas and perimeters/lengths are automatically calculated and updated by PlanetGIS.

Feature classes

Features are classified into feature classes (e.g. rivers or roads) which may be further classified into subclasses (e.g. paved roads or dirt roads). All features of a feature class have the same attributes and subclasses may add more attributes to those of their parent class. For example, features in a feature class “Rivers” might have an attribute specifying whether it is perennial or not.

Summary of Concepts

Feature

A computer model of a real world physical object (river) or invisible concept (border).

Feature type

  • Point features model the locations of the centres (or representative locations) of entities
  • Line features model the centre lines of linear entities
  • Polygon features model the surface extents of entities
  • Raster features reference bitmap images on a map
  • Point cloud features position laser observations on a map
  • Web tiles features add background imagery from external sources to a map

FeatureId

A unique number that identifies a feature within a database.

Attribute

An item of information attached to a feature, or the name and type of each piece of information attached to a class of features.

Feature class

A grouping of features that have the same attributes.

Style

A collection of visual elements (symbols, pens, fills & fonts) used to draw the geometries of features.

Display

A reference to a feature class or a subset of features in a feature class, as well as a reference to a style that specifies the visual appearance of the features.

View

A collection of displays in order to create a map for a particular purpose.