Пример #1
0
    def check_resolution_with_current_region(self):
        """Check if the raster or voxel resolution is
        finer than the current resolution

        - Return "finer" in case the raster/voxel resolution is finer
          than the current region
        - Return "coarser" in case the raster/voxel resolution is coarser
          than the current region

        Vector maps have no resolution, since they store the coordinates
        directly.

        :return: "finer" or "coarser"
        """
        raise ImplementationError(
            "This method must be implemented in the subclasses")
Пример #2
0
 def set_cats_fmt(self, fmt, m1, a1, m2, a2):
     """Not implemented yet.
     void Rast_set_cats_fmt()
     """
     # TODO: add
     raise ImplementationError("set_cats_fmt() is not implemented yet.")