John Pickford IBM H11 Wednesday, October 4, 2006 13:30. – 14:30. Platform: Informix Practical Applications of IDS Extensibility (Part 2 of 2)

Slides:



Advertisements
Similar presentations
Chapter 4 Part C: Queries, Computations & Map Algebra.
Advertisements

A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC.
What are Geographical Information Systems (GIS) & ArcView GIS software? What is a Geographical Information System (GIS)? Introduction to ESRI ArcView 3.x.
Multi-user and internet mapping. Multi-user environments Simple file server solution, LAN (Novel, Windows network) View from everywhere, edit from one.
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.
GUS: 0262 Fundamentals of GIS
Portraying Earth Data types File types
Hope Foley Perpetual Technologies SQL Saturday #51 - Nashville.
Your Data Any Place, Any Time Delivering Location Intelligence with Spatial Data.
Geodatabases by Shawn J. Dorsch Spatial Databases Part 2.
Nov Copyright Galdos Systems Inc. November 2001 Geography Markup Language Enabling the Geo-spatial Web.
GIS 1001 Introduction to Geographic Information Systems.
GIS (Geographic Information System) And DB2 Spatial Extender n Khiem Pham n CSCI C n Instructor: Professor Renner.
Geographic Information Systems
Oracle Location based services Spatial and Oracle Locator Srinivas Gudelli CIS 764 Fall 2008.
GIS A geographic information system. A GIS is most often associated with a map. A GIS is most often associated with a map. The map is a display of a data.
Introduction to GIS and ArcGIS How a GIS works Introduction to ArcGIS.
TECNOLOGIAS DE ARMAZENAMENTO DE INFORMAÇÃO ESPACIAL.
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)
Basic Concepts of GIS January 29, What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial.
Open Source Databases and GIS
Map Projections Displaying the earth on 2 dimensional maps
GIS’s Roots in Cartography Getting Started With GIS Chapter 2.
Rebecca Boger Earth and Environmental Sciences Brooklyn College.
Add a File with X, Y coordinates to MapWindow
Map Projection & Coordinate Systems
Confidential ODBC May 7, Features What is ODBC? Why Create an ODBC Driver for Rochade? How do we Expose Rochade as Relational Transformation.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide
University of California , San Diego (UCSD)
Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.
ArcSDE Presented by Reza Wahadj University of California,San Diego (UCSD)
“Codd’s Rules for Spatial ORDBMS”
GIS technologies and Web Mapping Services
Spatial Databases ENVE/CE 424/524. Definitions Database – an integrated set of data on a particular subject Spatial database - database containing geographic.
Simple Database.
Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,
Faculty of Applied Engineering and Urban Planning Civil Engineering Department Geographic Information Systems Vector and Raster Data Models Lecture 3 Week.
GEOREFERENCING By Okan Fıstıkoğlu. GEOGRAPHIC COORDINATE SYSTEMS Geographic Coordinate System (GCS) uses a three dimensional spherical surface to define.
Mutlidimensional Indices Instructor: Randal Burns Lecture for 29 November 2005 Computer Science Johns Hopkins University.
6. Simple Features Specification Background information UML overview Simple features geometry.
How to Spatially Enable Your IBM Informix Database Chris Bosch.
Data Interoperability Basics Bruce Harold & Dale Lutz.
PostGIS and Spatial Queries Steve Signell, Instructor Robert Poirier, TA School of Science Rensselaer Polytechnic Institute.
SQL access and working with ST_Geometry Functions
3D VIEWS OF TREES AND FOREST SAMPLE PLOTS Christopher Legg The spatial distribution of trees in forest sample plots can be analysed statistically and using.
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
Tables tables are rows (across) and columns (down) common format in spreadsheets multiple tables linked together create a relational database entity equals.
Spatial Tajo Supporting Spatial Queries on Apache Tajo Slideshare Shorten URL : goo.gl/j0VLXpgoo.gl/j0VLXp.
PostGIS and Spatial Queries Steve Signell, Instructor Robert Poirier, TA School of Science Rensselaer Polytechnic Institute.
GIS Data Structures How do we represent the world in a GIS database?
Creating and Maintaining Geographic Databases. Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases.
URBDP 422 URBAN AND REGIONAL GEO-SPATIAL ANALYSIS Lecture 3: Building a GeoDatabase; Projections Lab Session: Exercise 3: vector analysis Jan 14, 2014.
Intro to GIS | Summer 2012 Attribute Tables – Part 1.
Geographic Data in GIS. Components of geographic data Three general components to geographic information Three general components to geographic information.
Proj4js Coordinate transformations in the browser
Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.
Lecture 10 Creating and Maintaining Geographic Databases Longley et al., Ch. 10, through section 10.4.
Topic 10- GIS layers to web
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
GEOGRAPHY DATATYPES in SQL Server by jared nielsen linkedin.com/nielsendata.
Map Projections, Cartographic Concepts -Map Projections -Coordinate Systems.
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.
GIS Data Shape files, Rasters, Coordinate Systems, ArcGIS.
Get Familiar with Spatial Data
Spatial Data Types And Indexing SQL Server 2008
Geography 413/613 Lecturer: John Masich
Presentation transcript:

