Interface ShapeWriter

All Superinterfaces:
ShapeIO
All Known Implementing Classes:
GeoJSONWriter, JtsGeoJSONWriter, JtsPolyshapeWriter, JtsWKTWriter, LegacyShapeWriter, PolyshapeWriter, WKTWriter

public interface ShapeWriter extends ShapeIO
Implementations are expected to be thread safe
  • Field Summary

    Fields inherited from interface org.locationtech.spatial4j.io.ShapeIO

    GeoJSON, LEGACY, POLY, WKT
  • Method Summary

    Modifier and Type
    Method
    Description
    toString(Shape shape)
    Write a shape to String
    void
    write(Writer output, Shape shape)
    Write a shape to the output writer

    Methods inherited from interface org.locationtech.spatial4j.io.ShapeIO

    getFormatName