From b3586a7b1909ff27607ec682177e78bb8c50e5f6 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Wed, 1 Jun 2011 16:36:37 +0200 Subject: [PATCH] Improved description for new visible flag --- src/osmformat.proto | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/osmformat.proto b/src/osmformat.proto index 49c20a2..48a3575 100644 --- a/src/osmformat.proto +++ b/src/osmformat.proto @@ -127,14 +127,14 @@ message Info { optional int32 uid = 4; optional uint32 user_sid = 5; // String IDs - // the visible flag is used to store history information in .osm.pbf files. - // 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 with value "HistoricalInformation" - // when a reader is able to work with the visible flag, it MUST check it's existence using has_visible and - // assume TRUE it it is not set. A reader that does not support the visible flag, it MUST dismiss files with - // the required_feature "HistoricalInformation". + // 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. optional bool visible = 6; } @@ -146,12 +146,14 @@ message DenseInfo { repeated sint32 uid = 4 [packed = true]; // DELTA coded repeated sint32 user_sid = 5 [packed = true]; // String IDs for usernames. DELTA coded - // this field is the dense pendent to Info.visible - - // when a writer sets this flag, it MUST add a required_features with value "HistoricalInformation" - // when a reader is able to work with the visible flag, it MUST check it's existence using has_visible and - // assume TRUE it it is not set. A reader that does not support the visible flag, it MUST dismiss files with - // the required_feature "HistoricalInformation". + // 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. repeated bool visible = 6 [packed = true]; }