2008/12/4 Stefan de Konink <[EMAIL PROTECTED]>: > Marcus Wolschon wrote: >> The structure is mutable, meaning you can add, modify and >> remove nodes, ways and attributes at will. > > How did you solve fragmentation?
Fragmentation occurs only in variable-length -records. I chose a fixed-length-record to avoid this issue. It allows for trivial reuse of empty spaces and speeds up seeking in the file. >> (All code required to do >> that is already part of LibOSM.) > > Could we make a C version of it too? Because I think embedded is J2ME... > but C is probably faster for other platforms. YOU can. The spec is easy to understand. You can also compile my code into native code and link it using gcj/gcc. > > > > Stefan > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/dev > _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

