Datové typy SDO Geometry

From Wikivyuka
Revision as of 11:56, 24 March 2010 by Dur30 (talk | contribs)

Jump to: navigation, search

SDO_Geometry je objekt, který má následující atributy:

SDO_GTYPE NUMBER, 
SDO_SRID NUMBER,
SDO_POINT SDO_POINT_TYPE,
SDO_ELEM_INFO MDSYS.SDO_ELEM_INFO_ARRAY,
SDO_ORDINATES MDSYS.SDO_ORDINATE_ARRAY

Je nutné vnímat "skladbu" tohoto objektu. Při zadávání dat potřebujeme znát kódy, které mají význam pro správné určení geometrie či koordinačního (souřadnicového) systému, ap.

SDO_GTYPE NUMBER - typ geometrie, koresponduje se specifikací modelu "Geometry Object Model" definovanou organizací OGIS - Simple Features for SQL specification. Skládá se ze 4 numerických hodnot ve formátu DLTT, kde
   *D identifies the number of dimensions (2, 3, or 4)
   *L identifies the linear referencing measure dimension for a three-dimensional linear referencing system (LRS) geometry, that is, which dimension (3 or 4) contains the measure value. For a non-LRS geometry, or to accept the Spatial default of the last dimension as the measure for an LRS geometry, specify 0. For information about the linear referencing system (LRS), see Chapter 7.
   *TT identifies the geometry type (00 through 09, with 10 through 99 reserved for future use).


SDO_SRID NUMBER,
SDO_POINT SDO_POINT_TYPE,
SDO_ELEM_INFO MDSYS.SDO_ELEM_INFO_ARRAY,
SDO_ORDINATES MDSYS.SDO_ORDINATE_ARRAY