class GeobufReader extends java.lang.Object
Read a Layer from a Geobuf encoded protocol buffer.
| Type | Name and description |
|---|---|
private GeobufFeatureCollection |
geobufFeatureCollectionThe Geobuf FeatureCollection decoder |
| Constructor and description |
|---|
GeobufReader
(Map options)Create a new GeobufReader |
GeobufReader
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Layer |
read(InputStream input)Read a GeoScript Layer from an InputStream
|
|
Layer |
read(File file)Read a GeoScript Layer from a File
|
|
Layer |
read(java.lang.String str)Read a GeoScript Layer from a String
|
|
Layer |
read([B bytes)Read a GeoScript Layer from 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 GeobufReader
options - The optional named parameters
Read a GeoScript Layer from an InputStream
input - An InputStreamRead a GeoScript Layer from a File
file - A FileRead a GeoScript Layer from a String
str - A StringGroovy Documentation