Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addBooleanProperty(String, Boolean) - Method in class com.mapbox.geojson.Feature
-
Convenience method to add a Boolean member.
- addCharacterProperty(String, Character) - Method in class com.mapbox.geojson.Feature
-
Convenience method to add a Character member.
- addNumberProperty(String, Number) - Method in class com.mapbox.geojson.Feature
-
Convenience method to add a Number member.
- addProperty(String, JsonElement) - Method in class com.mapbox.geojson.Feature
-
Convenience method to add a JsonElement member.
- addStringProperty(String, String) - Method in class com.mapbox.geojson.Feature
-
Convenience method to add a String member.
- altitude() - Method in class com.mapbox.geojson.Point
-
Optionally, the coordinate spec in GeoJson allows for altitude values to be placed inside the coordinate array.
B
- bbox() - Method in class com.mapbox.geojson.Feature
-
A Feature Collection might have a member named
bboxto include information on the coordinate range for it'sFeatures. - bbox() - Method in class com.mapbox.geojson.FeatureCollection
-
A Feature Collection might have a member named
bboxto include information on the coordinate range for it'sFeatures. - bbox() - Method in interface com.mapbox.geojson.GeoJson
-
A GeoJson object MAY have a member named "bbox" to include information on the coordinate range for its Geometries, Features, or FeatureCollections.
- bbox() - Method in class com.mapbox.geojson.GeometryCollection
-
A Feature Collection might have a member named
bboxto include information on the coordinate range for it'sFeatures. - bbox() - Method in class com.mapbox.geojson.LineString
-
A Feature Collection might have a member named
bboxto include information on the coordinate range for it'sFeatures. - bbox() - Method in class com.mapbox.geojson.MultiLineString
-
A Feature Collection might have a member named
bboxto include information on the coordinate range for it'sFeatures. - bbox() - Method in class com.mapbox.geojson.MultiPoint
-
A Feature Collection might have a member named
bboxto include information on the coordinate range for it'sFeatures. - bbox() - Method in class com.mapbox.geojson.MultiPolygon
-
A Feature Collection might have a member named
bboxto include information on the coordinate range for it'sFeatures. - bbox() - Method in class com.mapbox.geojson.Point
-
A Feature Collection might have a member named
bboxto include information on the coordinate range for it'sFeatures. - bbox() - Method in class com.mapbox.geojson.Polygon
-
A Feature Collection might have a member named
bboxto include information on the coordinate range for it'sFeatures. - BoundingBox - Class in com.mapbox.geojson
-
A GeoJson object MAY have a member named "bbox" to include information on the coordinate range for its Geometries, Features, or FeatureCollections.
- BoundingBoxTypeAdapter - Class in com.mapbox.geojson.gson
-
Adapter to read and write coordinates for BoundingBox class.
- BoundingBoxTypeAdapter() - Constructor for class com.mapbox.geojson.gson.BoundingBoxTypeAdapter
C
- 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
Pointlist. - 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
Points that make up the LineString geometry. - coordinates() - Method in class com.mapbox.geojson.MultiLineString
-
Provides the list of list of
Points that make up the MultiLineString geometry. - coordinates() - Method in class com.mapbox.geojson.MultiPoint
-
provides the list of
Points that make up the MultiPoint geometry. - coordinates() - Method in class com.mapbox.geojson.MultiPolygon
-
Provides the list of list of list of
Points 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
Points 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<R>) - Method in class com.mapbox.geojson.internal.typeadapters.RuntimeTypeAdapterFactory
- create(Gson, TypeToken<T>) - Method in class com.mapbox.geojson.gson.GeoJsonAdapterFactory.GeoJsonAdapterFactoryIml
D
- decode(String, int) - Static method in class com.mapbox.geojson.utils.PolylineUtils
-
Decodes an encoded path string into a sequence of
Point.
E
- east() - Method in class com.mapbox.geojson.BoundingBox
-
Convenience method for getting the bounding box most easterly point (longitude) as a double coordinate.
- encode(List<Point>, int) - Static method in class com.mapbox.geojson.utils.PolylineUtils
-
Encodes a sequence of Points into an encoded path string.
- equals(Object) - Method in class com.mapbox.geojson.BoundingBox
- equals(Object) - Method in class com.mapbox.geojson.Feature
- equals(Object) - Method in class com.mapbox.geojson.FeatureCollection
- equals(Object) - Method in class com.mapbox.geojson.GeometryCollection
- equals(Object) - Method in class com.mapbox.geojson.LineString
- equals(Object) - Method in class com.mapbox.geojson.MultiLineString
- equals(Object) - Method in class com.mapbox.geojson.MultiPoint
- equals(Object) - Method in class com.mapbox.geojson.MultiPolygon
- equals(Object) - Method in class com.mapbox.geojson.Point
- equals(Object) - Method in class com.mapbox.geojson.Polygon
F
- 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
Featureobjects (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
-
Deprecated.
- fromCoordinates(double, double, double, double, double, double) - Static method in class com.mapbox.geojson.BoundingBox
-
Deprecated.As of 3.1.0, use
BoundingBox.fromLngLats(double, double, double, double)instead. - 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
Features. - 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
Features. - 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
Features. - 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
Features. - 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) - 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, JsonObject) - Static method in class com.mapbox.geojson.Feature
-
Create a new instance of this class by giving the feature a
Geometryand 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, BoundingBox) - 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.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
LineStringobject. - fromLineString(LineString, BoundingBox) - Static method in class com.mapbox.geojson.MultiLineString
-
Create a new instance of this class by passing in a single
LineStringobject. - fromLineStrings(List<LineString>) - Static method in class com.mapbox.geojson.MultiLineString
-
Create a new instance of this class by defining a list of
LineStringobjects 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
LineStringobjects 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, 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.
- 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.
- 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
MultiPointobject and passing. - fromLngLats(MultiPoint, BoundingBox) - Static method in class com.mapbox.geojson.LineString
-
Create a new instance of this class by defining a
MultiPointobject 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
Points 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
Points 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
Points 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
Points which follow the correct specifications described in the Point documentation. - 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
Points 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
Points 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
Points 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
Points 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
Points 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
Points which follow the correct specifications described in the Point documentation. - fromOuterInner(LineString, BoundingBox, LineString...) - Static method in class com.mapbox.geojson.Polygon
-
Create a new instance of this class by passing in an outer
LineStringand optionally one or more inner LineStrings. - 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
LineStringand optionally one or more inner LineStrings contained within a list. - fromOuterInner(LineString, LineString...) - Static method in class com.mapbox.geojson.Polygon
-
Create a new instance of this class by passing in an outer
LineStringand 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
LineStringand 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
Points, 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
Polygonobjects 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
Polygonobjects 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
Polygonobjects 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
Polygonobjects 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.
G
- 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
Throwablethat indicates an issue occurred during a GeoJSON operation. - GeoJsonException(String) - Constructor for exception com.mapbox.geojson.exception.GeoJsonException
-
A form of
Throwablethat 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
GeometryCollectionwhich 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
-
Deprecated.This method was passing the call to JsonElement::getAsCharacter() which is in turn deprecated because of misleading nature, as it does not get this element as a char but rather as a string's first character.
- 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.
H
- hasAltitude() - Method in class com.mapbox.geojson.Point
-
Optionally, the coordinate spec in GeoJson allows for altitude values to be placed inside the coordinate array.
- hashCode() - Method in class com.mapbox.geojson.BoundingBox
- hashCode() - Method in class com.mapbox.geojson.Feature
- hashCode() - Method in class com.mapbox.geojson.FeatureCollection
- hashCode() - Method in class com.mapbox.geojson.GeometryCollection
- hashCode() - Method in class com.mapbox.geojson.LineString
- hashCode() - Method in class com.mapbox.geojson.MultiLineString
- hashCode() - Method in class com.mapbox.geojson.MultiPoint
- hashCode() - Method in class com.mapbox.geojson.MultiPolygon
- hashCode() - Method in class com.mapbox.geojson.Point
- hashCode() - Method in class com.mapbox.geojson.Polygon
- hasNonNullValueForProperty(String) - Method in class com.mapbox.geojson.Feature
-
Convenience method to check for a member by name as well as non-null value.
- hasProperty(String) - Method in class com.mapbox.geojson.Feature
-
Convenience method to check if a member with the specified name is present in this object.
I
- id() - Method in class com.mapbox.geojson.Feature
-
A feature may have a commonly used identifier which is either a unique String or number.
- inner() - Method in class com.mapbox.geojson.Polygon
-
Convenience method to get a list of inner
LineStrings defining holes inside the polygon. - isUsingDefaultShifter() - Static method in class com.mapbox.geojson.shifter.CoordinateShifterManager
-
Check whether the current shifter is the default one.
L
- latitude() - Method in class com.mapbox.geojson.Point
-
This returns a double value representing the y or northing position of this point.
- LineString - Class in com.mapbox.geojson
-
A linestring represents two or more geographic points that share a relationship and is one of the seven geometries found in the GeoJson spec.
- lineStrings() - Method in class com.mapbox.geojson.MultiLineString
-
Returns a list of LineStrings which are currently making up this MultiLineString.
- longitude() - Method in class com.mapbox.geojson.Point
-
This returns a double value representing the x or easting position of this point.
M
- MAX_LATITUDE - Static variable in class com.mapbox.geojson.constants.GeoJsonConstants
-
While on a Mercator projected map the width (longitude) has a finite values, the height (latitude) can be infinitely long.
- MAX_LONGITUDE - Static variable in class com.mapbox.geojson.constants.GeoJsonConstants
-
A Mercator project has a finite longitude values, this constant represents the highest value available to represent a geolocation.
- MIN_LATITUDE - Static variable in class com.mapbox.geojson.constants.GeoJsonConstants
-
While on a Mercator projected map the width (longitude) has a finite values, the height (latitude) can be infinitely long.
- MIN_LONGITUDE - Static variable in class com.mapbox.geojson.constants.GeoJsonConstants
-
A Mercator project has a finite longitude values, this constant represents the lowest value available to represent a geolocation.
- MultiLineString - Class in com.mapbox.geojson
-
A multilinestring is an array of LineString coordinate arrays.
- MultiPoint - Class in com.mapbox.geojson
-
A MultiPoint represents two or more geographic points that share a relationship and is one of the seven geometries found in the GeoJson spec.
- MultiPolygon - Class in com.mapbox.geojson
-
A multiPolygon is an array of Polygon coordinate arrays.
N
- north() - Method in class com.mapbox.geojson.BoundingBox
-
Convenience method for getting the bounding box most westerly point (longitude) as a double coordinate.
- northeast() - Method in class com.mapbox.geojson.BoundingBox
-
Provides the
Pointwhich represents the northeast corner of this bounding box when the map is facing due north.
O
- of(Class<T>) - Static method in class com.mapbox.geojson.internal.typeadapters.RuntimeTypeAdapterFactory
-
Creates a new runtime type adapter for
baseTypeusing"type"as the type field name. - of(Class<T>, String) - Static method in class com.mapbox.geojson.internal.typeadapters.RuntimeTypeAdapterFactory
-
Creates a new runtime type adapter using for
baseTypeusingtypeFieldNameas the type field name. - of(Class<T>, String, boolean) - Static method in class com.mapbox.geojson.internal.typeadapters.RuntimeTypeAdapterFactory
-
Creates a new runtime type adapter using for
baseTypeusingtypeFieldNameas the type field name. - outer() - Method in class com.mapbox.geojson.Polygon
-
Convenience method to get the outer
LineStringwhich defines the outer perimeter of the polygon.
P
- Point - Class in com.mapbox.geojson
-
A point represents a single geographic position and is one of the seven Geometries found in the GeoJson spec.
- PointAsCoordinatesTypeAdapter - Class in com.mapbox.geojson
-
TypeAdapter to serialize Point as coordinates, i.e array of doubles and to deserialize into Point out of array of doubles.
- PointAsCoordinatesTypeAdapter() - Constructor for class com.mapbox.geojson.PointAsCoordinatesTypeAdapter
- Polygon - Class in com.mapbox.geojson
-
This class represents a GeoJson Polygon which may or may not include polygon holes.
- polygons() - Method in class com.mapbox.geojson.MultiPolygon
-
Returns a list of polygons which make up this MultiPolygon instance.
- PolylineUtils - Class in com.mapbox.geojson.utils
-
Polyline utils class contains method that can decode/encode a polyline, simplify a line, and more.
- properties() - Method in class com.mapbox.geojson.Feature
-
This contains the JSON object which holds the feature properties.
R
- read(JsonReader) - Method in class com.mapbox.geojson.gson.BoundingBoxTypeAdapter
- read(JsonReader) - Method in class com.mapbox.geojson.PointAsCoordinatesTypeAdapter
- readPoint(JsonReader) - Method in class com.mapbox.geojson.PointAsCoordinatesTypeAdapter
- readPointList(JsonReader) - Method in class com.mapbox.geojson.PointAsCoordinatesTypeAdapter
- registerSubtype(Class<? extends T>) - Method in class com.mapbox.geojson.internal.typeadapters.RuntimeTypeAdapterFactory
-
Registers
typeidentified by itssimple name. - registerSubtype(Class<? extends T>, String) - Method in class com.mapbox.geojson.internal.typeadapters.RuntimeTypeAdapterFactory
-
Registers
typeidentified bylabel. - removeProperty(String) - Method in class com.mapbox.geojson.Feature
-
Removes the property from the object properties.
- RuntimeTypeAdapterFactory<T> - Class in com.mapbox.geojson.internal.typeadapters
-
Adapts values whose runtime type may differ from their declaration type.
S
- setCoordinateShifter(CoordinateShifter) - Static method in class com.mapbox.geojson.shifter.CoordinateShifterManager
-
Sets CoordinateShifterManager.
- shiftLonLat(double, double) - Method in interface com.mapbox.geojson.shifter.CoordinateShifter
-
Shifted coordinate values according to its algorithm.
- shiftLonLatAlt(double, double, double) - Method in interface com.mapbox.geojson.shifter.CoordinateShifter
-
Shifted coordinate values according to its algorithm.
- simplify(List<Point>) - Static method in class com.mapbox.geojson.utils.PolylineUtils
-
Reduces the number of points in a polyline while retaining its shape, giving a performance boost when processing it and also reducing visual noise.
- simplify(List<Point>, boolean) - Static method in class com.mapbox.geojson.utils.PolylineUtils
-
Reduces the number of points in a polyline while retaining its shape, giving a performance boost when processing it and also reducing visual noise.
- simplify(List<Point>, double) - Static method in class com.mapbox.geojson.utils.PolylineUtils
-
Reduces the number of points in a polyline while retaining its shape, giving a performance boost when processing it and also reducing visual noise.
- simplify(List<Point>, double, boolean) - Static method in class com.mapbox.geojson.utils.PolylineUtils
-
Reduces the number of points in a polyline while retaining its shape, giving a performance boost when processing it and also reducing visual noise.
- south() - Method in class com.mapbox.geojson.BoundingBox
-
Convenience method for getting the bounding box most southerly point (latitude) as a double coordinate.
- southwest() - Method in class com.mapbox.geojson.BoundingBox
-
Provides the
Pointwhich represents the southwest corner of this bounding box when the map is facing due north.
T
- 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.
U
- unshiftPoint(Point) - Method in interface com.mapbox.geojson.shifter.CoordinateShifter
-
Unshifted coordinate values according to its algorithm.
- unshiftPoint(List<Double>) - Method in interface com.mapbox.geojson.shifter.CoordinateShifter
-
Unshifted coordinate values according to its algorithm.
W
- west() - Method in class com.mapbox.geojson.BoundingBox
-
Convenience method for getting the bounding box most westerly point (longitude) as a double coordinate.
- write(JsonWriter, BoundingBox) - Method in class com.mapbox.geojson.gson.BoundingBoxTypeAdapter
- write(JsonWriter, Point) - Method in class com.mapbox.geojson.PointAsCoordinatesTypeAdapter
- writePoint(JsonWriter, Point) - Method in class com.mapbox.geojson.PointAsCoordinatesTypeAdapter
- writePointList(JsonWriter, List<Double>) - Method in class com.mapbox.geojson.PointAsCoordinatesTypeAdapter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
BoundingBox.fromLngLats(double, double, double, double)instead.