Package com.mapbox.geojson
package com.mapbox.geojson
Contains the Mapbox Java GeoJson classes.
-
ClassDescriptionA GeoJson object MAY have a member named "bbox" to include information on the coordinate range for its Geometries, Features, or FeatureCollections.Each of the s geometries which make up GeoJson implement this interface and consume a varying dimension of
Pointlist.This defines a GeoJson Feature object which represents a spatially bound thing.This represents a GeoJson Feature Collection which holds a list ofFeatureobjects (when serialized the feature list becomes a JSON array).Generic implementation for all GeoJson objects defining common traits that each GeoJson object has.Each of the six geometries andGeometryCollectionwhich make up GeoJson implement this interface.A Geometry type adapter factory for convenience for serialization/deserialization.A GeoJson object with TYPE "GeometryCollection" is a Geometry object.A linestring represents two or more geographic points that share a relationship and is one of the seven geometries found in the GeoJson spec.A multilinestring is an array of LineString coordinate arrays.A MultiPoint represents two or more geographic points that share a relationship and is one of the seven geometries found in the GeoJson spec.A multiPolygon is an array of Polygon coordinate arrays.A point represents a single geographic position and is one of the seven Geometries found in the GeoJson spec.TypeAdapter to serialize Point as coordinates, i.e array of doubles and to deserialize into Point out of array of doubles.This class represents a GeoJson Polygon which may or may not include polygon holes.