10.12.2012 Views

Oracle Spatial User's Guide and Reference - InfoLab

Oracle Spatial User's Guide and Reference - InfoLab

Oracle Spatial User's Guide and Reference - InfoLab

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SDO_GEOMETRY Object Type<br />

2.2.2 SDO_SRID<br />

Table 2–1 (Cont.) Valid SDO_GTYPE Values<br />

Value Geometry Type Description<br />

dl06 MULTILINE or<br />

MULTICURVE<br />

The d in the Value column of Table 2–1 is the number of dimensions: 2, 3, or 4. For<br />

example, an SDO_GTYPE value of 2003 indicates a two-dimensional polygon.<br />

The number of dimensions reflects the number of ordinates used to represent each<br />

vertex (for example, X,Y for two-dimensional objects). Points <strong>and</strong> lines are<br />

considered two-dimensional objects. (However, see Section 7.2 for dimension<br />

information about LRS points.)<br />

In any given layer (column), all geometries must have the same number of<br />

dimensions. For example, you cannot mix two-dimensional <strong>and</strong> three-dimensional<br />

data in the same layer.<br />

The following methods are available for returning the individual dltt components of<br />

the SDO_GTYPE for a geometry object: GET_DIMS, GET_LRS_DIM, <strong>and</strong> GET_<br />

GTYPE. These methods are described in Chapter 11.<br />

The SDO_SRID attribute can be used to identify a coordinate system (spatial<br />

reference system) to be associated with the geometry. If SDO_SRID is null, no<br />

2-8 <strong>Oracle</strong> <strong>Spatial</strong> User’s <strong>Guide</strong> <strong>and</strong> <strong>Reference</strong><br />

Geometry has one or more line strings. (MULTILINE<br />

<strong>and</strong> MULTICURVE are synonymous in this context,<br />

<strong>and</strong> each is a superset of both LINE <strong>and</strong> CURVE.)<br />

dl07 MULTIPOLYGON Geometry can have multiple, disjoint polygons (more<br />

than one exterior boundary). (MULTIPOLYGON is a<br />

superset of POLYGON.)<br />

1 For a polygon with holes, enter the exterior boundary first, followed by any interior boundaries.<br />

2 Polygons in the collection can be disjoint.<br />

Note: The pre-release 8.1.6 format of a 1-digit SDO_GTYPE value<br />

is still supported. If a 1-digit value is used, however, <strong>Oracle</strong> <strong>Spatial</strong><br />

determines the number of dimensions from the DIMINFO column<br />

of the metadata views, described in Section 2.4.3.<br />

Also, if 1-digit SDO_GTYPE values are converted to 4-digit values,<br />

any SDO_ETYPE values that end in 3 or 5 in the SDO_ELEM_INFO<br />

array (described in Section 2.2.4) must also be converted.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!