Scott Crosby
5f48470e21
Warn about files too big that they may cause failures.
2010-10-07 11:51:31 -05:00
Scott Crosby
6d760534c4
Allow bigger blocks before erroring out, and comment the bounds.
2010-09-16 13:42:05 -05:00
Scott Crosby
7be01e2217
Add in more error detection.
2010-09-15 11:41:26 -05:00
Scott Crosby
eb251c32ea
Whitespace and comment tweaks to protobuf.
2010-09-13 08:59:21 -05:00
Scott Crosby
a1b2112264
Document more of the API for BinaryParser.
2010-09-08 07:48:54 -05:00
Scott Crosby
e60be5b100
Strip off all non-osmosis metadata.
...
Until the metadata management in osm/osmosis is more thought out,
just match the existing schema.
2010-09-08 07:48:17 -05:00
Scott Crosby
8a7f784de2
Change API for invoking per-type primitivegroup serializers.
...
Before, when calling the per-type serializer, we passed it the
encapsulating primitiveblock, into which it would place a newly allocated
primitive group.
Instead, have it return the new group, and then we store in the primitive
block. This will help with re-using per-type serializers for serializing
into non-primitiveblocks.
2010-09-08 07:47:23 -05:00
Scott Crosby
fbfba3bdea
Don't sort the first 127 entries in the string table.
...
Gives a small .1% gain. In my design, I try to use the smallest integers as
much as possible so that deflate's entropy coder works more efficiently.
2010-09-02 14:22:41 -05:00
Scott Crosby
4f013ebbfc
Be a bit more careful with error handling and printing warning messages.
2010-09-02 07:42:30 -05:00
Scott Crosby
d5d93f9609
Clean up protocolbuffer definitions and document them.
2010-09-01 15:22:39 -05:00
Scott Crosby
382c2ce46a
Include new 'denseinfo' fields.
2010-09-01 15:19:35 -05:00
Scott Crosby
cd67ed44e7
Make the granularity state protected instead of private.
...
Subclasses need to be able to access it.
2010-09-01 15:19:35 -05:00
Scott Crosby
44c9870213
Remove unused imports.
2010-08-30 08:33:51 -05:00
Scott Crosby
f933cf162e
Revert "Excise references to now-obsolete Nodes"
...
This reverts commit a625c34e7d .
2010-08-30 08:30:13 -05:00
Scott Crosby
a625c34e7d
Excise references to now-obsolete Nodes
2010-08-25 11:41:34 -05:00
Scott Crosby
3c4e232984
Support new-format dense nodes that can contain keys and values.
...
To do this, I need to reserve string id #0 as a delimiter and cannot
generate it anymore.
Forward-compatible format change, in that old files cannot contain
new-format dense nodes, thus the delimiter bug is a non-issue.
2010-08-25 11:40:11 -05:00
Scott Crosby
8f0c4a8bc2
Protobufs and common Java code for binary format.
2010-08-25 11:40:06 -05:00
Scott Crosby
efe47008e3
XX
2010-08-08 23:54:23 -05:00