class GeobufWriter extends java.lang.Object
Write a Layer to a Geobuf encoded protocol buffer.
Type | Name and description |
---|---|
private GeobufFeatureCollection |
geobufFeatureCollection The Geobuf FeatureCollection decoder |
Constructor and description |
---|
GeobufWriter
(Map options) Create a new GeobufWriter |
GeobufWriter
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
write(Layer layer, OutputStream out) Write the Layer to the OutputStream
|
|
void |
write(Layer layer, File file) Write the Layer to the File
|
|
java.lang.String |
write(Layer layer) Write the Layer to a String
|
|
[B |
writeBytes(Layer layer) Write the Layer to an array of bytes
|
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 Geobuf FeatureCollection decoder
Create a new GeobufWriter
options
- The optional named parameters
Write the Layer to the OutputStream
layer
- The Layerout
- The OutputStreamWrite the Layer to the File
layer
- The Layerfile
- The FileWrite the Layer to a String
layer
- The LayerGroovy Documentation