public class GeoJsonRecordWriter extends AbstractRecordWriter implements GeoJsonConstants
COGO_DESCRIPTION, COGO_FILE_EXTENSION, COGO_LINE_STRING, COGO_MEDIA_TYPE, COGO_MULTI_LINE_STRING, COGO_MULTI_POLYGON, COGO_POLYGON, COORDINATES, CRS, DESCRIPTION, EPSG, FEATURE, FEATURE_COLLECTION, FEATURES, FILE_EXTENSION, GEOMETRIES, GEOMETRY, GEOMETRY_COLLECTION, GEOMETRY_TYPE_NAMES, LINE_STRING, MEDIA_TYPE, MEDIA_TYPE_OLD, MULTI_LINE_STRING, MULTI_POINT, MULTI_POLYGON, NAME, OBJECT_TYPE_NAMES, POINT, POLYGON, PROPERTIES, TYPE, URN_OGC_DEF_CRS_EPSG| Constructor and Description |
|---|
GeoJsonRecordWriter(Writer out) |
GeoJsonRecordWriter(Writer out,
boolean cogo) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the underlying reader.
|
void |
coordinates(Point point) |
void |
coordinates(Polygon polygon) |
void |
flush() |
boolean |
isCogo() |
void |
write(Record object) |
protected int |
writeSrid(GeometryFactory geometryFactory) |
getRecordDefinition, isIndent, isWritable, isWriteNulls, setIndent, setProperty, setWriteNullsclose, close, close, openclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setPropertySoft, setPropertyWeakclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setPropertySoft, setPropertyWeakpublic GeoJsonRecordWriter(Writer out)
public GeoJsonRecordWriter(Writer out, boolean cogo)
public void close()
close in interface Writer<Record>close in interface AutoCloseableclose in class AbstractWriter<Record>public void coordinates(Point point)
public void coordinates(Polygon polygon)
public void flush()
public boolean isCogo()
protected int writeSrid(GeometryFactory geometryFactory)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.