Warning, /education/marble/tools/osm-addresses/pbf/fileformat.proto is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2010 Scott A. Crosby. <scott@sacrosby.com>
0003 
0004     SPDX-License-Identifier: GPL-3.0-or-later
0005 */
0006 
0007 option optimize_for = LITE_RUNTIME;
0008 option java_package = "crosby.binary";
0009 package OSMPBF;
0010 
0011 //protoc --java_out=../.. fileformat.proto
0012 
0013 
0014 //
0015 //  STORAGE LAYER: Storing primitives.
0016 //
0017 
0018 message Blob {
0019   optional bytes raw = 1; // No compression
0020   optional int32 raw_size = 2; // When compressed, the uncompressed size
0021 
0022   // Possible compressed versions of the data.
0023   optional bytes zlib_data = 3;
0024 
0025   // PROPOSED feature for LZMA compressed data. SUPPORT IS NOT REQUIRED.
0026   optional bytes lzma_data = 4;
0027 
0028   // Formerly used for bzip2 compressed data. Depreciated in 2010.
0029   optional bytes OBSOLETE_bzip2_data = 5 [deprecated=true]; // Don't reuse this tag number.
0030 }
0031 
0032 /* A file contains an sequence of fileblock headers, each prefixed by
0033 their length in network byte order, followed by a data block
0034 containing the actual data. types staring with a "_" are reserved.
0035 */
0036 
0037 message BlobHeader {
0038   required string type = 1;
0039   optional bytes indexdata = 2;
0040   required int32 datasize = 3;
0041 }
0042 
0043