From a879cdef06d372a777eb1bbfaa7275808ff1ccba Mon Sep 17 00:00:00 2001 From: Scott Crosby Date: Sat, 16 Oct 2010 22:05:17 -0500 Subject: [PATCH] Put the protobufs into a package. Suggestion of ChristianVetter --- src/fileformat.proto | 2 ++ src/osmformat.proto | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fileformat.proto b/src/fileformat.proto index 73e7d79..7c1076d 100644 --- a/src/fileformat.proto +++ b/src/fileformat.proto @@ -1,4 +1,6 @@ option java_package = "crosby.binary"; +package OSMPBF; + //protoc --java_out=../.. fileformat.proto diff --git a/src/osmformat.proto b/src/osmformat.proto index 7a97ecf..6373349 100644 --- a/src/osmformat.proto +++ b/src/osmformat.proto @@ -1,4 +1,5 @@ option java_package = "crosby.binary"; +package OSMPBF; /* OSM Binary file format @@ -106,7 +107,7 @@ message Info { optional int64 timestamp = 2; optional int64 changeset = 3; optional int32 uid = 4; - optional int32 user_sid = 5; // String IDs + optional uint32 user_sid = 5; // String IDs } /** Optional metadata that may be included into each primitive. Special dense format used in DenseNodes. */