Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 







Put Mapping And Spatial Data In a Oracle Data Warehouse

Oracle Tips by Burleson Consulting
Don Burleson

By Mark Rittman

Integrating Mapping And Spatial Data Into Your Oracle Data Warehouse

There's an interesting article currently running over on OTN entitled "Use Location Information in Enterprise Reporting". According to the introduction, the article helps you "Learn how to create dynamic maps that make the relationships between attribute and location-based information a lot more visible for business intelligence analysis."

The article's about two Oracle products that help you add GIS functionality to your data warehouse; the Spatial Option to the Enterprise Edition of the database, and the new Oracle Application Server MapViewer, a J2EE service for rendering maps using location data by provided by the Spatial Option. The Spatial Option lets you add geographic attributes to data in your database using an  OpenGIS-compliant object type called SDO_GEOMETRY, and comes with SQL operators that let us make comparisons between two map points. For example, a typical SQL query using given in the article that uses the Spatial Option would be:

SELECT a.cust_last_name
 FROM customers a
   SDO_WITHIN_DISTANCE(a.cust_geo_location, mdsys.sdo_geometry (2001, 8307,
                              mdsys.sdo_point_type (6.1667, 46.2, null), 
                              null, null),
                           'distance=20000 unit=meter') = 'TRUE';

What makes this interesting is the new Oracle Application Server MapViewer, a J2EE application that comes with Application Server 10g (9.0.4) and displays data stored using the Spatial Option. The article comes with a JDeveloper project file that builds a map from spatial data in the database, and the displays the map using the Mapviewer application. The article then goes on to show how this map can be called from Oracle Discoverer AS, allowing us to integrate mapping in to our Discoverer reporting solution.

If you're interested in finding out more about the Spatial Option and Mapviewer, there's an Oracle-by-Example tutorial available on OTN titled "Performing Location-Based Analysis". You can also find out more on the OTN Mapviewer homepage and in the Oracle Spatial User's Guide and Reference.




Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster


Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.