25.04.2013 Views

View PDF

View PDF

View PDF

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Annotation Text Type and <strong>View</strong>s<br />

Spatial users are responsible for populating these views. For each annotation text<br />

object, you must insert an appropriate row into the USER_ANNOTATION_TEXT_<br />

METADATA view. Oracle Spatial ensures that the ALL_ANNOTATION_TEXT_<br />

METADATA view is also updated to reflect the rows that you insert into USER_<br />

ANNOTATION_TEXT_METADATA.<br />

The USER_ANNOTATION_TEXT_METADATA and ALL_ANNOTATION_TEXT_<br />

METADATA views contain the same columns, as shown Table 3–1, except that the<br />

USER_ANNOTATION_TEXT_METADATA view does not contain the OWNER<br />

column. (The columns are listed in their order in the view definition.)<br />

Table 3–1 Columns in the Annotation Text Metadata <strong>View</strong>s<br />

Column Name Data Type Purpose<br />

OWNER VARCHAR2(32) Owner of the table specified in the TABLE_NAME column (ALL_<br />

ANNOTATION_TEXT_METADATA view only).<br />

TABLE_NAME VARCHAR2(32) Name of the table containing the column of type ST_ANNOTATION_<br />

TEXT.<br />

COLUMN_NAME VARCHAR2(1024) Name of the column of type ST_ANNOTATION_TEXT.<br />

TEXT_EXPRESSION VARCHAR2(4000) A value that can be used if text is not specified for a label. As explained<br />

in the OpenGIS specification: "Text to place is first derived from the<br />

contents of VALUE in the current element, if VALUE is not null.<br />

Otherwise, text is derived from the first non-null preceding element<br />

VALUE. If all preceding elements have null VALUE fields, VALUE is<br />

derived from the TEXT_EXPRESSION in the metadata table."<br />

TEXT_ATTRIBUTES VARCHAR2(4000) Default text display attributes (font family and size, horizontal and<br />

vertical spacing, and so on) for the label text style and layout, unless<br />

overridden in the PRIVATETEXTATTRIBUTES attribute of the ST_<br />

ANNOTATION_TEXT constructor (described in Section 3.4.1). Use the<br />

format specified in the "XML for Text Attributes" section of the<br />

OpenGIS specification.<br />

SQL Multimedia Type Support 3-9

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

Saved successfully!

Ooh no, something went wrong!