Class SpatialToolboxUtils

java.lang.Object
org.hortonmachine.gui.spatialtoolbox.core.SpatialToolboxUtils

public class SpatialToolboxUtils
extends java.lang.Object
Utilities for the omsbox plugin.
Author:
Andrea Antonello (www.hydrologis.com)
  • Constructor Summary

    Constructors 
    Constructor Description
    SpatialToolboxUtils()  
  • Method Summary

    Modifier and Type Method Description
    static boolean isFieldExceptional​(FieldData inputData)  
    static boolean isGrass​(java.lang.String path)
    Checks if the given path is a GRASS raster file.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • isFieldExceptional

      public static boolean isFieldExceptional​(FieldData inputData)
    • isGrass

      public static boolean isGrass​(java.lang.String path)
      Checks if the given path is a GRASS raster file.

      Note that there is no check on the existence of the file.

      Parameters:
      path - the path to check.
      Returns:
      true if the file is a grass raster.