Package it.geosolutions.geobatch.geotiff.overview

Examples of it.geosolutions.geobatch.geotiff.overview.GeotiffOverviewsEmbedderConfiguration


        // ========================================
        // Embed overviews
        // ========================================
        LOGGER.info("Embedding overviews for " + NameUtils.buildLayerUpdateName(layername, year, month, day) + " in " + rasterFile);

        GeotiffOverviewsEmbedderConfiguration ovCfg = conf.getOverviewsEmbedderConfiguration();

        try {
            GeoTiff.embedOverviews(ovCfg, rasterFile, getTempDir());
        } catch (Exception e) {
            throw new ActionException(this, "Exception while embedding overviews in " + rasterFile.getName(), e);
View Full Code Here


        rc.setExecutable("gdal_rasterize");
        rc.setFreeMarkerTemplate("freemarkertemplate.xml");
        rc.setTaskExecutorXslFileName("taskexec.xsl");
        cfg.setRasterizeConfig(rc);

        GeotiffOverviewsEmbedderConfiguration goec = new GeotiffOverviewsEmbedderConfiguration("id","name","descr");
        goec.setNumSteps(42);
        goec.setTileH(512);
        goec.setTileW(512);
        cfg.setOverviewsEmbedderConfiguration(goec);

        return cfg;
    }
View Full Code Here

        GeotiffRetilerConfiguration grc = new GeotiffRetilerConfiguration("grcId", "grcN", "grcD");
        grc.setTileH(256);
        grc.setTileW(256);
        cfg.setRetilerConfiguration(grc);

        GeotiffOverviewsEmbedderConfiguration goec = new GeotiffOverviewsEmbedderConfiguration("id","name","descr");
        goec.setNumSteps(42);
        goec.setTileH(512);
        goec.setTileW(512);
        cfg.setOverviewsEmbedderConfiguration(goec);

        GeoServerBasicConfig gsac = new GeoServerBasicConfig("gsacId", "gsacName", "gsacDesc");
        gsac.setGeoserverURL("http://it.is/here");
        gsac.setGeoserverUID("it's");
View Full Code Here

TOP

Related Classes of it.geosolutions.geobatch.geotiff.overview.GeotiffOverviewsEmbedderConfiguration

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.