Skip to content

RasterTypeFactory API

Amit Jain edited this page Mar 25, 2017 · 1 revision

The Raster Type factory is a collection of all the related raster types definitions. The raster type framework extracts information about the raster type from the factory. The python based raster type factory design is as follows:

The class name of the factory must be RasterTypeFactory. This class must contain atleast one method called getRasterTypesInfo, which returns a list of dictionaries of raster type definitions.

.getRasterTypesInfo()

This method provides information on the raster type definitions supported within this python module. This method must be defined in order for the class to be recognized as a valid RasterTypeFactory.

Arguments

None

Returns

A list of dictionary objects wherein each dictionary contains the definition of a single raster type.