1 / 93

GIS Data Models Representing the Earth

GIS Data Models Representing the Earth. Week 3 & 4 March 2 & 9 2016 Institute of Space Technology, Karachi. Data Model: Chapter 2 of Text Book. Assignment 1: Read Chapter 2. Definition.

kjessie
Download Presentation

GIS Data Models Representing the Earth

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. GIS Data ModelsRepresenting the Earth Week 3 & 4 March 2 & 9 2016 Institute of Space Technology, Karachi

  2. Data Model: Chapter 2 of Text Book Assignment 1: Read Chapter 2

  3. Definition A data model may be defined as the objects in a spatial database plus the relationships among them (Bolstad)

  4. Real World Data Model GIS Data Model • An abstraction or a simplified view of the real world

  5. GIS Data • GIS data includes information on • Spatial location • Non-spatial properties

  6. GIS Representation • Real world entities are approximated with spatial objects or features • Entities are “things” in real world • Rivers • Roads • Land use

  7. Data Representation

  8. Objects or features are the representation of the entities in a data model • Examples • Fire Hydrant: by location points • Roads: by series of straight lines connected at nodes • Lakes: can be represented by set of polygons

  9. Exercise: How GIS features can be extracted from this Image?

  10. GIS Representation

  11. Representation of GIS Data Model Legends Buildings Land Road

  12. What entities we may represent as Point, Line, Polygon or Surface? • Points • Buildings, fire hydrants, location of accidents, traffic signals, etc. • Lines • Roads, pipelines, rivers, water mains, traffic routes, etc. • Polygons • Land parcels, lake, countries, etc. • Surface • Elevation, temperature, spectral data

  13. Selection of data type also depends on Map Scale Example • How to represent buildings, in a map points or polygons? • Map scale around 1:25,000 or 1:10,000 • As points • In a more detailed map of scale of 1:1000 • Buildings may better be represented as polygons, rather than point

  14. Coordinates and attributes are used to represent entities

  15. Attribute Data Type • Qualitative • Nominal Attribute (names or labels): provide descriptive information about an object (color, landuse type, city name, etc.). • Ordinal: values assigned to objects or events represent the rank order. May be either descriptive or numeric (small, medium, large; road class I, II, III) • Quantitative (Numerical) • often recorded as real numbers, most often on a linear scale • Intervals: number that areseparated by the same interval. The "zero point" on an interval scale is arbitrary; and negative values can be used. (Temperature in oC and oF) • Ratios: have all the features of interval measurement and also have meaningful ratios between arbitrary pairs of numbers. Physical quantities like mass, length, or energy are measured on ratio scale

  16. Representation of a feature ‘Fire Hydrant’

  17. Thematic Layers Each layer representing a theme

  18. Data Representation: Discrete Vs. Continuous

  19. Spatial Data Types - Discrete

  20. Spatial Data Types – Continuous • Data is organized into surfaces where one attribute value vary across the space, examples: Elevation, temperature, rainfall, ocean salinity, etc.

  21. GIS Data Models • Two Primary data models • Vector Data Model • Edges and vertices are defined by series of coordinate pairs (x, y) and connected by arcs • Raster Data Model • Map area is divided into grid cells • Each cell contains a value (Categorical or Quantitative values)

  22. Data Model vs. Data Structure • A data model is a conceptual model of the real world • The representation of this model in computer is the data structure • Data models do not necessarily imply any particular data structures • Data structure is the specific format with which the data are stored on computers

  23. Data Model vs. Data Structure • Different types of data structures can be used to represent the same data model • Example: consider a feature represented as a line (vector data model) • To draw and analyze this feature as line, computer needs some information – location of nodes/vertex • This information can be provided in the form of a table listing the coordinates of nodes/vertices and also identifying which lines goes through which node/vertices • This table is the basic data structure (coverages and shapefile use this type of structure)

  24. Representing the Earth VECTOR RASTER

  25. Data Models

  26. Comparison between Vector and Raster Data Models Vector • Point: Position, no area • Line: Length, no width • Polygon: Area and perimeter Raster • Point: 1 cell Line: Multiple cells joined at edges or corners, usually with only 1 or 2 neighbors Polygon: Group of contiguous cells joined at edges or corners

  27. Data Models

  28. Vector Data Model

  29. Vector Data Model • A vector based GIS is defined by the vectorial representation of its geographic data • In vector based model geospatial data is represented in the form of coordinates • In vector data, the basic units of spatial information are points, lines (arcs) and polygons • Composed of two components: the one that manages spatial data and the one that manages thematic data • A unique key element called ‘identifier’ for each object allows the system to connect both databases • Stores only those points which define features and all space outside these features is 'non-existent’

  30. Some Common Vector Data Formats • Coverage • Shapefile • Geodatabase • TIN (Triangulated irregular networks)

  31. Advantages of Vector Data Formats • Good representation of the landscape being mapped • Looks great • Generalization of the graphics is possible while still maintaining the great looks • Topology can be completely described including network linkages • ….

  32. Raster Data Model

  33. How to Represent Point Features in Raster Data Models

  34. How to Represent Line Features in Raster Data Models

  35. How to Represent Polygon Features in Raster Data Model

  36. Raster Data Models • For Raster Model there are • Array of pixels (each pixel representing a specific value) • A matrix consisting of rows and columns with each grid or pixel representing a specific value

  37. Raster Data Model • Raster data is an abstraction of the real world where spatial data is expressed as a matrix of cells or pixels with spatial position implicit in the ordering of the pixels • They store each cell in the matrix regardless of whether it is a feature or simply 'empty' space • Typically these cells are square and evenly spaced in the xand y directions

  38. Raster Data Model - Example

  39. Cell Value • Cell values can be either positive or negative, integer, or floating point • Integer values are best used to represent categorical (discrete) data • Floating-point values to represent continuous surfaces • Cells can also have a ‘No Data’ value to represent the absence of data

  40. Grid Size and Resolution • Pixel/cell refers to the smallest unit of information available in an image or raster map • Cell dimension specifies the length and width of the cell in surface units, e.g. the cell dimension may be specified as 30 meters on each side • volume of data increases as the cell dimension gets smaller • Reducing the cell dimension by four causes a sixteen fold increase in the number of cells • Smaller cell size provides greater spatial detail

  41. Grid Size and Resolution

  42. Generic Structure for a Grid

  43. Raster Data Model 16 m 16 m • Larger Cell Size • Lower resolution • Lower feature spatial accuracy • Faster display • Faster processing • Smaller file size • Smaller Cell Size • Higher resolution • Higher feature spatial accuracy • Slower display • Slower processing • Larger file size

  44. Data Accuracy with Cell Mixed Pixel Problem • Value is correct when variable value is uniform over the raster cell • In case of within cell variation then average, central or most common value prevails

  45. Types of Raster Data • Thematic Raster • Like a map describes the features and characteristics of an area and their relative position in space • Cell values are measured quantity or classification of a particular phenomenon (either integers or real numbers • Stored in a single band • Image Raster • Cell values represent reflected or emitted light/energy • Usually in 3 bands • Satellite image or scanned photographs

  46. Raster – As Thematic Map • By grouping the values of multispectral data into classes (such as vegetation type) and assigns a categorical value

More Related