SyncMode
SyncMode is a Property of a storage holder, the item with the StorageName, that says how much GeoDMS adds from the structure of a storage to the configured items while it builds the tree: which tables of the storage become domain units and which of their columns become attributes. It does not decide which data is read. In every mode an item is read only when it is requested (see StorageManager).
An item without the property takes the value of its nearest parent that has one. The value is not case sensitive, and it is one of these three:
- AllTables: every table of the storage becomes a domain unit, also a table that is not configured, and every column of a table becomes an attribute of it. This is the default. It is meant for a database, a Geopackage or another storage with several tables, to see all of it at once. An attribute that a calculation uses is better configured explicitly, with a values unit and a domain unit that say what it is.
- AttrOnly: only the configured tables are taken from the storage, each with all its columns as attributes, also the columns that are not configured.
- None: nothing is added. Only the configured items exist, so the domain unit and every attribute that is read have to be configured. GeoDMS does not open the storage while it builds the tree, so a configuration loads while a file does not exist yet, for instance one that an earlier step of the run writes (see Exec_ec).
A value that is not one of these three, such as Attr, counts as AllTables.
grid data
For Grid data read with Gdal.grid, the tiff StorageManager (see GeoTiff) or the bmp StorageManager, SyncMode None also skips what a Grid Domain that is the storage holder takes from its file while the tree is built:
- The grid domain gets no georeference from the file, also when its DialogData names a coordinate unit. It does get the number of rows and columns of the file, when its range is read. A grid domain that needs a georeference under SyncMode None gets it from the configuration instead (see geographic grid domain).
- The grid domain gets no GridData attribute; configure one under it.
An attribute that reads a raster itself, with a StorageName of its own, is placed on the raster through the georeferences of its domain and of the file, in every mode (see Projection). Under SyncMode None its file is opened when the attribute is read, and the read stops with the same errors as in the other modes: a rotated georeference in a GeoTIFF read with the tiff StorageManager, a world file that the read needs and that does not exist, and DialogData that names no item. Over a grid domain that got no georeference because of SyncMode None, such an attribute reads the raster cell for cell, by row and column, as long as the attribute itself names no coordinate unit with DialogData.