class Mvt extends java.lang.Object
A MapNik Vector Tile Reader and Writer
Type | Name and description |
---|---|
static byte[] |
MVT_SIGNATURE The MVT File signature |
Constructor and description |
---|
Mvt
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static Layer |
read(java.net.URL url) Read a Layer from a MVT encoded URL |
|
static Layer |
read(java.io.File file) Read a Layer from a MVT encoded File |
|
static Layer |
read(java.io.InputStream inputStream) Read a Layer from a MVT encoded InputStream |
|
static void |
write(Layer layer, java.io.File file) Write the Layer to File |
|
static void |
write(Layer layer, java.io.OutputStream out) Write the Layer to an OutputStream |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
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