On Tue, Dec 21, 2010 at 11:41:05AM -0600, Scott Crosby wrote:
> On Tue, Dec 21, 2010 at 10:28 AM, Jochen Topf <[email protected]> wrote:
> > On Tue, Dec 21, 2010 at 10:08:41AM -0600, Scott Crosby wrote:
> >> On Mon, Dec 20, 2010 at 6:01 PM, Scott Crosby <[email protected]> wrote:
> >> > Yes. That is an osmosis bug. That header block is required.
> >>
> >> I would like to clarify this slightly. There must be an OSMHeader
> >> block before the first OSMData block, however, the OSMHeader block
> >> does not have to be the first block in the file. Also, parsers should
> >> ignore fileblocks types that they do not understand.
> >
> > Hm. I see I have some more coding to do then... :-)
> 
> Sorry. I could have been more explicit. This is intended for forward
> compatibility; anyone can define and add their own
> application-specific block types to the file. It should be fairly easy
> to skip those blocks; have a front-end filter that skips any block
> thats not 'OSMHeader' or 'OSMData'. Then the first unskipped block
> must contain an OSMHeader block.

Yes, I understood. Makes sense to me. Its just that in the code I have (which I
mostly stole from MoNav (Thanks!), the change will not be trivial but merely
"easy" to do. :-)

Jochen
-- 
Jochen Topf  [email protected]  http://www.remote.org/jochen/  +49-721-388298


_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to