Class OsmPbfReader.PrimitiveBlockRecord

java.lang.Object
org.openstreetmap.josm.io.OsmPbfReader.PrimitiveBlockRecord
Enclosing class:
OsmPbfReader

private static final class OsmPbfReader.PrimitiveBlockRecord extends Object
A record class for passing PrimitiveBlock information to the PrimitiveGroup parser
  • Field Details

  • Constructor Details

    • PrimitiveBlockRecord

      PrimitiveBlockRecord(String[] stringTable, int granularity, long latOffset, long lonOffset, int dateGranularity)
      Create a new record
      Parameters:
      stringTable - The string table (reminder: 0 index is empty, as it is used by DenseNode to separate node tags)
      granularity - units of nanodegrees, used to store coordinates
      latOffset - offset value between the output coordinates and the granularity grid in units of nanodegrees
      lonOffset - offset value between the output coordinates and the granularity grid in units of nanodegrees
      dateGranularity - Granularity of dates, normally represented in units of milliseconds since the 1970 epoch