Class JGrassRasterMapWriter


  • public class JGrassRasterMapWriter
    extends Object

    Facility to write JGrass maps

    Since:
    1.1.0
    Author:
    Andrea Antonello - www.hydrologis.com
    • Constructor Detail

      • JGrassRasterMapWriter

        public JGrassRasterMapWriter​(Window writeWindow,
                                     String mapName,
                                     String mapsetName,
                                     String locationPath,
                                     Object novalue,
                                     String mapType,
                                     IHMProgressMonitor monitor)

        Creates a jgrass raster map writer with some default values

        NOTE: This doesn't need a working udig environment to run. It just uses paths. Thought also for batch usage.

        Parameters:
        writeWindow - the region to read
        mapName - the name of the map
        mapsetName - the name of the mapset
        locationPath - the path to the location
        _novalue - the value to write as novalue
        mapType - the raster map type to read (ex. GrassLegacyConstans.GRASSBINARYRASTERMAP)
        monitor - a monitor object (if no monitro present, NullProgressMonitor can be used)
      • JGrassRasterMapWriter

        public JGrassRasterMapWriter​(Window writeWindow,
                                     String mapPath,
                                     Object novalue,
                                     String mapType,
                                     IHMProgressMonitor monitor)

        Creates a jgrass raster map writer with some default values

        NOTE: This doesn't need a working udig environment to run. It just uses paths. Thought also for batch usage.

        Parameters:
        writeWindow - the region to read
        mapName - the name of the map
        mapsetName - the name of the mapset
        locationPath - the path to the location
        _novalue - the value to write as novalue
        mapType - the raster map type to read (ex. GrassLegacyConstans.GRASSBINARYRASTERMAP)
        monitor - a monitor object (if no monitro present, NullProgressMonitor can be used)
      • JGrassRasterMapWriter

        public JGrassRasterMapWriter​(Window writeWindow,
                                     String mapName,
                                     String mapsetName,
                                     String locationPath,
                                     Object novalue,
                                     IHMProgressMonitor monitor)

        Creates a jgrass raster map writer with some default values

        NOTE: This doesn't need a working udig environment to run. It just uses paths. Thought also for batch usage.

        Parameters:
        writeWindow - the region to read
        mapName - the name of the map
        mapsetName - the name of the mapset
        locationPath - the path to the location
        _novalue - the value to write as novalue
        monitor - a monitor object (if no monitro present, NullProgressMonitor can be used)
      • JGrassRasterMapWriter

        public JGrassRasterMapWriter​(Window writeWindow,
                                     String mapName,
                                     String mapsetName,
                                     String locationPath,
                                     String mapType,
                                     IHMProgressMonitor monitor)

        Creates a jgrass raster map writer with some default values

        NOTE: This doesn't need a working udig environment to run. It just uses paths. Thought also for batch usage.

        Parameters:
        writeWindow - the region to read
        mapName - the name of the map
        mapsetName - the name of the mapset
        locationPath - the path to the location
        mapType - the raster map type to read (ex. GrassLegacyConstans.GRASSBINARYRASTERMAP)
        monitor - a monitor object (if no monitro present, NullProgressMonitor can be used)
      • JGrassRasterMapWriter

        public JGrassRasterMapWriter​(Window writeWindow,
                                     String mapName,
                                     String mapsetName,
                                     String locationPath,
                                     IHMProgressMonitor monitor)

        Creates a jgrass raster map reader with some default values (data are read as double values, novalue is default GrassLegacyConstans.defaultNovalue).

        NOTE: This doesn't need a working udig environment to run. It just uses paths. Thought also for batch usage.

        Parameters:
        writeWindow - the region to read
        mapName - the name of the map
        mapsetName - the name of the mapset
        locationPath - the path to the location
        monitor - a monitor object (if no monitro present, NullProgressMonitor can be used)