Class Grid


  • public class Grid
    extends Object
    Build a grid. The resolution, coordinate reference system, extent and cell geometry types can be defined by th users. Both cartographic and geographical grids are supported.
    Author:
    julien Gaffuri
    • Field Detail

      • logger

        public static org.apache.logging.log4j.Logger logger
    • Constructor Detail

      • Grid

        public Grid()
    • Method Detail

      • getResolution

        public int getResolution()
      • setResolution

        public Grid setResolution​(int resolution)
      • getEPSGCode

        public String getEPSGCode()
      • setEPSGCode

        public Grid setEPSGCode​(String epsgCode)
      • getGeometriesToCover

        public Collection<org.locationtech.jts.geom.Geometry> getGeometriesToCover()
      • setGeometryToCover

        public Grid setGeometryToCover​(org.locationtech.jts.geom.Geometry geometryToCover)
      • setGeometryToCover

        public Grid setGeometryToCover​(org.locationtech.jts.geom.Envelope envelopeToCover)
      • addGeometryToCover

        public Grid addGeometryToCover​(org.locationtech.jts.geom.Geometry geometryToCover)
      • addGeometryToCover

        public Grid addGeometryToCover​(Collection<org.locationtech.jts.geom.Geometry> gs)
      • getToleranceDistance

        public double getToleranceDistance()
      • setToleranceDistance

        public Grid setToleranceDistance​(double toleranceDistance)