From 0618651553144b87727d6ae6062ac1a8ad8b8a4e Mon Sep 17 00:00:00 2001 From: Scott Crosby Date: Tue, 14 Dec 2010 10:03:05 -0600 Subject: [PATCH] Make a duplicate class OSMHeaderBlock that contains the same header data. Deprecate the old HeaderBlock. --- src/osmformat.proto | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/osmformat.proto b/src/osmformat.proto index 73f6472..b50dc18 100644 --- a/src/osmformat.proto +++ b/src/osmformat.proto @@ -35,8 +35,19 @@ coding when representing nodes and relations. ////////////////////////////////////////////////////////////////////////// /* Contains the file header. */ - +// DEPRECIATED CLASS NAME. message HeaderBlock { + optional HeaderBBox bbox = 1 [deprecate=true]; + /* Additional tags to aid in parsing this dataset */ + repeated string required_features = 4 [deprecate=true]; + repeated string optional_features = 5 [deprecate=true]; + + optional string writingprogram = 16 [deprecate=true]; + optional string source = 17 [deprecate=true]; // From the bbox field. +} + +// Duplicate the above definition under a new class name. +message OSMHeaderBlock { optional HeaderBBox bbox = 1; /* Additional tags to aid in parsing this dataset */ repeated string required_features = 4;