Book Image

Applying and Extending Oracle Spatial

Book Image

Applying and Extending Oracle Spatial

Overview of this book

Spatial applications should be developed in the same way that users develop other database applications: by starting with an integrated data model in which the SDO_GEOMETRY objects are just another attribute describing entities and by using as many of the database features as possible for managing the data. If a task can be done using a database feature like replication, then it should be done using the standard replication technology instead of inventing a new procedure for replicating spatial data. Sometimes solving a business problem using a PL/SQL function can be more powerful, accessible, and easier to use than trying to use external software. Because Oracle Spatial's offerings are standards compliant, this book shows you how Oracle Spatial technology can be used to build cross-vendor database solutions. Applying and Extending Oracle Spatial shows you the clever things that can be done not just with Oracle Spatial on its own, but in combination with other database technologies. This is a great resource book that will convince you to purchase other Oracle technology books on non-spatial specialist technologies because you will finally see that "spatial is not special: it is a small, fun, and clever part of a much larger whole".
Table of Contents (20 chapters)
Applying and Extending Oracle Spatial
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Table Comparing Simple Feature Access/SQL and SQL/MM–Spatial
Index

Examining an SDO_GEOMETRY's dimensionality


The OGC SFA 1.2/SQLMM standard requires a spatial object to have an inspection property called ST_Dimension (not to be confused with ST_CoordDim). The standard defines this as follows:

The dimension of an ST_Geometry value is less than or equal to the coordinate dimension.

This is not a useful definition for implementation. A more useful one is:

Within a traditional mathematical framework based on Euclidean geometry (Abbott, E.A., 1884, Flatland: A romance of many dimensions: OxFord, Blackwell. 100 pp.), a single point has a topological dimension of zero. Similarly, a line or curve connecting two points is one-dimensional, a plane or surface is two-dimensional, and a volume is three-dimensional (Jones, R. R., Wawrzyniec, T. F., Holliman, N. S., McCaffrey, K. J. W., Imber, J. & Holdsworth, R. E. 2008. Describing the dimensionality of geospatial data in the earth sciences – recommendations For nomenclature. Geosphere. 4 354-359).

In short:

  • A (MULTI...