Skip to main content

Geographic Database Design in GIS


Geographic database design means planning how spatial data (maps + attributes) will be stored in a GIS system.

It is done in three main phases:

  1. Conceptual DesignWhat data is needed?

  2. Logical DesignHow should data be structured?

  3. Physical DesignHow will it be implemented in software?

Conceptual Database Design (The "WHAT" Phase)

🔹 Meaning

This is the high-level planning stage.
It focuses on understanding real-world geographic features and their relationships.

It is independent of any software (not linked to PostgreSQL, ArcGIS, etc.).


🔹 Key Terminologies

  • Entity → A real-world object
    Example: River, Road, Building, Village

  • Attribute → Information about an entity
    Example:

    • River → Name, Length

    • Road → Type, Width

  • Relationship → How entities are connected
    Example:

    • Road crosses River

    • Village located near River

  • ER Diagram (Entity-Relationship Diagram)
    A diagram that shows entities, attributes, and relationships.


🔹 Object-based vs Field-based Model

TypeMeaningExample
Object-based modelDiscrete featuresRoad, School, Lake
Field-based modelContinuous surfaceTemperature, Elevation, Rainfall

✔ In your rainfall or TWI analysis work, rainfall is a field model (continuous surface).
✔ In urban footprint extraction (Palakkad project), buildings are object model.


🎯 Goal of Conceptual Design

Define:

  • What data is needed?

  • What features exist?

  • How are they related?

Logical Database Design (The "HOW" – Abstract Phase)

🔹 Meaning

Now we convert the conceptual idea into a structured data model.

Still independent of specific software, but more technical.


🔹 Key Terminologies

1. Spatial Data Types (Geometry Types)

Geometry TypeExample
PointBorewell location
LineRoad, River
PolygonVillage boundary
RasterElevation map, NDVI map

2. Table Structure

Entities become tables

Example:

Table: Road

Road_IDNameTypeGeometry

3. Primary Key

A unique ID for each feature.

Example:
Road_ID → uniquely identifies each road.


4. Foreign Key

Links one table to another.

Example:
Village table contains District_ID to connect with District table.


5. Normalization

Organizing tables to:

  • Avoid duplication

  • Reduce redundancy

  • Improve data integrity

Example:
Instead of repeating district name in every village record → create a separate district table.


6. Topology (Spatial Relationships)

Defines spatial rules like:

  • Connected to

  • Adjacent to

  • Within

  • Contains

  • Intersects

Example:

  • Road must be connected at junctions

  • Building must be inside municipal boundary

In your GIS work, topology helps avoid:

  • Gaps

  • Overlaps

  • Duplicate boundaries


🎯 Goal of Logical Design

Create:

  • Tables

  • Fields

  • Keys

  • Spatial relationships

  • Clean data structure

Physical Database Design (The "HOW" – Technical Phase)

🔹 Meaning

Now the database is implemented in a real GIS-enabled DBMS.

Examples:

  • PostgreSQL + PostGIS

  • Oracle Spatial

  • ArcGIS Geodatabase

  • SpatiaLite


🔹 Key Terminologies

1. Data Types

Example in PostGIS:

geometry(Point, 4326)  geometry(Polygon, 32643)  
  • GEOMETRY → planar coordinates

  • GEOGRAPHY → earth-based spherical coordinates


2. Spatial Index

To make spatial queries fast.

Example:

  • R-Tree Index

  • GiST Index (PostGIS)

Used for:

  • Finding nearest road

  • Intersect queries

  • Buffer analysis


3. SQL Implementation

Example:

CREATE TABLE roads (    road_id SERIAL PRIMARY KEY,    name VARCHAR(50),    type VARCHAR(20),    geom GEOMETRY(LineString, 4326)  );  

4. Optimization

Includes:

  • Indexing

  • Clustering

  • Storage tuning

Improves:

  • Query speed

  • Performance

  • Large dataset handling


🎯 Goal of Physical Design

Create:

  • Real tables

  • Spatial columns

  • Indexes

  • Efficient storage

Summary 

PhaseFocusQuestion AnsweredOutput
ConceptualReal-world understandingWhat data is needed?ER Diagram
LogicalData structureHow should data be organized?Tables & schema
PhysicalImplementationHow to implement in DBMS?SQL tables & indexes

Simple Real Example (Village Mapping Project)

Step 1 – Conceptual

Identify:

  • Village

  • Road

  • River

  • Relationships


Step 2 – Logical

Create tables:

  • Village table

  • Road table

  • River table

Define:

  • Primary keys

  • Geometry types

  • Topology rules


