Package org.openstreetmap.josm.io
Class OsmPbfReader.PrimitiveBlockRecord
- java.lang.Object
-
- org.openstreetmap.josm.io.OsmPbfReader.PrimitiveBlockRecord
-
- Enclosing class:
- OsmPbfReader
private static final class OsmPbfReader.PrimitiveBlockRecord extends java.lang.Object
A record class for passing PrimitiveBlock information to the PrimitiveGroup parser
-
-
Field Summary
Fields Modifier and Type Field Description private int
dateGranularity
private int
granularity
private long
latOffset
private long
lonOffset
private java.lang.String[]
stringTable
-
Constructor Summary
Constructors Constructor Description PrimitiveBlockRecord(java.lang.String[] stringTable, int granularity, long latOffset, long lonOffset, int dateGranularity)
Create a new record
-
-
-
Field Detail
-
stringTable
private final java.lang.String[] stringTable
-
granularity
private final int granularity
-
latOffset
private final long latOffset
-
lonOffset
private final long lonOffset
-
dateGranularity
private final int dateGranularity
-
-
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 coordinateslatOffset
- offset value between the output coordinates and the granularity grid in units of nanodegreeslonOffset
- offset value between the output coordinates and the granularity grid in units of nanodegreesdateGranularity
- Granularity of dates, normally represented in units of milliseconds since the 1970 epoch
-
-