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 for 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 that's 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>_ana

This table stores the analysis results generated by the Analyze Mosaic Dataset geoprocessing tool.

Field name

Field type

Description

Null?

objectid

integer

The row ID

NOT NULL

resultid

integer

The identifier of the analysis result message

resulttype

integer

The type of analysis result message

msgtext

varchar(250)

The analysis result message

itemcount

integer

The count of mosaic dataset items that have the corresponding analysis result

severity

integer

The severity of the message: 0 = high, 1 = medium, 2 = low

itemts

numeric(38,8)

Timestamp of the analyzed raster

shape

st_geometry

geometry

The spatial field associated with the analysis result

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

firstadd

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.

lastadd

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

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(38,8)

Minimum pixel size

maxps

numeric(38,8)

Maximum pixel size

lowps

numeric(38,8)

Low pixel size

highps

numeric(38,8)

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(38,8)

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

centery

numeric(38,8)

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

zorder

integer

Controls the drawing order of rasters in a mosaic dataset

sorder

integer

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(38,8)

Time stamp of the modified raster

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

Used by the Build Overviews 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

thumbnail

bytea

A thumbnail representation of the raster

slevelps

numeric(38,8)

The cell size corresponding to the cell size level associated with each mosiac dataset

This is populated when seamlines are built for the mosaic 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

raster

integer

st_raster

Raster of local mean and local standard deviation

amd_<name>_che

This table stores a managed item cache generated by the Build Item Cache geoprocessing tool or Cached Raster function in ArcGIS for Desktop.

Field name

Field type

Description

Null?

objectid

integer

The unique identifier for the dataset

NOT NULL

name

varchar(50)

The name of the managed item cache or cache raster function

raster

integer

st_raster

Managed item cache dataset or cache raster function

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(38,8)

The cell size value associated with the cell size level

minps

numeric(38,8)

Minimum pixel size

maxps

numeric(38,8)

Maximum pixel size

category

integer

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

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

integer

Error or warning code that uniquely identifies the message

NOT NULL

msgsrc

varchar(100)

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

msgtext

varchar(250)

The text description of the message

msgelapsed

numeric(38,8)

The elapsed time for processes associated with the message to complete

msgtype

integer

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

rasterid

integer

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

integer

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

blendwidth

integer

The width of pixel blending along the seamline

blendtype

integer

The type of pixel blending: 1 = Both (Pixel blending happens on both sides of the seamline.), 2 = Inside (Pixel blending is towards the center of the image from the seamline.), 3 = Outside (Pixel blending is outwards from the seamline.)

shape

st_geometry

geometry

The shape of the seamline

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

amd_<name>_sts

This table maintains a one-to-many relationship between each analyzed mosaic dataset item and the set of corresponding analysis results.

Field name

Field type

Description

Null?

objectid

integer

The row ID

NOT NULL

rasterid

integer

Corresponds to the ObjectID field in the amd_cat table

resultid

integer

The identifier of the analysis result message

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/21/2013