Package org.openstreetmap.osmosis.core.change.v0_6.impl

Examples of org.openstreetmap.osmosis.core.change.v0_6.impl.TimestampSetter.updateTimestamp()


          // The from entity doesn't exist on the to source therefore
          // has been deleted. We don't know when the entity was
          // deleted so set the delete time to the current time.
          changeSink.process(
              new ChangeContainer(
                  timestampSetter.updateTimestamp(fromEntityContainer),
                  ChangeAction.Delete));
          fromEntityContainer = null;
        } else if (comparisonResult > 0) {
          // The to entity doesn't exist on the from source therefore has
          // been created.
View Full Code Here


        // The from entity doesn't exist on the to source therefore
        // has been deleted. We don't know when the entity was
        // deleted so set the delete time to the current time.
        changeSink.process(
            new ChangeContainer(
                timestampSetter.updateTimestamp(fromEntityContainer),
                ChangeAction.Delete));
        fromEntityContainer = null;
      }
      // Any remaining "to" entities are creates.
      while (toEntityContainer != null || toPostbox.hasNext()) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.