Mosaic datasets in a geodatabase in PostgreSQL

Mosaic datasets contain a raster catalog and a set of properties and rules that define an on-the-fly mosaic view of the raster catalog. See What is a mosaic dataset? for more information.

Mosaic datasets in ArcGIS Desktop

In the Catalog tree, mosaic datasets have the following icon:

Mosaic dataset icon

The name of the mosaic dataset in a geodatabase in PostgreSQL contains the database name, the name of the dataset owner, and the name of the mosaic dataset itself.

Mosaic datasets in a PostgreSQL database

Information about mosaic datasets is stored in the gdb_items and gdb_itemtypes system tables. There can be nine additional tables stored in the schema of the user who creates the mosaic dataset. Four of them—the ART, BND, CAT, and LOG tables—are created when you use the mosaic dataset is created; the other tables are generated the first time you perform an operation that requires the table's existence. Referenced mosaic datasets only have two tables: the BND and LOG tables.

The name portion of the table names is the name of the mosaic dataset. Be sure the name you give the mosaic dataset is 22 characters or fewer.

amd_<name>_art

This table stores a history of all the raster types used in this mosaic dataset.

Field name

Field type

Description

Null?

objectid

integer

The unique identifier of the raster

NOT NULL

typename

varchar(50)

The name of the raster type or product

rastertype

bytea

A serialized object that stores all the properties of a particular raster type

description

varchar(250)

A user-defined description of the raster that helps to identify a particular add raster operation

firstused

timestamp without time zone

Records the date and time rasters were added to the mosaic dataset using the corresponding raster type object

This time stamp never changes since it indicates the first time the raster type was used in the mosaic.

lastused

timestamp without time zone

Records the date and time one or more rasters were synchronized using this raster type

The value in this field changes whenever the corresponding raster type is used.

lastsync

timestamp without time zone

The date and time the raster type was last synchronized

amd_<name>_bnd

The boundary for a mosaic dataset is a feature class. This table defines the boundary (extent) of the mosaic dataset.

Field name

Field type

Description

Null?

objectid

integer

The unique identifier of the raster

NOT NULL

shape

st_geometry

geometry

The shape of the boundary of the raster

NOT NULL

amd_<name>_cat

This is the raster catalog behind the mosaic dataset. It stores raster datasets that participate in mosaicking.

Field name

Field type

Description

Null?

objectid

integer

The unique identifier for the dataset

NOT NULL

name

varchar(50)

Display name for the catalog item

minps

numeric(20,9)

Minimum pixel size

maxps

numeric(20,9)

Maximum pixel size

lowps

numeric(20,9)

Low pixel size

highps

numeric(20,9)

High pixel size

category

integer

Identifies the dataset type; 0 = Unknown, 1 = Primary, 2 = ServiceOverview, 3 = DerivedRaster, 255 = Custom

tag

varchar(20)

Identifies a dataset in a function template and indicates if the dataset is panchromatic, multispectral, or pan sharpened

groupname

varchar(50)

The name of the groups used to link together datasets belonging to a particular project (For example, for a QuickBird scene, the panchromatic and multispectral rasters that need to participate in pan sharpening will have the same group name.)

productname

varchar(50)

The name of the product of the raster data provided by the data source

centerx

numeric(20,9)

X-coordinate of the center of the raster's minimum bounding rectangle

centery

numeric(20,9)

Y-coordinate of the center of the raster's minimum bounding rectangle

zorder

numeric(20)

Controls the drawing order of rasters in a mosaic dataset

sorder

numeric(20)

Indicates the order of the rasters

Used in seamline mosaic method

typeid

integer

ObjectID of the record in the amd_art table that contains details about the raster type object

stereoid

varchar(50)

ObjectID of the record in the amd_<name>_str table that holds details of the participating stereo pairs

itemts

numeric(20,14)

Time stamp of the modified raster

Used to track which overviews need to be rebuilt when underlying rasters are changed

Used by the Build Overview geoprocessing tool

