Package org.openstreetmap.josm.io
Class OsmPbfReader.PrimitiveBlockRecord
java.lang.Object
org.openstreetmap.josm.io.OsmPbfReader.PrimitiveBlockRecord
- Enclosing class:
- OsmPbfReader
A record class for passing PrimitiveBlock information to the PrimitiveGroup parser
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final intprivate final longprivate final longprivate final String[] -
Constructor Summary
ConstructorsConstructorDescriptionPrimitiveBlockRecord(String[] stringTable, int granularity, long latOffset, long lonOffset, int dateGranularity) Create a new record -
Method Summary
-
Field Details
-
stringTable
-
granularity
-
latOffset
-
lonOffset
-
dateGranularity
-
-
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 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
-