Raster description structure used by the raster manager. More...
#include "rf_types.h"
Data Fields | |
const char * | name |
Non-empty zero-terminated UTF-8 name of the raster. | |
const char * | location |
Non-empty zero-terminated UTF-8 location of the raster. | |
const char * | datatype |
Non-empty zero-terminated UTF-8 data format of the raster. | |
const char * | metadata |
Optional zero-terminated UTF-8 metadata string. | |
Raster description structure used by the raster manager.
The name, location, and data format are non-empty zero-terminated UTF-8 strings. They are not interpreted by the raster manager, except that equality comparisons in all three imply the same raster, and that location comparisons can be used for decisions about proximity. The RIP's raster back-end and the final consumer of the rasters (the digital back-end) define the contents and contract of these strings. The metadata is passed through from RIP's raster back-end to all consumers of the raster object, the RIP farm does not interpret or modify it in any way. GG recommend using a stringified form of a structured data format (e.g. JSON) for the metadata.