urihash

varchar(50)

Uniquely identifies the sources of the raster

Used by the Synchronize Mosaic Dataset geoprocessing tool

uri

bytea

A serialized Uniform Resource Identifier (URI) that is used to re-create the raster dataset

shape

st_geometry

geometry

The minimum bounding rectangle of the raster dataset

raster

integer

st_raster

A reference to a raster dataset along with its functions

amd_<name>_cca

This table stores information about color correction.

Field name

Field type

Description

Null?

objectid

integer

The row ID

NOT NULL

assocobjectid

integer

The row ID of the mosaic dataset catalog

NOT NULL

name

varchar(256)

Name of the raster item

prestorgammatableblob

bytea

Binary large object of color correction prestretch color map or Gamma map

shape

st_geometry

geometry

Minimum bounding rectangle of the raster

raster

integer

st_raster

Raster of local mean and local standard deviation

amd_<name>_csl

This table stores cell size levels of a mosaic dataset. The table is created when you specify or calculate the cell size for the mosaic dataset. Information in the table is updated when calculating cell size levels or defining overviews and is used while generating overviews.

Field name

Field type

Description

Null?

objectid

integer

The unique identifier for the dataset

NOT NULL

instanceid

integer

The ObjectID of the raster type instance stored in the raster type table associated with the corresponding cell size level

levelid

integer

The identifier associated with the cell size level

cellsize

numeric(20,9)

The cell size value associated with the celll size level

minps

numeric(20,9)

Minimum pixel size

maxps

numeric(20,9)

Maximum pixel size

shape

st_geometry

geometry

The minimum bounding polygon of all items belonging to the corresponding cell size level

amd_<name>_log

This table stores errors, warnings, and messages that are generated by various operations performed on a mosaic dataset.

Field name

Field type

Description

Null?

objectid

integer

The unique identifier of each row in this table

NOT NULL

msgcode

numeric(20)

Error or warning code that uniquely identifies the message

msgsrc

varchar(100)

The source; usually the name of the operation that generated this message

msgtext

varchar(250)

The text description of the message

msgtype

numeric(14)

Differentiates between error, warning, and information messages: 1 = Error, 2 = Warning, 3 = Info1, 4 = Info2, 5= Info3, 100 = Debug

rasterid

numeric(14)

ObjectID of the record in the amd_<name>_cat table that corresponds to this message

msgtime

varchar(30)

The date and time the error or warning message occurred

amd_<name>_ovr

By default, the overview rasters that are created for mosaic datasets are stored in this table. If you change the storage location for the overviews, which can be done using the Define Overviews tool, this table will not be populated. Instead, a pointer to the overview location will be stored in the urihash field of the amd_<name>_cat table.

Field name

Field type

Description

Null?

objectid

integer

The unique identifier of the overview record

NOT NULL

name

varchar(50)

System-generated name of the raster dataset value that identifies the row and column position of the overview record

raster

integer

st_raster

The raster dataset

amd_<name>_sml

This table defines the seamline shapes that are used for mosaicking when the MosaicMethod used is seamline.

Field name

Field type

Description

Null?

objectid

integer

The unique identifier of the seamline

NOT NULL

rasterid

numeric(14)

The objectID of the record in the amd_cat table that corresponds to this seamline shape

NOT NULL

shape

st_geometry

geometry

The shape of the seamline

NOT NULL

amd_<name>_str

This table stores stereo IDs of the pairs that participate in a stereo image.

Field name

Field type

Description

Null?

objectid

integer

The unique identifier for each record in this table

NOT NULL

stereoid1

varchar(50)

ID of one of the participating stereo pairs

stereoid2

varchar(50)

ID of the other of the participating stereo pair

The following shows a mosaic dataset, basemap, in PostgreSQL.

Mosaic dataset tables in PostgreSQL

Dashed lines indicate implicit relationships between columns.

Mosaic datasets in an XML document

Mosaic datasets are not currently supported in XML documents.


8/19/2013