[OSM-dev] Binary Format, Performance, pbf2osm
Stefan de Konink
stefan at konink.de
Sun Oct 17 12:14:37 BST 2010
On Sun, 17 Oct 2010, Stefan de Konink wrote:
> On Sun, 17 Oct 2010, Frederik Ramm wrote:
>
>> The *** case couldn't be tested: "Error unpacking PrimitiveBlock message".
>> The offending file is at
>> http://www.remote.org/frederik/tmp/by-none.osm.pbf if someone wants to
>> check what's wrong with it.
>
> Gonna fix that :)
message 'PrimitiveBlock': missing required field 'stringtable'
Error unpacking PrimitiveBlock message
(gdb) print *hmsg
$3 = {base = {descriptor = 0x406740, n_unknown_fields = 0,
unknown_fields = 0x0}, bbox = 0x0, n_required_features = 0,
required_features = 0x0, n_optional_features = 0, optional_features =
0x0,
writingprogram = 0x0, source = 0x0}
But lets look what is in the raw message:
(gdb) print bmsg.raw
$2 = {len = 56,
data = 0x60b550
"\n\032\b\276\210\360\350B\020\340\220\361\227g\030\236\226\305\344\370\002
\340\347\351\223\340\002\"\016OsmSchema-V0.6\"\nDenseNodes\201\n\002"}
Could it be an empty block?
Stefan
More information about the dev
mailing list