SlideShare una empresa de Scribd logo
1 de 17
Oracle Spatial Databases
      Integrating CAD and GIS
                using
         Oracle technologies
Mark Millman – Mizar, LLC
   30+ years of CAD/GIS experience
    –   Wide range of natural resource; local, state, and
        national government; electric, gas, water, & telco; and
        core systems experience.
    –   Former V.P.Geoengineering Technologies Bentley
        Systems
    –   Originator of MicroStation Geographics
   25+ years of Oracle RDBMS experience
   5 years focus on spatially enabled enterprise
    databases and middle-tier implementations.
WHAT IS CAD/GIS ?

Purposed systems for land use professionals
CAD & GIS ?
   CAD & GIS are purposed applications
    –   Developed for and by land use professionals
    –   Highly specialized and functional
    –   Departmental system
   Functionality predominates
   Twenty years ago was bigger than RDBMS
    –   Today is a fraction
   Half of all information is location based
    –   But that does not imply GIS
   CAD / GIS is a content provider
   Not all CAD / GIS content is enterprise relevant
WHAT IS SPATIAL DATABASE?

Enterprise resource
Spatial Database ?
   Just another data type in a universal enterprise
    information system.
   Reliability, security, scalability, and control are
    key to enterprise frameworks:
    –   Functionality is secondary.
   Provides a common format for various GIS
    content:
    –   Ensures application independence;
    –   Modeled on open standards;
    –   All information is accessible.
   Exposes location to the enterprise
ORACLE SPATIAL

Part of a universal information repository
Oracle Spatial
Universal Server
   Structured scalar data
    –   Text, numbers, dates, etc.
   Documents
    –   140 default document types
    –   CAD / GI S files
    –   Indexed contents using Oracle Text
   Media
     – Image, audio, and video

   Spatial
Spatial
   Location
   Geocoder
   GeoRaster
   Network
   3D Geometry
   TIN
   Point Cloud
   Routing
The in and out of it
   FME
   Shape file import (Oracle)
   Shape file export (GeoTools)
   Shared Repository
    –   Geomedia
    –   MapInfo
    –   ArcServer / ArcSDE
Shared repository
   Application specific data types, very typical
    of advanced CAD applications pose special
    problems for any share enterprise
    resource.
   Obfuscated information poses a barrier
    and requires customization:
    –   Annotation is the primary example
    –   Oriented Points
Oriented Points
   An extension of the standard POINT
    geometry
   Used for text and symbol orientation
   Stores two coordinates
    –   Absolute location of origin
    –   A direction vector
   Protocols for LRS, N-Dimensional, and
    Multi-Point geometries.
Interpreting Geomedia orientation
Create or replace FUNCTION ORIENT_POINT (                                           create or replace PROCEDURE ORIENT_LAYER AS
INGEOM MDSYS.SDO_GEOMETRY,                                                          BEGIN
ROTATION NUMBER
) RETURN MDSYS.SDO_GEOMETRY AS
                                                                                    -- sample process for creating oriented points
OUTGEOM MDSYS.SDO_GEOMETRY;                                                         -- the ORIENT_POINT procedure will drop the Geomedia data so
ORDS SDO_ORDINATE_ARRAY;                                                            -- the original geometry should be saved if that info is important.
EINFO MDSYS.SDO_ELEM_INFO_ARRAY;
ETYPE NUMBER;                                                                       -- The update is in a loop because there are 1.3 million record in
XR NUMBER;                                                                                dimensions and I was timing out.
YR NUMBER;
PI NUMBER := 3.141569;                                                                FOR AROW IN (SELECT ID1, GEOM, ANGLE FROM DIMENSIONS) LOOP
IDX NUMBER := 1;
                                                                                        UPDATE DIMENSIONS SET R_GEOM = ORIENT_POINT(AROW.GEOM,
BEGIN
                                                                                          AROW.ANGLE)
                                                                                          WHERE ID1 = AROW.ID1;
-- Spatial Users Guide sect 2.7.6 Oriented Points
-- This is limited to 2D points but 3d and 4d are supported.                            COMMIT;
-- All point data must be stored in the ordinate array, not the sdo_point.            END LOOP;
IF INGEOM IS NULL OR INGEOM.SDO_GTYPE <> 2001 THEN
  RETURN INGEOM;                                                                    END ORIENT_LAYER;
END IF;

-- This is a Geomedia customization. Their proprietary format uses a type 0
        element (type 0 not supported by ESRI)
