output.write(FileBlock.newInstance("OSMData", b2.build().toByteString(),null));
}
BuildTestFile(String name, String compress) throws IOException {
output = new BlockOutputStream(new FileOutputStream(name));
output.setCompress(compress);
HeaderBlock.Builder b = HeaderBlock.newBuilder();
b.addRequiredFeatures("OsmSchema-V0.6").addRequiredFeatures("DenseNodes").setSource("QuickBrownFox");
output.write(FileBlock.newInstance("OSMHeader",b.build().toByteString(),null));
}