A MapNik Vector Tile Reader and Writer
Type | Name and description |
---|---|
private static [B |
MVT_SIGNATURE The MVT File signature |
Constructor and description |
---|
Mvt
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static Layer |
read(URL url) Read a Layer from a MVT encoded URL
|
|
static Layer |
read(File file) Read a Layer from a MVT encoded File
|
|
static Layer |
read(InputStream inputStream) Read a Layer from a MVT encoded InputStream
|
|
static void |
write(Layer layer, File file) Write the Layer to File
|
|
static void |
write(Layer layer, OutputStream out) Write the Layer to an OutputStream
|
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The MVT File signature
Read a Layer from a MVT encoded URL
url
- the URLRead a Layer from a MVT encoded File
file
- The FileRead a Layer from a MVT encoded InputStream
inputStream
- The InputStreamWrite the Layer to File
layer
- The Layerfile
- The FileWrite the Layer to an OutputStream
layer
- The Layerout
- The OutputStreamGroovy Documentation