public final class GeoJsonWriter extends Object
| Constructor and Description |
|---|
GeoJsonWriter(File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeFeatures(Iterable<? extends SpatialFeature> features,
WriterHelper helper)
Writes data to the GeoJSON file.
|
public GeoJsonWriter(File file)
file - the output file (will be overwritten or created)public void writeFeatures(Iterable<? extends SpatialFeature> features, WriterHelper helper)
features - the geometric features to write to the output filehelper - an instance providing definitions of the type of
features and the attribute data to include with the geometry