How to Spatially Enable Your IBM Informix Database Chris Bosch.

Slides:



Advertisements
Similar presentations
RDBMS-based GIS Using SpatialWare with SQL Server to manage forestry maps A case Study of Port Blakely Tree Farms Chris Lacy, GIS Forester, Port Blakely.
Advertisements

The Role of Error Map and attribute data errors are the data producer's responsibility, GIS user must understand error. Accuracy and precision of map and.
Department of Geoinformation Science Technische Universität Berlin Geo-Databases: lecture 8 Management of Spatial Data Prof. Dr. Thomas H. Kolbe Institute.
TileMill Quickly and Easily Design Maps for the Web Shaky Sherpa Matt Berg Modi Research Group The Earth Institute. Columbia University.
Applied Cartography and Introduction to GIS GEOG 2017 EL
Spatial queries in SQL Server 2008 SQL Bits III – 13 th September 2008.
ArcGIS Geodatabase Miles Logsdon Spatial Information Technologies, UW Garry Trudeau - Doonesbury.
Introduction to GIS Ghassan Mikati, Ph.D GIS Expert.
SQL/SDA: A Query Language for Supporting Spatial Data Analysis and Its Web-Based Implementation SQL/SDA: A Query Language for Supporting Spatial Data Analysis.
GIS (Geographic Information System) And DB2 Spatial Extender n Khiem Pham n CSCI C n Instructor: Professor Renner.
Oracle spatial – Creating spatial tables Object Relational Model Creating Spatial Tables.
Geographic Information Systems
Geog 458: Map Sources and Error January 18, 2006 Georeferencing.
So What is GIS??? “A collection of computer hardware, software and procedures that are used to organize, manage, analyze and display.
NPS Introduction to GIS: Lecture 1
Geographic Information Systems and Science SECOND EDITION Paul A. Longley, Michael F. Goodchild, David J. Maguire, David W. Rhind © 2005 John Wiley and.
Spatial SQL: A Query and Presentation Language Max J. Egenhofer (Presenter: Yi-Shin Chen)
Object Relational Model Creating Spatial Tables. Concepts Describe the schema associated with a spatial layer Explain how spatial data is stored using.
Dr. David Liu Objectives  Understand what a GIS is  Understand how a GIS functions  Spatial data representation  GIS application.
Open Source Databases and GIS
@ 2007 Austin Troy. Geoprocessing Introduction to GIS Geoprocessing is the processing of geographic information. Perform spatial analysis and modeling.
Rebecca Boger Earth and Environmental Sciences Brooklyn College.
Basic Spatial Analysis
Esri UC 2014 | Technical Workshop | Data Alignment and Management in ArcMap Lisa Stanners, Sean Jones.
Welcome to Mapping Tom Sellsted – City of Yakima, Washington Vladimir Strinski – Hitech Systems.
University of California , San Diego (UCSD)
JTS Topology Suite JTS Topology Suite An API for Processing Linear Geometry Martin Davis, Senior Technical Architect
Spatial Data Models. What is a Data Model? What is a model? (Dictionary meaning) A set of plans (blueprint drawing) for a building A miniature representation.
Parcel Data Models for the Geodatabase
ArcSDE Presented by Reza Wahadj University of California,San Diego (UCSD)
“Codd’s Rules for Spatial ORDBMS”
Spatial Databases ENVE/CE 424/524. Definitions Database – an integrated set of data on a particular subject Spatial database - database containing geographic.
IST 210 Introduction to Spatial Databases. IST 210 Evolution of acronym “GIS” Fig 1.1 Geographic Information Systems (1980s) Geographic Information Science.
Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-2 Chapters 3 and 4.
Major parts of ArcGIS ArcView -Basic mapping, editing and Analysis tools ArcEditor -all of ArcView plus Adds ability to deal with topological and network.
The OpenGIS Consortium Geog 516 Presentation #2 Rueben Schulz March 2004.
6. Simple Features Specification Background information UML overview Simple features geometry.
How do we represent the world in a GIS database?
The 2000 Decennial Census School District Project: Using Census Data for the School District Mapping System **** Development and Implementation Tai A.
Introduction to the Geodatabase. What is a Geodatabase? What are feature classes and feature datasets? What are domains Design a personal Geodatabase.
SQL access and working with ST_Geometry Functions
GIS Data Models Vector Data Models Vector File Formats Raster Data Models Raster File Formats.
GIS Data Structures How do we represent the world in a GIS database?
Spatial Database Tips & Tricks Paul Ramsey
Spatial DBMS Spatial Database Management Systems.
Nhóm thực hiện: nhóm 1 Nguyễn Ngọc Trường Trần Minh Khang Bùi Quốc Huy Nguyễn Ngọc Linh Nguyễn Thành Phương Trần.
John Pickford IBM H11 Wednesday, October 4, :30. – 14:30. Platform: Informix Practical Applications of IDS Extensibility (Part 2 of 2)
GIS & Health ESPM 9: W 5-8 April 7, 2010 Instructors: Maggi Kelly Kevin Koy Mark O’Connor Geospatial Innovation Facility College of Natural Resources -
A Quick Introduction to GIS
Copyright © 2006 by Maribeth H. Price 13-1 Chapter 13 Working with Geodatabases.
Definition of Spatial Analysis
Spatial Database Bryan Dennie Jian Huang Jianghong Li Judy Mays GISC 6383 GIS Management & Implementation.
Lecture 3: Spatial Data Management Dr. Taysir Hassan Abdel Hamid Associate Professor, Information Systems Dept., Faculty of Computers and Information.
UNIT 3 – MODULE 6: Data Analysis. TERMINOLOGY There are several terms that are important to know when discussing data analysis: – Entity – an individual.
Oracle Spatial Extension of the RDBMS Oracle by spatial data types and operations –introduced in version 8 (current version.
Get Familiar with Spatial Data. Slava Murygin – SQL SlavaSQL.BlogSpot.com.
Introduction to Geodatabases
Get Familiar with Spatial Data
Physical Structure of GDB
Introduction to GIS Review CGIS-NURIntroduction to ArcGIS I.
Physical Structure of GDB
Types of geodatabases Introduction to GIS - Student notes
Geographic Information Systems
Data Queries Raster & Vector Data Models
JTS Topology Suite An API for Processing Linear Geometry
Spatial and temporal data management
Geography 413/613 Lecturer: John Masich
Spatial Databases SpatiaLite & PostGIS.
NPS Introduction to GIS: Lecture 1 Based on NIMC and Other Sources.
Presentation transcript:

How to Spatially Enable Your IBM Informix Database Chris Bosch

2 Agenda  Introduction  spatial data models  spatial standards  spatial products  spatial processes  Geometry concepts  Spatially enabling your database  Moving forward

3 Introduction: spatial data models  Fundamental GIS data models Raster Vector Real World

4 Introduction: spatial data models  Collections of Thematic Layers

5 Introduction: spatial standards  Open GIS Consortium (OGC)  OpenGIS Simple Features Specification for SQL, Revision 1.1 –SQL92 implementations (SFS NG) using numeric SQL types for geometry storage and ODBC access. using binary SQL types for geometry storage and ODBC access. –SQL92 with Geometry Types implementations (SFS TF) supporting both textual and binary ODBC access to geometry.  SQL/MM (Multi-Media)

6 Introduction: spatial products  OGC SFS conforming products

7 Introduction: spatial products  IBM  DB2 Spatial Extender  IDS Spatial DataBlade module  IDS Geodetic DataBlade module  Partner products for IBM Informix Dynamic Server  MapInfo SpatialWare module  MapInfo Geocoding module  BCS Grid  And more …

8 Introduction: spatial processes  Input  Manipulation  Management  Query  Analysis  Visualization

9 Agenda  Introduction  Geometry concepts  Coordinate Systems  OGC Geometry Object Model  Basic Methods on Geometries  Methods for testing Spatial Relations  Methods that support Spatial Analysis  Spatially enabling your database  Moving forward

10  Multiple Coordinate systems exist  Geographic (GEOGCS) –longitude/latitude  Projected (PROJCS) –X,Y  Geocentric (GEOCCS) –X,Y,Z  Defined by several objects  DATUM  SPHEROID  PRIMEM  UNIT Geometry Concepts

11  What is coordinate data?  Sets of values describing a particular location on a grid.  Longitude/Latitude  X,Y  Z –Altitude or Depth value  M –Measures 0,0 10 y 20 x Geometry Concepts

12  Projections  Transform locations of features on the Earth’s surface to a two dimensional surface. –Mathematical –Preserving Shape –Preserving Accuracy area distance location Geometry Concepts

13 Geometry Concepts  Conic  A portion of the Earth's surface is projected onto a cone. The cone is then flattened  Mercator  The Earth's sphere is flattened out. In this projections the further away from the equator a point is, the larger it seems

14 Geometry Concepts

15 Geometry Concepts

16 Geometry Concepts  OpenGIS Consortium (OGC) Geometry Object Model

17 Geometry Concepts  Basic Methods on Geometries  Dimension ( ):Integer  GeometryType ( ):String  SRID ( ):Integer  Envelope ( ):Geometry  IsEmpty ( ):Integer  IsSimple ( ):Integer  Boundary ( ):Geometry  AsText ( ):String  AsBinary ( ):Binary

18 Geometry Concepts  Dimension  used to classify shapes  three values can be used –0 (has neither length nor area) points, multipoints –1 (has length) linestrings, multilinestrings –2 (has area) polygons, multipolygons

19 Geometry Concepts  IsSimple  Some subclasses may be simple or non-simple, while others are always simple  multipoints, linestrings, multilinestrings are non-simple if their interiors intersect Non-simpleSimple Non-simpleSimple

20 Geometry Concepts  IsEmpty  A geometry is empty if it does not have any points –An empty set  An empty geometry has an instantiable type  An empty geometry has an SRID –The set is empty but has the same SRID as the column being queried.

21 Geometry Concepts  SRID (Spatial Reference ID)  Each ordinate of a geometry is stored within a 32-bit integer  The x offset, y offset and system units determine the limits (“box”) of the coordinate reference system  Spatial functions require that geometries have the same SRID –Geometries stored in a spatial column must all have the same SRID

22 Geometry Concepts  Geometry types  Point  LineString  Polygon  MultiPoint  MultiLineString  MultiPolygon

23 Geometry Concepts  Point  Represent distinct locations –wells, landmarks, elevations...  Dimension of 0  Single XY coordinate  Always simple  Null boundary –all “interior” interior

24 Geometry Concepts  LineString  Represent linear feature –rivers, roads, power lines...  Dimension of 1 –linestrings have length  String of coordinates defining a linear interpolated path  Simple if it does not intersect its interior simplenon-simple

25 Geometry Concepts  LineString continued …  Boundary is the endpoints  Boundary is null if the linestring is closed  LineString is a ring if the linestring is closed and simple boundary interior

26 Geometry Concepts  Polygon  A surface stored as a sequence of points that define an exterior ring and possibly one or more interior rings  The rings cannot overlap  Rings can intersect at a tangent  Always simple interior boundary

27 Geometry Concepts  Polygon continued …  The rings are the boundary  Polygons have area and length (perimeter)  Define water bodies, parcels of land... Polygon with a hole. Outer coordinates are expressed counter-clockwise, inner coordinates clockwise.

28 Geometry Concepts  MultiPoint  A collection of points  Dimension of 0  Simple or non-simple  Boundary is NULL  Define broadcast patterns...

29 Geometry Concepts  MultiLineString  A collection of linestrings  Dimension of 1  Has length  Simple and non-simple  Simple if endpoints of all elements intersect SimpleNon-SimpleSimple

30 Geometry Concepts  MultiLineString continued …  Boundary is the endpoints of all elements combined  Boundary is null if all endpoints intersect other endpoints, in which case the MultiLineString is closed  Define networks

31 Geometry Concepts  MultiPolygon  A collection of polygons  Dimension of 2  Has area and perimeter  Boundary is defined by the set of interior and exterior rings that form its elements

32 Geometry Concepts  MultiPolygon continued …  Always simple  Rings cannot overlap  Rings can intersect at a single tangent point

33 Geometry Concepts  Methods for testing Spatial Relations between Geometries  Equals (anotherGeometry:Geometry):Integer  Disjoint (anotherGeometry:Geometry):Integer  Intersects (anotherGeometry:Geometry):Integer  Touches (anotherGeometry:Geometry):Integer  Crosses (anotherGeometry:Geometry):Integer  Within (anotherGeometry:Geometry):Integer  Contains (anotherGeometry:Geometry):Integer  Overlaps (anotherGeometry:Geometry):Integer  Relate (anotherGeometry:Geometry, intersectionPatternMatrix:String):Integer

34 Geometry Concepts  Equals

35 Geometry Concepts  Disjoint

36 Geometry Concepts  Intersects

37 Geometry Concepts  Touches

38 Geometry Concepts  Crosses

39 Geometry Concepts  Within

40 Geometry Concepts  Contains

41 Geometry Concepts  Overlaps

42 Geometry Concepts  Methods that support Spatial Analysis  Intersection (anotherGeometry:Geometry):Geometry  Union (anotherGeometry:Geometry):Geometry  Difference (anotherGeometry:Geometry):Geometry  SymDifference (anotherGeometry:Geometry):Geometry  Buffer (distance:Double):Geometry  ConvexHull ( ):Geometry  Distance (anotherGeometry:Geometry):Double

43 Geometry Concepts  Intersection

44 Geometry Concepts  Difference

45 Geometry Concepts  Union

46 Geometry Concepts  SymDifference

47 Geometry Concepts  Buffer

48 Geometry Concepts  ConvexHull

49 Agenda  Introduction  Geometry concepts  Spatially enabling your database  Product version requirements  Installation and configuration  Adding spatial types and functions to your database  Adding spatial data to your database  Moving forward

50 Agenda  Introduction  Geometry concepts  Spatially enabling your database  Moving forward  Enroll in customer training courses  Become certified  Participate in user community  Make use of on-line resources  Engage IBM technical support  Provide feedback

51 Moving Forward  Enroll in customer training courses  IBM Informix Dynamic Server –FN-848: Managing and Optimizing IBM Informix Dynamic Server Databases –FN-910: Data Migration and Reorganization –L1-846: IBM Informix Dynamic Server Administration –L2-403: IBM Informix Dynamic Server Performance Tuning –L2-748: IBM Informix Dynamic Server Backup and Restore

52 Moving Forward  Enroll in customer training courses  IBM DB2 –CF030 - DB2 Family Fundamentals (also available via CD-ROM) –CF120 - DB2 SQL Workshop (also available via CD-ROM) –CF131 - DB2 Advanced SQL Workshop (also available via CD-ROM) –CT28C - DB2 UDB for Experienced Relational DBAs (CD-ROM) –DW230 - Managing Geographic Data with DB2 Spatial Extender –  ESRI –Creating and Managing Geodatabases (for ArcEditor 8 and ArcInfo 8) –Introduction to ArcSDE using ArcInfo –ArcSDE Administration for DB2 –

53 Moving Forward  Become certified  IBM Certified Solutions Expert - DB2 UDB V7.1 Database Administration for UNIX, Linux, Windows and OS/2 –Test 512 (or 718): DB2 UDB V7.1 Family Fundamentals –Test 513 (or 719): DB2 UDB V7.1 for UNIX, Linux, Windows and OS/2 Database Administration

54 Moving Forward  Become certified  IBM Certified Solutions Expert - Informix Dynamic Server V9 System Administrator –Test : Managing and Optimizing Informix Dynamic Server Databases –Test : System Administration for IBM Informix Dynamic Server Version 9

55 Moving Forward  Participate in user community  International Informix Users Group –  International DB2 Users Group –  ESRI International User Conference –

56 Moving Forward  Make use of on-line resources  Open GIS Consortium –  IBM DB2 Spatial Extender –  IBM Informix Spatial DataBlade module –  IBM Geodetic DataBlade module –  ESRI – ;  IBM developerWorks : DB2 Developer Domain : Informix Developer Zone –  Newsgroups –news://news.software.ibm.com/ibm.software.db2.udb.spatialnews://news.software.ibm.com/ibm.software.db2.udb.spatial

57 Moving Forward  Engage IBM Informix technical support  The IBM Software Support Guide begins here –  Information specific to support of IBM Informix products –  Information specific to support of IBM Informix Dynamic Server –  Information specific to support of IBM DB2 –  Information specific to support of IBM DB2 Spatial Extender –  Provide feedback

How to Spatially Enable Your IBM Informix Database Chris Bosch