Get desktop application:
View/edit binary Protocol Buffers messages
When compressed, the uncompressed size
No compression
Possible compressed versions of the data.
For LZMA compressed data (optional)
Formerly used for bzip2 compressed data. Deprecated in 2010.
Don't reuse this tag number.
For LZ4 compressed data (optional)
For ZSTD compressed data (optional)
This is kept for backwards compatibility but not used anywhere.
Used in:
* Optional metadata that may be included into each primitive. Special dense format used in DenseNodes.
Used in:
DELTA coded
DELTA coded
DELTA coded
String IDs for usernames. DELTA coded
The visible flag is used to store history information. It indicates that the current object version has been created by a delete operation on the OSM API. When a writer sets this flag, it MUST add a required_features tag with value "HistoricalInformation" to the HeaderBlock. If this flag is not available for some object it MUST be assumed to be true if the file has the required_features tag "HistoricalInformation" set.
Used in:
DELTA coded
DELTA coded
DELTA coded
Special packing of keys and vals into one array. May be empty if all nodes in this block are tagless.
Used in:
Additional tags to aid in parsing this dataset
From the bbox field.
Replication timestamp, expressed in seconds since the epoch, otherwise the same value as in the "timestamp=..." field in the state.txt file used by Osmosis.
Replication sequence number (sequenceNumber in state.txt).
Replication base URL (from Osmosis' configuration.txt file).
Optional metadata that may be included into each primitive.
Used in:
, ,String IDs
The visible flag is used to store history information. It indicates that the current object version has been created by a delete operation on the OSM API. When a writer sets this flag, it MUST add a required_features tag with value "HistoricalInformation" to the HeaderBlock. If this flag is not available for some object it MUST be assumed to be true if the file has the required_features tag "HistoricalInformation" set.
Used in:
Parallel arrays.
String IDs.
String IDs.
May be omitted in omitmeta
[PLANETILER] modified from original: repeated PrimitiveGroup primitivegroup = 2; so that we can lazily deserialize each primitive group to reduce memory pressure when reading an input file
Granularity, units of nanodegrees, used to store coordinates in this block.
Offset value between the output coordinates and the granularity grid in units of nanodegrees.
Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
Group of OSMPrimitives. All primitives in a group must be the same type.
Used in:
Parallel arrays.
Parallel arrays
This should have been defined as uint32 for consistency, but it is now too late to change it
DELTA encoded
Used in:
* String table, contains the common strings in each block. Note that we reserve index '0' as a delimiter, so the entry at that index in the table is ALWAYS blank and unused.
Used in:
Used in:
Parallel arrays.
DELTA coded
The following two fields are optional. They are only used in a special format where node locations are also added to the ways. This makes the files larger, but allows creating way geometries directly. If this is used, you MUST set the optional_features tag "LocationsOnWays" and the number of values in refs, lat, and lon MUST be the same.
DELTA coded, optional
DELTA coded, optional