From e60be5b10058430843149a94d38f9bfef9637db6 Mon Sep 17 00:00:00 2001 From: Scott Crosby Date: Wed, 8 Sep 2010 07:48:17 -0500 Subject: [PATCH] Strip off all non-osmosis metadata. Until the metadata management in osm/osmosis is more thought out, just match the existing schema. --- src/osmformat.proto | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/osmformat.proto b/src/osmformat.proto index b0cf577..aa7b6db 100644 --- a/src/osmformat.proto +++ b/src/osmformat.proto @@ -36,20 +36,13 @@ coding when representing nodes and relations. /* Contains the file header. */ message HeaderBlock { - required HeaderBBox bbox = 1; - - // Author, name, and version number of the dataset in this file. (to permit - // patches/updates to be incrementally applied) - optional string datasetauthor = 16; // TODO: WANT THIS? - optional string datasetname = 17; // TODO: WANT THIS? - optional int64 version = 18; // TODO: WANT THIS? - - // Program generating this data - optional string writingprogram = 19; // TODO: WANT THIS? - + optional HeaderBBox bbox = 1; /* Additional tags to aid in parsing this dataset */ repeated string required_features = 4; repeated string optional_features = 5; + + optional string writingprogram = 16; + optional string source = 17; // From the bbox field. }