-- the element info array looks like this (1,0,6001, IDX, 1, 1) where IDX is the
        offset of the point element usually 1.
  IF INGEOM.SDO_ELEM_INFO(3) = 6001 THEN
    IDX := INGEOM.SDO_ELEM_INFO(4);
  END IF;

-- compute the point (0, .5) rotated ROTATION degrees about the origin
ORDS := INGEOM.SDO_ORDINATES;
XR := COS(PI/180*ROTATION)/2;
YR := SIN(PI/180*ROTATION)/2;

-- New geometry contains the point and the orientation vector
-- We don't maintain the Geomedia stuff, but it is in the original geometry
OUTGEOM := SDO_GEOMETRY(2001, 41100, NULL, SDO_ELEM_INFO_ARRAY(1, 1, 1, 3, 1, 0),
         SDO_ORDINATE_ARRAY(ORDS(IDX), ORDS(IDX+1), XR,YR));
RETURN OUTGEOM;
The reward
   Application independence
    –   CAD & GIS are applications.
    –   Using application storage protocols invites
        application dependence.
   Enterprise exposure
    –   Spatial has context to all systems within an
        enterprise framework,
    –   Enterprise value brings enterprise funding.
   Enterprise Reliability, Scalability, Security
Further reference
Mark Millman – Mizar, LLC

mark.millman@mizar.com

Más contenido relacionado

Similar a Oracle Spatial Databases

High Dimensional Indexing using MongoDB (MongoSV 2012)
High Dimensional Indexing using MongoDB (MongoSV 2012)High Dimensional Indexing using MongoDB (MongoSV 2012)
High Dimensional Indexing using MongoDB (MongoSV 2012)
Nicholas Knize, Ph.D., GISP
 
Dsm Presentation
Dsm PresentationDsm Presentation
Dsm Presentation
richoe
 
Geonuris ep introduction 3.0 english sg
Geonuris ep introduction 3.0 english sgGeonuris ep introduction 3.0 english sg
Geonuris ep introduction 3.0 english sg
STLogic
 

Similar a Oracle Spatial Databases (20)

Gis Xke
Gis XkeGis Xke
Gis Xke
 
FOSS4G 2010 PostGIS Raster: an Open Source alternative to Oracle GeoRaster
FOSS4G 2010 PostGIS Raster: an Open Source alternative to Oracle GeoRasterFOSS4G 2010 PostGIS Raster: an Open Source alternative to Oracle GeoRaster
FOSS4G 2010 PostGIS Raster: an Open Source alternative to Oracle GeoRaster
 
Database@Home - Maps and Spatial Analyses: How to use them
Database@Home - Maps and Spatial Analyses: How to use themDatabase@Home - Maps and Spatial Analyses: How to use them
Database@Home - Maps and Spatial Analyses: How to use them
 
MySQL 8.0 GIS Overview
MySQL 8.0 GIS OverviewMySQL 8.0 GIS Overview
MySQL 8.0 GIS Overview
 
MySQL 8.0 Graphical Information System - Mid Atlantic Developers Conference
MySQL 8.0 Graphical Information System - Mid Atlantic Developers ConferenceMySQL 8.0 Graphical Information System - Mid Atlantic Developers Conference
MySQL 8.0 Graphical Information System - Mid Atlantic Developers Conference
 
Why is postgis awesome?
Why is postgis awesome?Why is postgis awesome?
Why is postgis awesome?
 
High Dimensional Indexing using MongoDB (MongoSV 2012)
High Dimensional Indexing using MongoDB (MongoSV 2012)High Dimensional Indexing using MongoDB (MongoSV 2012)
High Dimensional Indexing using MongoDB (MongoSV 2012)
 
Dsm Presentation
Dsm PresentationDsm Presentation
Dsm Presentation
 
Geographic information system
Geographic information systemGeographic information system
Geographic information system
 
Postgres Vision 2018: PostGIS and Spatial Extensions
Postgres Vision 2018: PostGIS and Spatial ExtensionsPostgres Vision 2018: PostGIS and Spatial Extensions
Postgres Vision 2018: PostGIS and Spatial Extensions
 
MySQL 8.0: GIS — Are you ready?
MySQL 8.0: GIS — Are you ready?MySQL 8.0: GIS — Are you ready?
MySQL 8.0: GIS — Are you ready?
 
