Package org.openstreetmap.osmosis.pgsnapshot.common

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


   * @param storeType
   *            The type of storage to use for holding node locations.
   */
  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 {
View Full Code Here


  /**
   * Tests the in-memory implementation.
   */
  @Test
  public void testInMemory() {
    testStoreImplementation(new InMemoryNodeLocationStore());
  }
View Full Code Here

TOP

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

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.