Presentation is loading. Please wait.

Presentation is loading. Please wait.

Oracle8i Spatial Concepts. Concepts Geometric data types Oracle8i Spatial data model Spatial Layers Spatial query model Spatial indexing «Window» queries.

Similar presentations


Presentation on theme: "Oracle8i Spatial Concepts. Concepts Geometric data types Oracle8i Spatial data model Spatial Layers Spatial query model Spatial indexing «Window» queries."— Presentation transcript:

1 Oracle8i Spatial Concepts

2 Concepts Geometric data types Oracle8i Spatial data model Spatial Layers Spatial query model Spatial indexing «Window» queries and «join» queries Geometric data types Oracle8i Spatial data model Spatial Layers Spatial query model Spatial indexing «Window» queries and «join» queries

3 Types of Spatial Data GIS (mapping) data CAM data CAD data

4 Geometric Types Points (X1, Y1, [Z1]) Line Strings (X1, Y1, [Z1],...Xn, Yn, [Zn]) –self-crossing lines are supported –lines that close to form a ring have no implied interior –straight, curved or mixed (compound) shapes Points (X1, Y1, [Z1]) Line Strings (X1, Y1, [Z1],...Xn, Yn, [Zn]) –self-crossing lines are supported –lines that close to form a ring have no implied interior –straight, curved or mixed (compound) shapes

5 Geometric Types (cont.) Polygons (X1, Y1, [Z1],... Xn, Yn, [Zn]) –polygons are rotation independent; outer rings must be counter clockwise, inner rings (voids) must be clockwise. –coordinates must close and interior is implied –interior area can be voided using additional elements (polygon with hole) –self-crossing polygons are not supported –straight, curved or mixed (compound) shapes Polygons (X1, Y1, [Z1],... Xn, Yn, [Zn]) –polygons are rotation independent; outer rings must be counter clockwise, inner rings (voids) must be clockwise. –coordinates must close and interior is implied –interior area can be voided using additional elements (polygon with hole) –self-crossing polygons are not supported –straight, curved or mixed (compound) shapes

6 Geometric Types Point Polygon Polygon with hole Self-crossing line strings Valid Self-crossing polygons Not valid Not valid Line string Arc line string Compound line string Compoundpolygon Optimizedpolygons

7 Geometric Representations Spatial attribute of a spatial feature: geometric representation of its shape in some coordinate space Called geometry Oracle Spatial Object-Relational model represents geometries using tables with a single column of type MDSYS.SDO_GEOMETRY and a single row per geometry instance Relational model: table with a predefined set of columns of type NUMBER and one or more rows for each geometry instance Spatial attribute of a spatial feature: geometric representation of its shape in some coordinate space Called geometry Oracle Spatial Object-Relational model represents geometries using tables with a single column of type MDSYS.SDO_GEOMETRY and a single row per geometry instance Relational model: table with a predefined set of columns of type NUMBER and one or more rows for each geometry instance

8 Spatial Data Model PointLinePolygon Elements Geometries Spatial layer

9 Elements Element 1 Element 2 Element 3 Element 4 Element 5 Element 6 Element 7 Basic building block of a geometry Element types –Point –Line –Polygon Constructed using coordinates Limit on number of coordinates Hawaii, USA

10 Geometry 1 California Geometry 2 Texas Geometry 3 Florida Geometry 4 Hawaii Geometry Represents a spatial feature Consists of an ordered set of primitive elements Represents a spatial feature Consists of an ordered set of primitive elements

11 Layers Consist of geometries that share a common set of attributes A layer is a geometry column in a table Consist of geometries that share a common set of attributes A layer is a geometry column in a table States layer


Download ppt "Oracle8i Spatial Concepts. Concepts Geometric data types Oracle8i Spatial data model Spatial Layers Spatial query model Spatial indexing «Window» queries."

Similar presentations


Ads by Google