Namespace Spatial4n.Core.IO
Classes
BinaryCodec
A binary shape format. It is not
designed to be a published standard, unlike Well Known
Binary (WKB). The initial release is simple but it could get more optimized to use fewer bytes or
to write & read pre-computed index structures.
Immutable and thread-safe.
LegacyShapeReadWriterFormat
Reads & writes a shape from a given string in the old format.
ParseUtils
Utility methods related to parsing a series of numbers.
This code came from DistanceUtils, which came from Apache Lucene, LUCENE-773, which in turn came from "LocalLucene".
WktShapeParser
An extensible parser for Well Known Text (WKT). The shapes supported by this class are:
parse___Shape
methods further describe these
shapes, or you
Most users of this class will call just one method: Parse(String), or ParseIfSupported(String) to not fail if it isn't parse-able.
To support more shapes, extend this class and override ParseShapeByType(WktShapeParser.State, String). It's also possible to delegate to a WKTParser by also delegating NewState(String).
Note, instances of this base class are threadsafe.
WktShapeParser.State
The parse state.