Improved description for new visible flag

This commit is contained in:
Jochen Topf 2011-06-01 16:36:37 +02:00
parent c604c66beb
commit b3586a7b19
1 changed files with 16 additions and 14 deletions

View File

@ -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];
}