Module rok4_tools.tmsizer_utils.processors
A processor is defined by its process function, the output format and optionnaly by the input allowed formats.
The output format informs of type of item yielded by the process function
Used formats are :
NONE
: Yielded item is a boolean, just once, at the endFILELIKE
: Yielded item is a file-like object, just once, at the endTILE_INDEX
: Yielded item is a tuple (level, col, row)GETTILE_PARAMS
: Yielded item is a string, with WMTS GetTile query parameters (at least TILEMATRIXSET, TILEMATRIX, TILECOL and TILEROW)GEOMETRY
: Yielded item is a string, a geometry with format WKT, WKB or GeoJSONPOINT
: Yielded item is a tuple (x, y)COUNT
: Yielded item is an integer, just once, at the end
Sub-modules
rok4_tools.tmsizer_utils.processors.io
-
Provide processor to read or write data …
rok4_tools.tmsizer_utils.processors.map
-
Provide processor tranforming data. Output data is emitted as the input processor reading progresses …
rok4_tools.tmsizer_utils.processors.processor
-
Provide abstract class to define a unit processing data for tmsizer tool …
rok4_tools.tmsizer_utils.processors.reduce
-
Provide processor combining data. Input data is transformed and accumulated and the result is yielded juste once, at the end …