Skip to main content

Command Palette

Search for a command to run...

Spatial Data Types

Published
2 min readView as Markdown
W

Hello,

I'm passionate about transforming raw data into actionable insights, driven by a lifelong fascination with numbers. As a data analyst, I enjoy uncovering meaningful patterns and collaborating with like-minded individuals.

I'm also a strong advocate for mental health and use data to contribute to this important cause. My background in the medical field enhances my analytical approach, bridging the gap between healthcare and data analysis.


What is Spatial Data?

Spatial data describes the absolute or relative location of geographic features. Simply put, it answers the question: “Where is it?”

Types of Spatial Data

  1. Vector Data

    • Built from coordinates (x, y).

    • Features can be represented as:

      • Points – e.g., schools, trees.

      • Lines – e.g., rivers, roads.

      • Polygons – e.g., country boundaries, lakes.

    • Best for discrete features with clear boundaries.

  2. Raster Data

    • Made up of pixels (grid cells), each with a value.

    • Ideal for continuous data such as elevation, temperature, or satellite imagery.

  3. TIN (Triangulated Irregular Network)

    • Uses triangles to model continuous surfaces.

    • Especially useful for representing terrain and slope.


What is Attribute Data?

While spatial data tells us where things are, attribute data tells us what they are, how much, and when. This is the descriptive side of GIS.

Categories of Attribute Data

  1. Nominal – Names or labels (e.g., soil type, land use class).

  2. Ordinal – Ordered categories (e.g., low, medium, high risk).

  3. Interval – Numeric values with equal spacing but no true zero (e.g., temperature in °C).

  4. Ratio – Numeric values with a true zero (e.g., population, distance).

  5. Cyclic – Data that repeats in cycles (e.g., time of day, wind direction).

  6. Counts and Amounts – Totals and quantities (e.g., number of hospitals, rainfall amount).


Geometry Types in Vector Data

Vector data is further organized into geometry types:

  • Point – Single location (a well).

  • MultiPoint – Multiple point locations.

  • LineString – Connected points forming a line (a road).

  • MultiLineString – Multiple lines.

  • Polygon – An enclosed shape (a lake, a district).

  • MultiPolygon – Multiple polygons (country boundaries with islands).

  • Geometry Collection – A mix of geometry types.