Geonuris ep introduction 3.0 english sg
Geonuris ep introduction 3.0 english sgGeonuris ep introduction 3.0 english sg
Geonuris ep introduction 3.0 english sg
 
Smallworld Data Check-Out to Microstation
Smallworld Data Check-Out to MicrostationSmallworld Data Check-Out to Microstation
Smallworld Data Check-Out to Microstation
 
Data Warehouse Offload
Data Warehouse OffloadData Warehouse Offload
Data Warehouse Offload
 
Managing Data Synchronization Between ArcSDE and POSTGIS using FME
Managing Data Synchronization Between ArcSDE and POSTGIS using FMEManaging Data Synchronization Between ArcSDE and POSTGIS using FME
Managing Data Synchronization Between ArcSDE and POSTGIS using FME
 
Efficiently Implementing INSPIRE & Creating INSPIRE Mashups with FME
Efficiently Implementing INSPIRE & Creating INSPIRE Mashups with FMEEfficiently Implementing INSPIRE & Creating INSPIRE Mashups with FME
Efficiently Implementing INSPIRE & Creating INSPIRE Mashups with FME
 
Meteo I/O Introduction
Meteo I/O IntroductionMeteo I/O Introduction
Meteo I/O Introduction
 
FINAL REVIEW of a scalable phase top down
FINAL REVIEW of a scalable phase top downFINAL REVIEW of a scalable phase top down
FINAL REVIEW of a scalable phase top down
 
Powerful Spatial Features You Never Knew Existed in Oracle Spatial and Graph ...
Powerful Spatial Features You Never Knew Existed in Oracle Spatial and Graph ...Powerful Spatial Features You Never Knew Existed in Oracle Spatial and Graph ...
Powerful Spatial Features You Never Knew Existed in Oracle Spatial and Graph ...
 
introduction to geographical information system
introduction to geographical information systemintroduction to geographical information system
introduction to geographical information system
 

Más de Andrew Bashfield

Más de Andrew Bashfield (8)

GITA CAD GIS Workshop Notes
GITA CAD GIS Workshop NotesGITA CAD GIS Workshop Notes
GITA CAD GIS Workshop Notes
 
GIS and CAD Integration: The Bentley Perspective
GIS and CAD Integration: The Bentley PerspectiveGIS and CAD Integration: The Bentley Perspective
GIS and CAD Integration: The Bentley Perspective
 
CAD GIS Integration Workshop
CAD GIS Integration WorkshopCAD GIS Integration Workshop
CAD GIS Integration Workshop
 
City of Vancouver CAD - GIS - 3D Integration A Dimension Too Far?
City of Vancouver CAD - GIS - 3D Integration A Dimension Too Far?City of Vancouver CAD - GIS - 3D Integration A Dimension Too Far?
City of Vancouver CAD - GIS - 3D Integration A Dimension Too Far?
 
Integrating CAD and GIS with Spatial ETL
Integrating CAD and GIS with Spatial ETLIntegrating CAD and GIS with Spatial ETL
Integrating CAD and GIS with Spatial ETL
 
A Range of CAD-GIS Integration Scenarios
A Range of CAD-GIS Integration ScenariosA Range of CAD-GIS Integration Scenarios
A Range of CAD-GIS Integration Scenarios
 
CAD-GIS Integration Approaches with ARCGIS
CAD-GIS Integration Approaches with ARCGIS CAD-GIS Integration Approaches with ARCGIS
CAD-GIS Integration Approaches with ARCGIS
 
Integrating CADD & GIS in a Municipal Environment
 Integrating CADD & GIS in a Municipal Environment Integrating CADD & GIS in a Municipal Environment
Integrating CADD & GIS in a Municipal Environment
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

