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