2.5 GeoRaster XML Schema
GeoRaster defines an XML schema to store and manage the GeoRaster metadata.
The definition of this XML schema is included in GeoRaster Metadata XML Schema. The namespace defined by the GeoRaster XML schema is http://xmlns.oracle.com/spatial/georaster
, and it is reserved for use by Oracle. You must refer to this namespace if you want to manipulate a GeoRaster metadata document using the SQL XML functions or the XMLType methods.
GeoRaster uses a table named SDO_GEOR_XMLSCHEMA_TABLE to store the GeoRaster metadata XML schema and other information. This table is under the MDSYS schema, and you must include the schema name if you reference this table. For example:
DESCRIBE mdsys.sdo_geor_xmlschema_table Name Null? Type ----------------------------------------- -------- ---------------------------- ID NOT NULL NUMBER GEORASTERFORMAT VARCHAR2(1024) XMLSCHEMA CLOB
Table 2-7 describes the columns of the SDO_GEOR_XMLSCHEMA_TABLE table.
Table 2-7 SDO_GEOR_XMLSCHEMA_TABLE Table Columns
Column Name | Data Type | Description |
---|---|---|
id |
NUMBER |
ID number, assigned by Oracle. Values |
georasterFormat |
VARCHAR2(1024) |
GeoRaster format identifier, assigned by Oracle. The value |
xmlSchema |
CLOB |
GeoRaster metadata XML schema definition. This definition is included in GeoRaster Metadata XML Schema. |
There are no GeoRaster views defined on this table. It is mainly of interest to advanced users who might want to query the table for GeoRaster XML schema information.
You are encouraged not to modify the contents of this table, unless you want to define your own XML schema for other metadata that is not included in the GeoRaster XML schema, and to store that metadata in a new row in this table. If you add a row for your own metadata, do not use an ID column value of 1
through 50
or a GEORASTERFORMAT column value of GEORASTER
, because these column values are reserved for use by Oracle. If you specify an XMLSCHEMA column value, you should choose a unique namespace for your own XML schema and register it using a corresponding schema URL that will also be unique in the database. (For more information, see Oracle XML DB Developer's Guide.)
Parent topic: GeoRaster Data Types and Related Structures