On Fri, May 06, 2011 at 10:46:26PM -0500, Scott Crosby wrote: > > - include .proto definitions in the file format? -> self describing; > > might be of interest of we ever break compatibility; or if you want to > > read PBF files that were extended by a writer and don't want to hunt > > down the definitions > > Not useful. Without knowing the semantics of the message, I don't see > any way to parse it. For instance, how would such a self-describing > parser know which fields were delta-coding? Or used the keysvals > encoding used in DenseNodes?
Also protobuf already supports some kind of introspection. I have never worked with it, because, as Scott says, it doesn't really give you enough information. But it is there. Jochen -- Jochen Topf [email protected] http://www.remote.org/jochen/ +49-721-388298 _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

