1 / 31

Geographic Information Systems

Geographic Information Systems. Spatial Data Models and their Implementation. Komal Kapoor Ajit Padukone. Agenda. Spatial Data Models Types of Spatial Data Models Object Models Types Implementation Operations Field Models Operations – Map Algebra Raster Representation Surface Models

fauve
Télécharger la présentation

Geographic Information Systems

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. Geographic Information Systems Spatial Data Models and their Implementation Komal Kapoor Ajit Padukone

  2. Agenda • Spatial Data Models • Types of Spatial Data Models • Object Models • Types • Implementation • Operations • Field Models • Operations – Map Algebra • Raster Representation • Surface Models • Raster-based • Vector-based • GIS Libraries

  3. Models - What are they • A model is an artificial construction in which parts of a source domain are represented in a target domain. • The purpose of the model is to simplify and abstract away from the source domain. source:  GIS: A Computing Perspective 2nd Edition, Worboys and Duckham

  4. Geospatial Information Models - Types 1) Object Models 2) Field Models 3) Surface Models source:  Data Models in Commercial GIS Systems, Eric Hoel

  5. Object Models - Types 1) Spaghetti Model Simplest of the Object based data models. Geometric Representations do not have any explicit relationships. source: http://www.snowbirdnationals.com/weather.htm Spaghetti Model of Hurricane Data source:  Data Models in Commercial GIS Systems, Eric Hoel

  6. Object Models - Types 2) Network Model One-dimensional collection of interconnected Point (Junctions) and Line (Edges) features. Facilitate modelling of constrained flow along edges and through junctions. source:  Data Models in Commercial GIS Systems, Eric Hoel

  7. Object Models - Types A) Directed Network Models :  Hydrological Networks source: www.riversystems.washington.edu/story/Amazon

  8. Object Models - Types B) Undirected Network Models: Transport Networks source: Assessing Spatial Aspects of School Location- Allocation in Copenhagen, Lasse Møller-Jensen

  9. Object Models - Types 3) Topological Model Controls the Geometric relationships between features and maintain the geometric integrity. Represented in the form of Nodes, Arcs and Faces with explicit relationships between each other. source: http://spatialnews.geocomm.com/features/laserscan2/ source:  Data Models in Commercial GIS Systems, Eric Hoel

  10. Object Models - Implementation The Open Geospatial Consortium, Inc.® (OGC)  leads the development of standards for geospatial and location based services. The Simple Features Access Specifications define a standard Structured Query Language (SQL) schema that supports storage, retrieval, query and update of feature collections. The OGC Specifications define a data model for the spatial data. The basic primitives are Point, Curve and Surface. Also are defined other useful structures like MultiPoint, MultiLine, MultiPolygon, etc source:  OpenGIS Implementation Specification for Geographic information - Simple feature access

  11. Object Models - Implementation Geometry Class Hierarchy source:  OpenGIS Implementation Specification for Geographic information - Simple feature access

  12. Object Models - Operations Operations Spaghetti Models Network Models Topological Models OGC Geometry Model equals Yes No Yes Yes subset of Yes No Yes Yes is empty Yes No Yes Yes member of Yes No Yes Yes disjoint from No No Yes Yes intersection Yes No Yes Yes union Yes No Yes Yes difference No No Yes Yes Set Oriented Operations

  13. Object Models - Operations Operations Spaghetti Models Network Models Topological Models OGC Geometry Model boundary Yes No Yes Yes interior No No Yes Yes closure No No Yes Yes meets Yes No Yes Yes overlaps No No Yes Yes is inside No No Yes Yes covers No No Yes Yes connected No No Yes Yes components Yes No Yes Yes extremes No No Yes Yes is within No No Yes Yes Topological Operations

  14. Object Models - Operations Operations Spaghetti Models Network Models Topological Models OGC Geometry Model distance No Yes Yes Yes bearning/angle No No Yes Yes length No No Yes Yes area No No Yes yes perimeter Yes No Yes Yes centroid No No Yes Yes Euclidean Operations

  15. Field Based Models • Represent spatial variations of an attribute over a set of locations (spatial framework or support). • Spatial framework comprise tessellations which can be regular or irregular. Regular tessellations Irregular tessellations : TIN Souce : http://geosciences.tamuk.edu/~yu/web/L5312/lecture6.pdf

  16. Comparisonof GRID and TIN Souce: http://www.ian-ko.com/resources/triangulated_irregular_network.htm

  17. Map Algebra • Local • trigonometric, exponential, reclassification, selection, and statistical functions • E.g. mapping distances to categories ‘very close’, ‘close’, ‘far’, ‘very far’ (reclassification) • Syntax : sin(c:\data\inraster1) • Focal • Neighborhood operations : majority, maximum, sum, range, slope calculation etc. • Types of Neighborhoods : • Syntax : focalsum([inlayer1], rectangle, 3, 3) • Zonal • computing zonal statistics such as sum, mean, maximum etc. • Use for calculation of raster areas • Syntax : zonalmean([inlayer1], c:\spatial\inraster2) • Global • generation of Euclidean and cost distance metrics • Syntax : eucdistance(e:\data2\inrastersource) • Overlays • Uses multiple fields e.g. density • Syntax: mean([inlayer1], [inlayer2], [inlayer3]) Souce: ArchGIS 9.2 Desktop Help

  18. Raster Data Representation • Space is defined using equally sized cells arranged in rows and columns • Can comprise of single or multiple bands Source: ArchGIS 9.2 Desktop Help Each band represents a segment of the electromagnetic spectrum collected by a sensor.

  19. Examples of Raster • MrSID A compression technique especially for maintaining the quality of large images. Allows for a high-compression ratio and fast access to large amounts of data at any scale. • ESRI GRID A proprietary ESRI format that supports 32-bit integer and 32-bit floating-point raster grids. • ERDAS Imagine Produced using IMAGINE image processing software created by ERDAS. IMAGINE files can store both continuous and discrete, single-band and multiband data. • TIFF(Tagged Image File Format) Widespread use in the desktop publishing world. It serves as an interface to several scanners and graphic arts packages. TIFF supports black-and-white, grayscale, pseudo color, and true color images, all of which can be stored in a compressed or decompressed format. Souce: ArchGIS 9.2 Desktop Help

  20. Raster Catalogs • Possible storage methods for multiple raster data: • store each raster dataset individually • mosaic them into one large raster dataset • store them as members of a raster catalog • Raster catalogs can be used to display adjacent or overlapping raster's without having to mosaic them together into one large file. • Each raster maintains it own properties: multiple formats, data types, file sizes, and coordinate systems. Used for storing massive image repositories, retaining overlaps between datasets, managing time series data, and when differences among adjoining images prevent mosaicking. Souce: ArchGIS 9.2 Desktop Help Source: ArchGIS 9.2 Desktop Help

  21. Surface Models (Digital Evaluation Models) • Used to represent the topography of the Earth • Built using remote sensing data or survey data • Some applications : • Creating relief maps • Rendering 3D visualizations • Modeling water flow • Rectification of aerial photography • Terrain analyses in geomorphology. Souce: Data Models in Commercial GIS Systems, E. Hoel, page 215-219.

  22. Surface Models (Contd…) • Raster-based • E.g. USGS DEM developed by the United States Geological Survey • Digital Terrain Elevation Data (DTED) developed by the National Imagery and Mapping Agency (NIMA) in support of military applications Source: http://www.esi.utexas.edu/gk12/workshops/gis/docs/elevation.ppt. Souce: Data Models in Commercial GIS Systems, E. Hoel, page 215-219.

  23. Surface Models (Contd…) • Vector-based • TINs are used to partition the geographic space • Advantages of TIN • Facilitates a very close approximation of the surface • Input vector data is incorporated directly in the model which can be queried as well. • Preserves proximity based connectivity. Hence interpolation neighborhoods are always comprised of the closest input data/samples. Source:http://www.geog.ucsb.edu/~good/papers/451.pdf Souce: Data Models in Commercial GIS Systems, E. Hoel, page 215-219.

  24. Raster and Vector Models 3D Terrain Modelling Outside Channel: Raster Inside Channel: Vector Source: http://www.ce.utexas.edu/stu/tateec

  25. Raster and Vector Models Source: http://www.ce.utexas.edu/stu/tateec

  26. GIS Libraries Open Source GIS libraries providebasic functionality for certain aspects and tasks of GIS Software. Most of them follow OGC's specifications regarding GIS Data Models and Operations. Typically used for graphics, GIS format support and conversion, reprojection, computational geometry, topological operations. Published under the MIT or LGPL licence. ( Can be used for commercial purposes without releasing source code. ) Source: Open Source GIS Libraries, Andreas Neumann, Marco Hugentobler

  27. GIS Libraries GDAL - Geospatial Data Abstraction Library     - library to access raster data formats.     - presents a single abstraction model        for all formats to an application     - written in C++     - Data Structures consist of a Dataset and a RasterBand.     - Dataset consists Georeferencing data.     - RasterBand consists the actual raster data.     - Used by :                                                                 Google Earth                                     Grass GIS Source: Open Source GIS Libraries, Andreas Neumann, Marco Hugentobler

  28. GIS Libraries OGR - part of the GDAL package. - deals with vector data formats like GML, ESRI shapefiles, GRASS and POSTgreSQL. - Data Structures include Layer, Feature and Geometry. - Feature contains the attribute values and reference to feature geometry.

  29. GIS Libraries JTS / JCS - Java Topological Suite / Java Conflation Suite. - java libraries for 2D spatial functions. - supports the various spatial analysis methods and topological operations. - JCS is set of interactive tools for conflating and cleaning vector datasets. - used for coverage cleaning, coverage alignment and road network matching. - Projects using JTS : GeoServer, GeoTools, gvSIG, OpenJUMP, uDig. - Ported to C++ as GEOS - Ported to .NET as .NET Topology Suite. Source: Open Source GIS Libraries, Andreas Neumann, Marco Hugentobler

  30. GIS Libraries GPSBabel - cross-platform, free software to transfer routes, tracks, and waypoint data to and from consumer GPS units, and to convert between over a hundred types of GPS data formats. - useful because GPS data has many proprietary formats. - used by many collaborators to OpenStreetMap. - also popular in "Geocaching" communities. Source: Open Source GIS Libraries, Andreas Neumann, Marco Hugentobler

  31. Questions?

More Related