- com.mapbox.geojson - package com.mapbox.geojson
-
Contains the Mapbox Java GeoJson classes.
- com.mapbox.geojson.constants - package com.mapbox.geojson.constants
-
Contains the constants used throughout the GeoJson classes.
- com.mapbox.geojson.exception - package com.mapbox.geojson.exception
-
Contains a Runtime Exception specific to GeoJSON issues.
- com.mapbox.geojson.gson - package com.mapbox.geojson.gson
-
Contains the Mapbox Java GeoJson GSON helper classes which assist in parsing.
- com.mapbox.geojson.internal.typeadapters - package com.mapbox.geojson.internal.typeadapters
-
- com.mapbox.geojson.shifter - package com.mapbox.geojson.shifter
-
Contains Utility for universally applying a shifting algorithm to all Geometry types.
- com.mapbox.geojson.utils - package com.mapbox.geojson.utils
-
Contains Utilities useful for GeoJson translations and formations.
- CoordinateContainer<T> - Interface in com.mapbox.geojson
-
Each of the s geometries which make up GeoJson implement this interface and consume a varying
dimension of
Point
list.
- coordinates() - Method in interface com.mapbox.geojson.CoordinateContainer
-
the coordinates which define the geometry.
- coordinates() - Method in class com.mapbox.geojson.LineString
-
Provides the list of
Point
s that make up the LineString geometry.
- coordinates() - Method in class com.mapbox.geojson.MultiLineString
-
Provides the list of list of
Point
s that make up the MultiLineString geometry.
- coordinates() - Method in class com.mapbox.geojson.MultiPoint
-
provides the list of
Point
s that make up the MultiPoint geometry.
- coordinates() - Method in class com.mapbox.geojson.MultiPolygon
-
Provides the list of list of list of
Point
s that make up the MultiPolygon geometry.
- coordinates() - Method in class com.mapbox.geojson.Point
-
Provide a single double array containing the longitude, latitude, and optionally an
altitude/elevation.
- coordinates() - Method in class com.mapbox.geojson.Polygon
-
Provides the list of
Point
s that make up the Polygon geometry.
- CoordinateShifter - Interface in com.mapbox.geojson.shifter
-
ShifterManager allows the movement of all Point objects according to a custom algorithm.
- CoordinateShifterManager - Class in com.mapbox.geojson.shifter
-
CoordinateShifterManager keeps track of currently set CoordinateShifter.
- CoordinateShifterManager() - Constructor for class com.mapbox.geojson.shifter.CoordinateShifterManager
-
- create() - Static method in class com.mapbox.geojson.GeometryAdapterFactory
-
Create a new instance of Geometry type adapter factory, this is passed into the Gson
Builder.
- create() - Static method in class com.mapbox.geojson.gson.GeoJsonAdapterFactory
-
Create a new instance of this GeoJson type adapter factory, this is passed into the Gson
Builder.
- create(Gson, TypeToken<T>) - Method in class com.mapbox.geojson.gson.GeoJsonAdapterFactory.GeoJsonAdapterFactoryIml
-
- create(Gson, TypeToken<R>) - Method in class com.mapbox.geojson.internal.typeadapters.RuntimeTypeAdapterFactory
-
- Feature - Class in com.mapbox.geojson
-
This defines a GeoJson Feature object which represents a spatially bound thing.
- FeatureCollection - Class in com.mapbox.geojson
-
This represents a GeoJson Feature Collection which holds a list of
Feature
objects (when
serialized the feature list becomes a JSON array).
- features() - Method in class com.mapbox.geojson.FeatureCollection
-
This provides the list of feature making up this Feature Collection.
- fromCoordinates(double, double, double, double) - Static method in class com.mapbox.geojson.BoundingBox
-
- fromCoordinates(double, double, double, double, double, double) - Static method in class com.mapbox.geojson.BoundingBox
-
- fromFeature(Feature) - Static method in class com.mapbox.geojson.FeatureCollection
-
Create a new instance of this class by giving the feature collection a single
Feature
.
- fromFeature(Feature, BoundingBox) - Static method in class com.mapbox.geojson.FeatureCollection
-
Create a new instance of this class by giving the feature collection a single
Feature
.
- fromFeatures(Feature[]) - Static method in class com.mapbox.geojson.FeatureCollection
-
Create a new instance of this class by giving the feature collection an array of
Feature
s.
- fromFeatures(List<Feature>) - Static method in class com.mapbox.geojson.FeatureCollection
-
Create a new instance of this class by giving the feature collection a list of
Feature
s.
- fromFeatures(Feature[], BoundingBox) - Static method in class com.mapbox.geojson.FeatureCollection
-
Create a new instance of this class by giving the feature collection an array of
Feature
s.
- fromFeatures(List<Feature>, BoundingBox) - Static method in class com.mapbox.geojson.FeatureCollection
-
Create a new instance of this class by giving the feature collection a list of
Feature
s.
- fromGeometries(List<Geometry>) - Static method in class com.mapbox.geojson.GeometryCollection
-
Create a new instance of this class by giving the collection a list of
Geometry
.
- fromGeometries(List<Geometry>, BoundingBox) - Static method in class com.mapbox.geojson.GeometryCollection
-
Create a new instance of this class by giving the collection a list of
Geometry
.
- fromGeometry(Geometry) - Static method in class com.mapbox.geojson.Feature
-
Create a new instance of this class by giving the feature a
Geometry
.
- fromGeometry(Geometry, BoundingBox) - Static method in class com.mapbox.geojson.Feature
-
Create a new instance of this class by giving the feature a
Geometry
.
- fromGeometry(Geometry, JsonObject) - Static method in class com.mapbox.geojson.Feature
-
Create a new instance of this class by giving the feature a
Geometry
and optionally a
set of properties.
- fromGeometry(Geometry, JsonObject, BoundingBox) - Static method in class com.mapbox.geojson.Feature
-
Create a new instance of this class by giving the feature a
Geometry
, optionally a
set of properties, and optionally pass in a bbox.
- fromGeometry(Geometry, JsonObject, String) - Static method in class com.mapbox.geojson.Feature
-
Create a new instance of this class by giving the feature a
Geometry
, optionally a
set of properties, and a String which represents the objects id.
- fromGeometry(Geometry, JsonObject, String, BoundingBox) - Static method in class com.mapbox.geojson.Feature
-
Create a new instance of this class by giving the feature a
Geometry
, optionally a
set of properties, and a String which represents the objects id.
- fromGeometry(Geometry) - Static method in class com.mapbox.geojson.GeometryCollection
-
Create a new instance of this class by giving the collection a single GeoJSON
Geometry
.
- fromGeometry(Geometry, BoundingBox) - Static method in class com.mapbox.geojson.GeometryCollection
-
Create a new instance of this class by giving the collection a single GeoJSON
Geometry
.
- fromJson(String) - Static method in class com.mapbox.geojson.BoundingBox
-
Create a new instance of this class by passing in a formatted valid JSON String.
- fromJson(String) - Static method in class com.mapbox.geojson.Feature
-
Create a new instance of this class by passing in a formatted valid JSON String.
- fromJson(String) - Static method in class com.mapbox.geojson.FeatureCollection
-
Create a new instance of this class by passing in a formatted valid JSON String.
- fromJson(String) - Static method in class com.mapbox.geojson.GeometryCollection
-
Create a new instance of this class by passing in a formatted valid JSON String.
- fromJson(String) - Static method in class com.mapbox.geojson.gson.GeometryGeoJson
-
Create a new instance of Geometry class by passing in a formatted valid JSON String.
- fromJson(String) - Static method in class com.mapbox.geojson.LineString
-
Create a new instance of this class by passing in a formatted valid JSON String.
- fromJson(String) - Static method in class com.mapbox.geojson.MultiLineString
-
Create a new instance of this class by passing in a formatted valid JSON String.
- fromJson(String) - Static method in class com.mapbox.geojson.MultiPoint
-
Create a new instance of this class by passing in a formatted valid JSON String.
- fromJson(String) - Static method in class com.mapbox.geojson.MultiPolygon
-
Create a new instance of this class by passing in a formatted valid JSON String.
- fromJson(String) - Static method in class com.mapbox.geojson.Point
-
Create a new instance of this class by passing in a formatted valid JSON String.
- fromJson(String) - Static method in class com.mapbox.geojson.Polygon
-
Create a new instance of this class by passing in a formatted valid JSON String.
- fromLineString(LineString) - Static method in class com.mapbox.geojson.MultiLineString
-
Create a new instance of this class by passing in a single
LineString
object.
- fromLineString(LineString, BoundingBox) - Static method in class com.mapbox.geojson.MultiLineString
-
Create a new instance of this class by passing in a single
LineString
object.
- fromLineStrings(List<LineString>) - Static method in class com.mapbox.geojson.MultiLineString
-
Create a new instance of this class by defining a list of
LineString
objects and
passing that list in as a parameter in this method.
- fromLineStrings(List<LineString>, BoundingBox) - Static method in class com.mapbox.geojson.MultiLineString
-
Create a new instance of this class by defining a list of
LineString
objects and
passing that list in as a parameter in this method.
- fromLngLat(double, double) - Static method in class com.mapbox.geojson.Point
-
Create a new instance of this class defining a longitude and latitude value in that respective
order.
- fromLngLat(double, double, BoundingBox) - Static method in class com.mapbox.geojson.Point
-
Create a new instance of this class defining a longitude and latitude value in that respective
order.
- fromLngLat(double, double, double) - Static method in class com.mapbox.geojson.Point
-
Create a new instance of this class defining a longitude and latitude value in that respective
order.
- fromLngLat(double, double, double, BoundingBox) - Static method in class com.mapbox.geojson.Point
-
Create a new instance of this class defining a longitude and latitude value in that respective
order.
- fromLngLats(double, double, double, double) - Static method in class com.mapbox.geojson.BoundingBox
-
Define a new instance of this class by passing in four coordinates in the same order they would
appear in the serialized GeoJson form.
- fromLngLats(double, double, double, double, double, double) - Static method in class com.mapbox.geojson.BoundingBox
-
Define a new instance of this class by passing in four coordinates in the same order they would
appear in the serialized GeoJson form.
- fromLngLats(MultiPoint) - Static method in class com.mapbox.geojson.LineString
-
Create a new instance of this class by defining a
MultiPoint
object and passing.
- fromLngLats(List<Point>) - Static method in class com.mapbox.geojson.LineString
-
Create a new instance of this class by defining a list of
Point
s which follow the
correct specifications described in the Point documentation.
- fromLngLats(List<Point>, BoundingBox) - Static method in class com.mapbox.geojson.LineString
-
Create a new instance of this class by defining a list of
Point
s which follow the
correct specifications described in the Point documentation.
- fromLngLats(MultiPoint, BoundingBox) - Static method in class com.mapbox.geojson.LineString
-
Create a new instance of this class by defining a
MultiPoint
object and passing.
- fromLngLats(List<List<Point>>) - Static method in class com.mapbox.geojson.MultiLineString
-
Create a new instance of this class by defining a list of a list of
Point
s which follow
the correct specifications described in the Point documentation.
- fromLngLats(List<List<Point>>, BoundingBox) - Static method in class com.mapbox.geojson.MultiLineString
-
Create a new instance of this class by defining a list of a list of
Point
s which follow
the correct specifications described in the Point documentation.
- fromLngLats(List<Point>) - Static method in class com.mapbox.geojson.MultiPoint
-
Create a new instance of this class by defining a list of
Point
s which follow the
correct specifications described in the Point documentation.
- fromLngLats(List<Point>, BoundingBox) - Static method in class com.mapbox.geojson.MultiPoint
-
Create a new instance of this class by defining a list of
Point
s which follow the
correct specifications described in the Point documentation.
- fromLngLats(List<List<List<Point>>>) - Static method in class com.mapbox.geojson.MultiPolygon
-
Create a new instance of this class by defining a list of a list of a list of
Point
s
which follow the correct specifications described in the Point documentation.
- fromLngLats(List<List<List<Point>>>, BoundingBox) - Static method in class com.mapbox.geojson.MultiPolygon
-
Create a new instance of this class by defining a list of a list of a list of
Point
s
which follow the correct specifications described in the Point documentation.
- fromLngLats(List<List<Point>>) - Static method in class com.mapbox.geojson.Polygon
-
Create a new instance of this class by defining a list of
Point
s which follow the
correct specifications described in the Point documentation.
- fromLngLats(List<List<Point>>, BoundingBox) - Static method in class com.mapbox.geojson.Polygon
-
Create a new instance of this class by defining a list of
Point
s which follow the
correct specifications described in the Point documentation.
- fromOuterInner(LineString, LineString...) - Static method in class com.mapbox.geojson.Polygon
-
Create a new instance of this class by passing in an outer
LineString
and optionally
one or more inner LineStrings.
- fromOuterInner(LineString, BoundingBox, LineString...) - Static method in class com.mapbox.geojson.Polygon
-
Create a new instance of this class by passing in an outer
LineString
and optionally
one or more inner LineStrings.
- fromOuterInner(LineString, List<LineString>) - Static method in class com.mapbox.geojson.Polygon
-
Create a new instance of this class by passing in an outer
LineString
and optionally
one or more inner LineStrings contained within a list.
- fromOuterInner(LineString, BoundingBox, List<LineString>) - Static method in class com.mapbox.geojson.Polygon
-
Create a new instance of this class by passing in an outer
LineString
and optionally
one or more inner LineStrings contained within a list.
- fromPoints(Point, Point) - Static method in class com.mapbox.geojson.BoundingBox
-
Define a new instance of this class by passing in two
Point
s, representing both the
southwest and northwest corners of the bounding box.
- fromPolygon(Polygon) - Static method in class com.mapbox.geojson.MultiPolygon
-
Create a new instance of this class by defining a single
Polygon
objects and passing
it in as a parameter in this method.
- fromPolygon(Polygon, BoundingBox) - Static method in class com.mapbox.geojson.MultiPolygon
-
Create a new instance of this class by defining a single
Polygon
objects and passing
it in as a parameter in this method.
- fromPolygons(List<Polygon>) - Static method in class com.mapbox.geojson.MultiPolygon
-
Create a new instance of this class by defining a list of
Polygon
objects and passing
that list in as a parameter in this method.
- fromPolygons(List<Polygon>, BoundingBox) - Static method in class com.mapbox.geojson.MultiPolygon
-
Create a new instance of this class by defining a list of
Polygon
objects and passing
that list in as a parameter in this method.
- fromPolyline(String, int) - Static method in class com.mapbox.geojson.LineString
-
Create a new instance of this class by convert a polyline string into a lineString.
- GeoJson - Interface in com.mapbox.geojson
-
Generic implementation for all GeoJson objects defining common traits that each GeoJson object
has.
- GeoJsonAdapterFactory - Class in com.mapbox.geojson.gson
-
A GeoJson type adapter factory for convenience for
serialization/deserialization.
- GeoJsonAdapterFactory() - Constructor for class com.mapbox.geojson.gson.GeoJsonAdapterFactory
-
- GeoJsonAdapterFactory.GeoJsonAdapterFactoryIml - Class in com.mapbox.geojson.gson
-
GeoJsonAdapterFactory implementation.
- GeoJsonAdapterFactoryIml() - Constructor for class com.mapbox.geojson.gson.GeoJsonAdapterFactory.GeoJsonAdapterFactoryIml
-
- GeoJsonConstants - Class in com.mapbox.geojson.constants
-
Contains constants used throughout the GeoJson classes.
- GeoJsonException - Exception in com.mapbox.geojson.exception
-
A form of Throwable
that indicates an issue occurred during a GeoJSON operation.
- GeoJsonException(String) - Constructor for exception com.mapbox.geojson.exception.GeoJsonException
-
A form of Throwable
that indicates an issue occurred during a GeoJSON operation.
- GeoJsonUtils - Class in com.mapbox.geojson.utils
-
GeoJson utils class contains method that can be used throughout geojson package.
- GeoJsonUtils() - Constructor for class com.mapbox.geojson.utils.GeoJsonUtils
-
- geometries() - Method in class com.mapbox.geojson.GeometryCollection
-
This provides the list of geometry making up this Geometry Collection.
- geometry() - Method in class com.mapbox.geojson.Feature
-
The geometry which makes up this feature.
- Geometry - Interface in com.mapbox.geojson
-
Each of the six geometries and
GeometryCollection
which make up GeoJson implement this interface.
- GeometryAdapterFactory - Class in com.mapbox.geojson
-
A Geometry type adapter factory for convenience for serialization/deserialization.
- GeometryAdapterFactory() - Constructor for class com.mapbox.geojson.GeometryAdapterFactory
-
- GeometryCollection - Class in com.mapbox.geojson
-
A GeoJson object with TYPE "GeometryCollection" is a Geometry object.
- GeometryGeoJson - Class in com.mapbox.geojson.gson
-
This is a utility class that helps create a Geometry instance from a JSON string.
- GeometryGeoJson() - Constructor for class com.mapbox.geojson.gson.GeometryGeoJson
-
- getBooleanProperty(String) - Method in class com.mapbox.geojson.Feature
-
Convenience method to get a Boolean member.
- getCharacterProperty(String) - Method in class com.mapbox.geojson.Feature
-
Convenience method to get a Character member.
- getCoordinateShifter() - Static method in class com.mapbox.geojson.shifter.CoordinateShifterManager
-
Currently set CoordinateShifterManager.
- getNumberProperty(String) - Method in class com.mapbox.geojson.Feature
-
Convenience method to get a Number member.
- getProperty(String) - Method in class com.mapbox.geojson.Feature
-
Convenience method to get a JsonElement member.
- getStringProperty(String) - Method in class com.mapbox.geojson.Feature
-
Convenience method to get a String member.
- toJson() - Method in class com.mapbox.geojson.BoundingBox
-
This takes the currently defined values found inside this instance and converts it to a GeoJson
string.
- toJson() - Method in class com.mapbox.geojson.Feature
-
This takes the currently defined values found inside this instance and converts it to a GeoJson
string.
- toJson() - Method in class com.mapbox.geojson.FeatureCollection
-
This takes the currently defined values found inside this instance and converts it to a GeoJson
string.
- toJson() - Method in interface com.mapbox.geojson.GeoJson
-
This takes the currently defined values found inside the GeoJson instance and converts it to a
GeoJson string.
- toJson() - Method in class com.mapbox.geojson.GeometryCollection
-
This takes the currently defined values found inside this instance and converts it to a GeoJson
string.
- toJson() - Method in class com.mapbox.geojson.LineString
-
This takes the currently defined values found inside this instance and converts it to a GeoJson
string.
- toJson() - Method in class com.mapbox.geojson.MultiLineString
-
This takes the currently defined values found inside this instance and converts it to a GeoJson
string.
- toJson() - Method in class com.mapbox.geojson.MultiPoint
-
This takes the currently defined values found inside this instance and converts it to a GeoJson
string.
- toJson() - Method in class com.mapbox.geojson.MultiPolygon
-
This takes the currently defined values found inside this instance and converts it to a GeoJson
string.
- toJson() - Method in class com.mapbox.geojson.Point
-
This takes the currently defined values found inside this instance and converts it to a GeoJson
string.
- toJson() - Method in class com.mapbox.geojson.Polygon
-
This takes the currently defined values found inside this instance and converts it to a GeoJson
string.
- toPolyline(int) - Method in class com.mapbox.geojson.LineString
-
Encode this LineString into a Polyline string for easier serializing.
- toString() - Method in class com.mapbox.geojson.BoundingBox
-
- toString() - Method in class com.mapbox.geojson.Feature
-
- toString() - Method in class com.mapbox.geojson.FeatureCollection
-
- toString() - Method in class com.mapbox.geojson.GeometryCollection
-
- toString() - Method in class com.mapbox.geojson.LineString
-
- toString() - Method in class com.mapbox.geojson.MultiLineString
-
- toString() - Method in class com.mapbox.geojson.MultiPoint
-
- toString() - Method in class com.mapbox.geojson.MultiPolygon
-
- toString() - Method in class com.mapbox.geojson.Point
-
- toString() - Method in class com.mapbox.geojson.Polygon
-
- trim(double) - Static method in class com.mapbox.geojson.utils.GeoJsonUtils
-
Trims a double value to have only 7 digits after period.
- type() - Method in class com.mapbox.geojson.Feature
-
This describes the TYPE of GeoJson geometry this object is, thus this will always return
Feature
.
- type() - Method in class com.mapbox.geojson.FeatureCollection
-
This describes the type of GeoJson this object is, thus this will always return
FeatureCollection
.
- type() - Method in interface com.mapbox.geojson.GeoJson
-
This describes the type of GeoJson geometry, Feature, or FeatureCollection this object is.
- type() - Method in class com.mapbox.geojson.GeometryCollection
-
This describes the TYPE of GeoJson this object is, thus this will always return
GeometryCollection
.
- type() - Method in class com.mapbox.geojson.LineString
-
This describes the TYPE of GeoJson geometry this object is, thus this will always return
LineString
.
- type() - Method in class com.mapbox.geojson.MultiLineString
-
This describes the TYPE of GeoJson geometry this object is, thus this will always return
MultiLineString
.
- type() - Method in class com.mapbox.geojson.MultiPoint
-
This describes the TYPE of GeoJson this object is, thus this will always return
MultiPoint
.
- type() - Method in class com.mapbox.geojson.MultiPolygon
-
This describes the TYPE of GeoJson geometry this object is, thus this will always return
MultiPolygon
.
- type() - Method in class com.mapbox.geojson.Point
-
This describes the TYPE of GeoJson geometry this object is, thus this will always return
Point
.
- type() - Method in class com.mapbox.geojson.Polygon
-
This describes the TYPE of GeoJson geometry this object is, thus this will always return
Polygon
.
- typeAdapter(Gson) - Static method in class com.mapbox.geojson.BoundingBox
-
Gson TYPE adapter for parsing Gson to this class.
- typeAdapter(Gson) - Static method in class com.mapbox.geojson.Feature
-
Gson TYPE adapter for parsing Gson to this class.
- typeAdapter(Gson) - Static method in class com.mapbox.geojson.FeatureCollection
-
Gson type adapter for parsing Gson to this class.
- typeAdapter(Gson) - Static method in class com.mapbox.geojson.GeometryCollection
-
Gson TYPE adapter for parsing Gson to this class.
- typeAdapter(Gson) - Static method in class com.mapbox.geojson.LineString
-
Gson TYPE adapter for parsing Gson to this class.
- typeAdapter(Gson) - Static method in class com.mapbox.geojson.MultiLineString
-
Gson type adapter for parsing Gson to this class.
- typeAdapter(Gson) - Static method in class com.mapbox.geojson.MultiPoint
-
Gson TYPE adapter for parsing Gson to this class.
- typeAdapter(Gson) - Static method in class com.mapbox.geojson.MultiPolygon
-
Gson TYPE adapter for parsing Gson to this class.
- typeAdapter(Gson) - Static method in class com.mapbox.geojson.Point
-
Gson TYPE adapter for parsing Gson to this class.
- typeAdapter(Gson) - Static method in class com.mapbox.geojson.Polygon
-
Gson TYPE adapter for parsing Gson to this class.