John Pickford IBM H11 Wednesday, October 4, :30. – 14:30. Platform: Informix Practical Applications of IDS Extensibility (Part 2 of 2)

2 Key Points What is Spatial Data Spatial coordinate systems What is the Spatial Datablade What are Spatial Applications Other uses

3 What is Spatial Data ? Data related to a location Location Data relating to that location or a set of locations Location is specified as a point on a co-ordinate system Flat Earth More realistic shaped Earth

4 Spatial co-ordinate systems Flat Earth 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 projection the further away from the axis a point is, the larger it seems

5 Spatial co-ordinate systems

6 Geodetic Data Points specified by longitude and latitude Much more complex what is a straight line ? what is the distance between 2 points ? longitude latitude (90° W) +90 (90° N) R

7 Where is Spatial Data Used ? Geographical Information Systems (GIS) Store spatial data Analyse spatial data Display spatial data Could be used in CAD/CAM Others ?

8 What is the Spatial DataBlade ? Some data types Basic type is a point x and y co-ordinate system z (optional) m (optional) Spatial types Point(s) Line(s) Polygon(s) Some functions Standard OGC functions Additional functions Support for different co- ordinate systems Spatial Index Support Some utilities Load shapes

9 Spatial Data Types Point(s) Line(s) They can cross (themselves and each other) Polygon(s) A polygon must have the same start and end point They can not cross themselves or each other but can touch

10 Spatial Data Types Each point can have A z co-ordinate (height, depth, …) A measure (e.g. time) The 'measure' can be interpolated

11 Spatial Functions Convert geometries from/to: Text Well Known Binary (WKB) ESRI Shape files Convert geometries to: GML

12 Spatial Functions Get parameters Dimensions of coordinates and geometry Data type Number of points SRID Max/Min of x, y, z, m Manipulation Get the x, y, z, m of a point Get the first, mid, nth, last point of a line Get the area, centre, perimeter Get the nth geometry in a in a "multi"

13 Spatial Functions Relationships between geometries: Contain each other Cross Intersect Overlap Touch Disjoint Equal

14 Spatial Functions Create new from existing: Union Intersection Difference Perpendicular projection Buffer Boundary Envelope Generalize

15 Spatial Functions Nearest neighbour SRID management Get the SRID of a geometry Transform from one SRID to another Administration Get sizes

16 Spatially Enabling a Database Two easy steps: Get the spatial DataBlade Use "Blade Manager" to add it to the database

17 Inserting Spatial Data Create table with spatial column create table gpsDemo (seRowId char(10), path st_linestring); Insert data insert into gpsDemo values ('a', st_linefromtext('linestring zm( , , , )', 4));

18 Selecting Spatial Data Select: select * from gpsDemo; seRowIdpath a4 LINESTRING ZM ( , ….. select seRowId, st_envelope(path) from gpsDemo; seRowIdpath a4 POLYGON (( 0. 0., 3. 0., 3. 3., …..

19 Evolution of GIS Data Management GIS Application GIS Application SQL Proprietary data format 1 st Generation: 2 nd Generation: 3 rd Generation: SQL Proprietary GIS API Proprietary GIS API GIS Application GIS Application GIS Application GIS Application File Syste m File Syste m GIS Data Engine GIS Data Engine RDBMS “Spatial” Application “Spatial” Application Spatially enabled DBMS RDBMS SQL Spatial features, indexes in BLOBs Attributes GIS Data Engine GIS Data Engine Spatial types functions indexes Spatial Features Proprietary spatial structures Open or proprietary Open Spatial business logic

20 App Server Extensible RDBMS Extensible RDBMS Spatial data DataBusiness Logic Client HTTP Server Thin-Client Browser Intranet Internet EJBs Corporate Applications Corporate Applications Java App Java App Java App Java App Java App Java App Web Service Web Service Web Service Web Service Extensible RDBMS Extensible RDBMS Spatial data Service-Oriented Architecture

21 DataBlade Component Technology ConnectivityBackupRestore Server Subsystems DB2/IDSDB2/IDS Spatial Geodetic Grid Your idea goes here Spatial Geodetic Grid Your idea goes here

22 DataBlade Elements Types Functions Casts Aggregates Indexes Tables Client Code NewExtender/DataBladeNewExtender/DataBlade

23 R-Tree Indexing Not part of the Spatial Datablade but key to Spatial Data Management Index still organised as a tree structure but they point to Regions Not limited to 2 dimensions Root Branch Leaf Branch

24 R-Tree indexing Not limited to spatial data Consider times and time periods Y X Start time End time Time period

25 Spatial Clients There are different ways to access the data from a client program Java Class Library ESQL/C ODBC/JDBC

26 Server Access Spatial data can be access in the server SPL UDF

27 A mini Spatial Application A small demo to show how spatial data can be stored and displayed Base GIS demo data distributed free with the datablade as ESRI shape files Data loaded into IDS tables using the loadshp program Data read as GML into a php script started by accessing the php file from a browser (Firefox with xfrorms extension) GML data transformed to SVG and display as graphics

28 A mini Spatial Application – Results

29 A mini Spatial Application – Results

30 A mini Spatial Application – Results latlongSpeedDirTime : : :20

31 John Pickford IBM H11 Practical Applications of IDS Extensibility (Part 2 of 2)