Step 3 – Physical

Implement in:

  • QGIS Geopackage

  • PostGIS database

Create:

  • Spatial index

  • Constraints

  • SQL structure

Comments

Popular posts from this blog

Regional Geography, Systematic Geography, Idiographic, Nomothetic, Inductive and Deductive Approaches

T wo major ways of studying Geography : the Regional Approach and the Systematic Approach . It also explains the related ideas of idiographic vs. nomothetic and inductive vs. deductive reasoning , especially in the context of the Hartshorne–Schaefer debate . 1. Regional Geography: “All About One” Regional Geography studies one particular region in detail . A region is an area that has some degree of homogeneity (sameness) within its boundary but is also unique or different from other regions . For example, if we study Palakkad District , we may study: Relief and drainage Climate Soil Vegetation Agriculture Population Occupation Economy Culture Political characteristics The purpose is to understand the complete geographical personality of Palakkad and the relationships among its different features. Key concepts Region: A geographical area with identifiable characteristics and boundaries. Homogeneity: Si...

Kuhn’s Paradigms

The given content explains Thomas S. Kuhn’s model of scientific development , its application to geography, and criticisms by Karl Popper, Paul Feyerabend, Michel Foucault , and others. 1. Basic Idea Kuhn argued that science does not develop continuously in a straight line . Instead, scientific development occurs through: Preparadigm → Paradigm → Normal Science → Crisis → Scientific Revolution → New Paradigm A new paradigm may replace an older one, producing a major change in the way scientists understand and study a subject. Concepts and Terminologies Concept / Term Simple Meaning Paradigm A commonly accepted framework/model that guides scientific research Exemplar A successful concrete problem-solution used as a model for future research Disciplinary Matrix Shared beliefs, values, concepts, methods and techniques of a scientific community Preparadig...

Multispectral and Hyperspectral Imaging Systems

The main idea is how a remote-sensing sensor collects information about an area . A sensor does not simply take an ordinary photograph. It measures the electromagnetic energy reflected or emitted by objects in different wavelength bands . Depending on how many bands are measured and how the sensor collects them, different imaging systems are used. 1. Multispectral vs. Hyperspectral Multispectral imaging (MSI) records information in a limited number of relatively broad, separate spectral bands , such as blue, green, red, near-infrared and shortwave infrared. Hyperspectral imaging (HSI) records information in many narrow and usually contiguous spectral bands . Therefore, it provides a much more detailed spectral signature of each pixel. The resulting dataset is commonly called a hyperspectral data cube (hypercube) because it contains: X-axis → spatial information Y-axis → spatial information Z-axis → wavelength/spectral information Thus, hype...

Discrete Detectors and Scanning mirrors Across the track scanner Whisk broom scanner.

Multispectral Imaging Using Discrete Detectors and Scanning Mirrors (Across-Track Scanner or Whisk Broom Scanner) Multispectral Imaging:  This technique involves capturing images of the Earth's surface using multiple sensors that are sensitive to different wavelengths of electromagnetic radiation.  This allows for the identification of various features and materials based on their spectral signatures. Discrete Detectors:  These are individual sensors that are arranged in a linear or array configuration.  Each detector is responsible for measuring the radiation within a specific wavelength band. Scanning Mirrors:  These are optical components that are used to deflect the incoming radiation onto the discrete detectors.  By moving the mirrors,  the sensor can scan across the scene,  capturing data from different points. Across-Track Scanner or Whisk Broom Scanner:  This refers to the scanning mechanism where the mirror moves perpendicular to the direction of flight.  This allows for t...

Satalite

Landsat → Land resources SPOT → High-resolution mapping IRS → Indian natural-resource mapping ASTER → Geology + thermal + DEM QuickBird → Very high spatial resolution MODIS → Daily global monitoring GOES → Weather monitoring AVHRR → Weather + vegetation + ocean AVIRIS → Hyperspectral imaging Highest spectral resolution: AVIRIS (224 narrow bands) Highest spatial resolution in this list: QuickBird (~0.61 m PAN) Highest temporal frequency: GOES (minutes) Best broad global monitoring: MODIS Indian sensors: IRS-LISS III and LISS IV Hyperspectral: AVIRIS Thermal + multispectral + DEM: ASTER abbreviations MSS – Multispectral Scanner System TM – Thematic Mapper ETM+ – Enhanced Thematic Mapper Plus GOES – Geostationary Operational Environmental Satellite AVHRR – Advanced Very High Resolution Radiometer HRV – High Resolution Visible HRVIR – High Resolution Visible and Infrared HRG – High Resolution Geometric ...