Class OsmPbfReader.PrimitiveBlockRecord

    • Constructor Summary

      Constructors 
      Constructor Description
      PrimitiveBlockRecord​(java.lang.String[] stringTable, int granularity, long latOffset, long lonOffset, int dateGranularity)
      Create a new record
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrimitiveBlockRecord

        PrimitiveBlockRecord​(java.lang.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