On Fri, May 06, 2011 at 12:16:48PM +0200, Christian Vetter wrote: > On Fri, May 6, 2011 at 10:25 AM, Oliver Tonnhofer <[email protected]> wrote: > > Isn't `repeated` like `optional`, since it can have zero occurrences? > > I haven't tested that, though. > > Exactly. You should be able to add repeated fields. Just be sure not > to reuse any IDs.
Ok, that makes sense. That leaves the problem with the wrong default. You can't set a default on a repeated field (I tried and the protobuf compiler complained). But the default for the visible flag should be "true" to be backwards compatible. Jochen -- Jochen Topf [email protected] http://www.remote.org/jochen/ +49-721-388298 _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

