Modifier and Type | Field and Description |
---|---|
static int |
FLAG_HAS_BOUNDS |
static int |
FLAG_HAS_METADATA |
static byte[] |
MAGIC |
Constructor and Description |
---|
FileHeader(int version,
Map<String,String> tags,
boolean hasMetadata,
OsmBounds bounds) |
Modifier and Type | Method and Description |
---|---|
String |
get(String key) |
OsmBounds |
getBounds() |
Map<String,String> |
getTags() |
int |
getVersion() |
boolean |
hasBounds() |
boolean |
hasMetadata() |
boolean |
hasTag(String key) |
void |
setBounds(OsmBounds bounds) |
void |
write(CompactWriter writer) |
public static final byte[] MAGIC
public static final int FLAG_HAS_METADATA
public static final int FLAG_HAS_BOUNDS
public int getVersion()
public boolean hasTag(String key)
public boolean hasMetadata()
public boolean hasBounds()
public OsmBounds getBounds()
public void setBounds(OsmBounds bounds)
public void write(CompactWriter writer) throws IOException
write
in interface Blockable
IOException