Open OSM pbf results in Protobuf exception
问题 Using OSMSharp I am having trouble to open a stream for a file (which I can provide on demand) The error occurs in PBFReader (line 104) using (var tmp = new LimitedStream(_stream, length)) { header = _runtimeTypeModel.Deserialize(tmp, null, _blockHeaderType) as BlobHeader; } and states: "ProtoBuf.ProtoException: 'Invalid field in source data: 0'" which might mean different things as I have read in this SO question. The file opens and is visualized with QGis so is not corrupt in my opinion.