public class AccessGridWriter extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
HEADER_SIZE
The offset to get to the data section of the access grid file
|
static org.slf4j.Logger |
LOG |
static int |
ORIGIN_VERSION
The version of the origins we consume
|
static int |
VERSION
The version of the access grids we produce
|
| Constructor and Description |
|---|
AccessGridWriter(int zoom,
int west,
int north,
int width,
int height,
int nValuesPerPixel)
Create a new in-memory access grid writer for a width x height x nValuesPerPixel array.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
void |
writePixel(int x,
int y,
int[] pixelValues) |
public static final org.slf4j.Logger LOG
public static final int VERSION
public static final int ORIGIN_VERSION
public static final long HEADER_SIZE
public AccessGridWriter(int zoom,
int west,
int north,
int width,
int height,
int nValuesPerPixel)
throws IOException
IOExceptionpublic void writePixel(int x,
int y,
int[] pixelValues)
throws IOException
IOExceptionpublic byte[] getBytes()
Copyright © 2019. All rights reserved.