Package org.openstreetmap.osmosis.pgsnapshot.common

Examples of org.openstreetmap.osmosis.pgsnapshot.common.PersistentNodeLocationStore


   */
  public WayGeometryBuilder(NodeLocationStoreType storeType) {
    if (NodeLocationStoreType.InMemory.equals(storeType)) {
      locationStore = new InMemoryNodeLocationStore();
    } else if (NodeLocationStoreType.TempFile.equals(storeType)) {
      locationStore = new PersistentNodeLocationStore();
    } else if (NodeLocationStoreType.CompactTempFile.equals(storeType)) {
      locationStore = new CompactPersistentNodeLocationStore();
    } else {
      throw new OsmosisRuntimeException("The store type " + storeType + " is not recognized.");
    }
View Full Code Here


  /**
   * Tests the temporary file implementation.
   */
  @Test
  public void testTempFile() {
    testStoreImplementation(new PersistentNodeLocationStore());
  }
View Full Code Here

TOP

Related Classes of org.openstreetmap.osmosis.pgsnapshot.common.PersistentNodeLocationStore

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.