Package org.locationtech.geogig.osm.internal

Examples of org.locationtech.geogig.osm.internal.CreateOSMChangesetOp


        checkParameter(refSpec.size() < 3, "Commit list is too long :" + refSpec);

        GeoGIG geogig = cli.getGeogig();

        CreateOSMChangesetOp op = geogig.command(CreateOSMChangesetOp.class);

        String oldVersion = resolveOldVersion();
        String newVersion = resolveNewVersion();

        op.setOldVersion(oldVersion).setNewVersion(newVersion).setId(id);

        Iterator<ChangeContainer> entries;
        entries = op.setProgressListener(cli.getProgressListener()).call();

        if (!entries.hasNext()) {
            cli.getConsole().println("No differences found");
            return;
        }
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.osm.internal.CreateOSMChangesetOp

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.