Shapefile Components 🔹 .shp — Geometry file What it contains: • The actual geographic shapes (points, lines, polygons) Examples: • City locations (points) • Roads (lines) • Administrative boundaries (polygons) 📌 This is the core file — without it, there is no map. ⸻ 🔹 .shx — Shape index file What it contains: • An index of the geometry file • Allows fast access to shapes 📌 Improves performance when loading and navigating data. ⸻ 🔹 .dbf — Attribute table What it contains: • Attribute data linked to each shape • Stored in dBASE format Examples: • Name, population, area, ID • Road type, length, category 📌 Each row corresponds to one geometry in the .shp file. ⸻ 🔹 .prj — Projection file What it contains: • Coordinate Reference System (CRS) information • Projection, datum, units 📌 Without this file, GIS software does not know where the data is on Earth. ⸻ 🧩 Optional (But Common) Shapefile Files 🔹 .cpg — Character encoding What it contains: • Text encoding for the .dbf file (UTF-8, Latin1, etc.) 📌 Prevents issues with special characters and accents. ⸻ 🔹 .sbn / .sbx — Spatial index files What they contain: • Spatial indexing for faster rendering and queries 📌 Automatically created by some GIS software. ⸻ 🔹 .xml — Metadata file What it contains: • Dataset description • Source, author, creation date, data quality
A raster data model represents geographic space as a grid of cells (called pixels ). Think of it like a chessboard covering the Earth. Each square = cell / pixel Each cell contains a value That value represents information about that location Example: Elevation = 245 meters Temperature = 32°C Land use = Forest The grid is arranged in: Rows Columns This structure is called a matrix . GRID Model (Cell-Based Matrix Model) 🔹 Concept The GRID model is the most common raster structure used in GIS for spatial analysis . It is mainly used for: Continuous data (data that changes gradually) Sometimes discrete/thematic data 🔹 Structure A 2D matrix (rows × columns) Each cell stores one numeric value Integer (whole number) Float (decimal number) 🔹 Key Terminologies Cell Resolution → Size of each pixel (e.g., 30m × 30m) Spatial Resolution → Level of detail DEM (Digital Elevation Model) → Elevation grid Raster Calculator → Tool for mathematical operations Overlay Analysis → Combining mu...
Comments
Post a Comment