public class GeoJSONWriter extends Object implements ShapeWriter
Constructor and Description |
---|
GeoJSONWriter(SpatialContext ctx,
SpatialContextFactory factory) |
public GeoJSONWriter(SpatialContext ctx, SpatialContextFactory factory)
public String getFormatName()
getFormatName
in interface ShapeIO
protected void write(Writer output, NumberFormat nf, double... coords) throws IOException
IOException
public void write(Writer output, Shape shape) throws IOException
ShapeWriter
write
in interface ShapeWriter
IOException
public String toString(Shape shape)
ShapeWriter
toString
in interface ShapeWriter
Copyright © 2015. All rights reserved.