Package chunmap.raster.grid

Examples of chunmap.raster.grid.Grid


    double biLiChi = map.getView().getScale();
    String directoryName = parameters + "_" + biLiChi;
    String path = createDirectory(directoryName).getPath();

    // create grid
    Grid grid = new Grid();
    grid.setParameters(parameters);
    grid.setScale(biLiChi);
    grid.setSubEnvelop(map.getView().getViewEnvelop());

    createAllTile(grid, path);

    return grid;
  }
View Full Code Here


    String pars = rightNow.getTimeInMillis() + "";

    Grid[] grids = new Grid[num];
    for (int i = 0; i < num; i++) {

      Grid grid = cut(scale, pars);
      grids[i] = grid;

      scale *= step;
    }
    layer.setGrids(grids);
View Full Code Here

    for (File dir : directoryList) {
      String path = dir.getPath();
      String dirName = dir.getName();

      double scale = getScale(dirName);
      Grid grid = new Grid();
      grid.setParameters(parameters);
      grid.setScale(scale);
      grid.setSubEnvelop(getEnvelop(0, 0, scale));

      setTile4Grid(grid, path);
      grid.setGridData(gridData);

      grids[i] = grid;
      i++;
    }
    layer.setGrids(grids);
View Full Code Here

TOP

Related Classes of chunmap.raster.grid.Grid

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.