public class PbfUtil extends Object
Constructor and Description |
---|
PbfUtil() |
Modifier and Type | Method and Description |
---|---|
static double |
bboxLongToDegrees(long value) |
static OsmBounds |
bounds(Osmformat.HeaderBBox bbox) |
static Osmformat.HeaderBlock |
createHeader(String writingProgram,
boolean requiresDense,
OsmBounds bound) |
static BlockData |
getBlockData(Fileformat.Blob blob) |
static Fileformat.Blob |
parseBlock(DataInput data,
int lengthData) |
static BlobHeader |
parseHeader(DataInput input) |
static BlobHeader |
parseHeader(DataInput input,
int lengthHeader) |
public static Osmformat.HeaderBlock createHeader(String writingProgram, boolean requiresDense, OsmBounds bound)
public static double bboxLongToDegrees(long value)
public static BlobHeader parseHeader(DataInput input) throws IOException
IOException
public static BlobHeader parseHeader(DataInput input, int lengthHeader) throws IOException
IOException
public static Fileformat.Blob parseBlock(DataInput data, int lengthData) throws IOException
IOException
public static BlockData getBlockData(Fileformat.Blob blob) throws IOException
IOException
public static OsmBounds bounds(Osmformat.HeaderBBox bbox)