public class LineString
extends Object
implements Geometry
Represents a GeoJSON LineString type. Will be persisted into the database according to
the specification.
The factory for creating a LineString is the GeoJson.lineString method.
Returns a list of coordinates for this Geometry type. For something like a Point, this will be a pair of lat/long coordinates, but
for more complex types this will be a list of other Geometry objects. Used for serialisation to MongoDB.