<Insert Picture Here>
Oracle’s platform for geospatial developers
Jayant Sharma, Technical Director, Spatial
Oracle USA Inc.
<Insert Picture Here>
Agenda
• Spatial platform
• Its usage
• Technology oerview
• Database
• Middleware
• Discussion
Maps, Geocoding, Search
Store and query spatial information
SELECT c.holding_company, c.location
FROM competitor c,
bank b
WHERE b.site_id = 1604
AND SDO_WITHIN_DISTANCE(c.location,
b.location,
'distance=2 unit=mile') = 'TRUE'
Store and retrieve geospatial imagery
Store and analyze geospatial networks
Store and manage 3D data
Supports all Geospatial Datatypes
Data
Locations
(points of interest)Networks
(roads, utilities)
Polygons
(admin, sales territories,
high risk zones)
Imagery
(satellite imagery) Topology
(data provider)
3D data type
(city models)
LIDAR Data Type
TIN Data Type
<Insert Picture Here>
Usage Types: Reports,
Search, Analysis
Reports – Crew & Order Locations
Query - View Work Order
Slide 10
Now view work orders associated with the highlighted asset features.
Analysis - Asset Assessment Scoring
Slide 17
Thematic Maps showing analytic information. This represents the current state of the Main Line infrastructure.
Spatial Database Services
Element 0
Element 1 (Hole)
P
1
P
2
P
3
P
4
P
5
P
6P
7
P
8
H
2
H
3
H
4
H
1
Geometry
Data Type
IndexingRtree
Query/AnalysisSelect, join, buffer, within distance,
nearest neighbor, intersection, union,
convex hull, centroid, ...
ROADS
RNAME ID TYPE LANES GEOMETRY
M40
M25
140
141
HWY
HWY
6
4
X Y
x1 y1
x2 y2
x3 y3
x4 y4
x5 y5
Abstract Data Type
Access: SQL (Structured Query Language)
Spatial Data in Tables
Road
ROAD_ID
1
2
3
SURFACE
Asphalt
Asphalt
Asphalt
NAME
Homestead
Bellomy
Santa Clara
LANES
4
2
2
LOCATION
Data type:
GEOMETRY
RASTER
NETWORK
TOPOLOGY
Spatial Operators
• Full range of spatial operators
• Implemented as functional extensions in SQL
• Spatial Relationship Operators
• InsideContains
• Touch Disjoint
• Covers Covered By
• EqualOverlap Boundary
• Distance Operators
• Nearest Neighbor
• Within Distance
Inside
Within Distance
Spatial Functions
• Database Server Side
Spatial Functions
• Union, Difference, Intersect, etc.
• Spatial Aggregates
• Buffer
• Point at bearing
• To_GML
• Geometry Validations
• Length
• Area
• Distance
• Etc…
Union
XOR
Intersect
Original
Difference
Buffer
Ma
in S
treet
A Spatial Query
Hilton
5 miles
St Thomas
Royal
George
SQL> SELECT H.Hospital_name
2> FROM Hospitals R,
3> Hotels H
4> WHERE R.Hospital_type =‘A&E’
5> AND H.Hotel_name = ‘HILTON’
6> AND
MDSYS.SDO_WITHIN_DISTANCE(
6> R.Location, H.Location,
7> ‘distance=5’) = ‘TRUE’;
Find all nearest hospitals within 5 miles of my hotel
Oracle FMW MapViewer
• Map rendering service: Server component
• Provides a comprehensive set of APIs:
• XML, Java, and AJAX-based
• Enables easy development of client viewers
• Enterprise solution for management of map content and
metadata
• Oracle Maps
• A map cache server
• Caches and serves pre-generated map image tiles for base map layers
• A feature of interest (FOI) server
• Renders dynamic geospatial features on top of base map layers
• An Ajax-based JavaScript mapping client library
• Fetches map tiles and FOI from the server
• Controls user interaction with maps and dynamic features.
• Map Builder
• Utility for creating and managing map metadata
• Create, modify, delete: Styles (colors, text, line, markers), Themes, Map
definitions
Development tools: JDeveloper ADF
JDeveloper ADF
Oracle Application Express
Oracle BI EE Answers
Some Oracle Spatial Partners
Geospatial Tool Providers
Specialty Systems Integrators Data Providers
NAVIGATE
“Spatial is not special”
• Location is a CORE element of enterprise data
• Location should be openly accessible to the spectrum
of platforms (GIS and non-GIS)
• Location should be a 1st class citizen of enterprise data
management
Try to imagine another core data type being managed
without the benefits of data management ‘best practices’
Some (Light) Further Reading …
Q U E S T I O N SQ U E S T I O N S
A N S W E R SA N S W E R S