Oracle Spatial Databases

  • 1. Oracle Spatial Databases Integrating CAD and GIS using Oracle technologies
  • 2. Mark Millman – Mizar, LLC  30+ years of CAD/GIS experience – Wide range of natural resource; local, state, and national government; electric, gas, water, & telco; and core systems experience. – Former V.P.Geoengineering Technologies Bentley Systems – Originator of MicroStation Geographics  25+ years of Oracle RDBMS experience  5 years focus on spatially enabled enterprise databases and middle-tier implementations.
  • 3. WHAT IS CAD/GIS ? Purposed systems for land use professionals
  • 4. CAD & GIS ?  CAD & GIS are purposed applications – Developed for and by land use professionals – Highly specialized and functional – Departmental system  Functionality predominates  Twenty years ago was bigger than RDBMS – Today is a fraction  Half of all information is location based – But that does not imply GIS  CAD / GIS is a content provider  Not all CAD / GIS content is enterprise relevant
  • 5. WHAT IS SPATIAL DATABASE? Enterprise resource
  • 6. Spatial Database ?  Just another data type in a universal enterprise information system.  Reliability, security, scalability, and control are key to enterprise frameworks: – Functionality is secondary.  Provides a common format for various GIS content: – Ensures application independence; – Modeled on open standards; – All information is accessible.  Exposes location to the enterprise
  • 7. ORACLE SPATIAL Part of a universal information repository
  • 9. Universal Server  Structured scalar data – Text, numbers, dates, etc.  Documents – 140 default document types – CAD / GI S files – Indexed contents using Oracle Text  Media – Image, audio, and video  Spatial
  • 10. Spatial  Location  Geocoder  GeoRaster  Network  3D Geometry  TIN  Point Cloud  Routing
  • 11. The in and out of it  FME  Shape file import (Oracle)  Shape file export (GeoTools)  Shared Repository – Geomedia – MapInfo – ArcServer / ArcSDE
  • 12. Shared repository  Application specific data types, very typical of advanced CAD applications pose special problems for any share enterprise resource.  Obfuscated information poses a barrier and requires customization: – Annotation is the primary example – Oriented Points
  • 13. Oriented Points  An extension of the standard POINT geometry  Used for text and symbol orientation  Stores two coordinates – Absolute location of origin – A direction vector  Protocols for LRS, N-Dimensional, and Multi-Point geometries.
  • 14. Interpreting Geomedia orientation Create or replace FUNCTION ORIENT_POINT ( create or replace PROCEDURE ORIENT_LAYER AS INGEOM MDSYS.SDO_GEOMETRY, BEGIN ROTATION NUMBER ) RETURN MDSYS.SDO_GEOMETRY AS -- sample process for creating oriented points OUTGEOM MDSYS.SDO_GEOMETRY; -- the ORIENT_POINT procedure will drop the Geomedia data so ORDS SDO_ORDINATE_ARRAY; -- the original geometry should be saved if that info is important. EINFO MDSYS.SDO_ELEM_INFO_ARRAY; ETYPE NUMBER; -- The update is in a loop because there are 1.3 million record in XR NUMBER; dimensions and I was timing out. YR NUMBER; PI NUMBER := 3.141569; FOR AROW IN (SELECT ID1, GEOM, ANGLE FROM DIMENSIONS) LOOP IDX NUMBER := 1; UPDATE DIMENSIONS SET R_GEOM = ORIENT_POINT(AROW.GEOM, BEGIN AROW.ANGLE) WHERE ID1 = AROW.ID1; -- Spatial Users Guide sect 2.7.6 Oriented Points -- This is limited to 2D points but 3d and 4d are supported. COMMIT; -- All point data must be stored in the ordinate array, not the sdo_point. END LOOP; IF INGEOM IS NULL OR INGEOM.SDO_GTYPE <> 2001 THEN RETURN INGEOM; END ORIENT_LAYER; END IF; -- This is a Geomedia customization. Their proprietary format uses a type 0 element (type 0 not supported by ESRI) -- the element info array looks like this (1,0,6001, IDX, 1, 1) where IDX is the offset of the point element usually 1. IF INGEOM.SDO_ELEM_INFO(3) = 6001 THEN IDX := INGEOM.SDO_ELEM_INFO(4); END IF; -- compute the point (0, .5) rotated ROTATION degrees about the origin ORDS := INGEOM.SDO_ORDINATES; XR := COS(PI/180*ROTATION)/2; YR := SIN(PI/180*ROTATION)/2; -- New geometry contains the point and the orientation vector -- We don't maintain the Geomedia stuff, but it is in the original geometry OUTGEOM := SDO_GEOMETRY(2001, 41100, NULL, SDO_ELEM_INFO_ARRAY(1, 1, 1, 3, 1, 0), SDO_ORDINATE_ARRAY(ORDS(IDX), ORDS(IDX+1), XR,YR)); RETURN OUTGEOM;
  • 15. The reward  Application independence – CAD & GIS are applications. – Using application storage protocols invites application dependence.  Enterprise exposure – Spatial has context to all systems within an enterprise framework, – Enterprise value brings enterprise funding.  Enterprise Reliability, Scalability, Security
  • 17. Mark Millman – Mizar, LLC mark.millman@mizar.com