Package org.locationtech.spatial4j.io
Reading & writing shapes in various forms.
-
Interface Summary Interface Description ShapeIO ShapeReader Implementations are expected to be thread safeShapeWriter Implementations are expected to be thread safe -
Class Summary Class Description BinaryCodec A binary shape format.GeohashUtils Utilities for encoding and decoding geohashes.GeoJSONReader GeoJSONWriter LegacyShapeReader Deprecated. LegacyShapeWriter Deprecated. OnePointsBuilder INTERNAL class used by someShapeReader
s.ParseUtils Deprecated. Not useful; see https://github.com/spatial4j/spatial4j/issues/19PolyshapeReader PolyshapeReader.XReader from Apache 2.0 licensed: https://github.com/googlemaps/android-maps-utils/blob/master/library/src/com/google/maps/android/PolyUtil.javaPolyshapeWriter Wrap the 'Encoded Polyline Algorithm Format' defined in: Google Maps API with flags to encode various Shapes: Point, Line, Polygon, etc For more details, see FORMATS.md This format works well for geographic shapes (-180...+180 / -90...+90), but is not appropriate for other coordinate systemsPolyshapeWriter.Encoder Encodes a sequence of LatLngs into an encoded path string.SupportedFormats Information about the formats aSpatialContext
can read/writeWKTReader An extensible parser for Well Known Text (WKT).WktShapeParser Deprecated. WKTWriter