RasterTransform¶
- class caris.coverage.RasterTransform((object)arg1)¶
RasterTransform object.
- convertGeoToGrid((tuple)point_or_box, (int)level) → tuple¶
Convert world coordinates to grid coordinates.
Parameters: - point_or_box – The world point or box to convert.
- level – (optional) The resolution level at which to do the conversion.
Return type: Grid coordinates
- convertGridBox((int)source_level, (int)dest_level, (vector_int64_2)grid_box) → vector_int64_2¶
Convert grid box from one level to another.
Parameters: - source_level – The source level.
- dest_level – The level to convert to.
- grid_box – The grid box to convert.
Return type: Grid box
- convertGridPoint((int)source_level, (int)dest_level, (vector_int64)grid_point) → vector_int64¶
Convert grid point from one level to another.
Parameters: - source_level – The source level.
- dest_level – The level to convert to.
- grid_point – The grid point to convert.
Return type: Grid point
- convertGridToGeo((tuple)point_or_box, (int)level) → tuple¶
Convert grid coordinates to world coordinates.
Parameters: - point_or_box – The grid point or box to convert.
- level – (optional) The resolution level at which to do the conversion.
Return type: World coordinates
- expandGeo((tuple)box[, (int)level]) → tuple¶
Expand world box to align with grid coordinates.
Parameters: - box – The world box to expand.
- level – (optional) The resolution level at which to do the conversion.
Return type: World coordinates
- highest_level¶
highest resolution level
- matrix¶
Transform matrix of 6 doubles (tuple)
- pixel_type¶
Pixel type (PixelType)