Package org.locationtech.geogig.geotools.plumbing

Examples of org.locationtech.geogig.geotools.plumbing.ExportDiffOp


        final SimpleFeatureStore featureStore = (SimpleFeatureStore) featureSource;

        Function<Feature, Optional<Feature>> function = getTransformingFunction(dataStore
                .getSchema());

        ExportDiffOp op = cli.getGeogig().command(ExportDiffOp.class).setFeatureStore(featureStore)
                .setPath(path).setOldRef(commitOld).setNewRef(commitNew).setUseOld(old)
                .setTransactional(false).setFeatureTypeConversionFunction(function);
        try {
            op.setProgressListener(cli.getProgressListener()).call();
        } catch (IllegalArgumentException iae) {
            throw new org.locationtech.geogig.cli.InvalidParameterException(iae.getMessage(), iae);
        } catch (GeoToolsOpException e) {
            file.delete();
            switch (e.statusCode) {
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.geotools.plumbing.ExportDiffOp

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.