Package org.openstreetmap.osmosis.core.store

Examples of org.openstreetmap.osmosis.core.store.IntegerLongIndexElement


      maskedMaximum = mask & maximumTile;
     
      // Write the element to the current index if the index tile
      // granularity allows the way to fit within a single tile value.
      if ((maskedMinimum) == (maskedMaximum)) {
        indexes.get(i).write(new IntegerLongIndexElement(maskedMinimum, wayId));
        // Stop once one index has received the way.
        break;
      }
    }
  }
View Full Code Here


      new LongLongIndexElement(nodeId, objectOffset)
    );
   
    // Write the node id to an index keyed by tile.
    nodeTileIndexWriter.write(
      new IntegerLongIndexElement((int) tileCalculator.calculateTile(node.getLatitude(), node.getLongitude()),
      nodeId)
    );
  }
View Full Code Here

TOP

Related Classes of org.openstreetmap.osmosis.core.store.IntegerLongIndexElement

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.