- Feature - Class in com.mapbox.services.commons.geojson
-
A GeoJSON object with the type "Feature" is a feature object.
- Feature(Geometry, JsonObject, String) - Constructor for class com.mapbox.services.commons.geojson.Feature
-
Private constructor.
- FeatureCollection - Class in com.mapbox.services.commons.geojson
-
A GeoJSON object with the type "FeatureCollection" is a feature object which represents a
collection of feature objects.
- FeatureCollection(List<Feature>) - Constructor for class com.mapbox.services.commons.geojson.FeatureCollection
-
Protected constructor.
- fromCoordinates(List<Position>) - Static method in class com.mapbox.services.commons.geojson.LineString
-
- fromCoordinates(double[][]) - Static method in class com.mapbox.services.commons.geojson.LineString
-
- fromCoordinates(List<List<Position>>) - Static method in class com.mapbox.services.commons.geojson.MultiLineString
-
- fromCoordinates(double[][][]) - Static method in class com.mapbox.services.commons.geojson.MultiLineString
-
- fromCoordinates(List<Position>) - Static method in class com.mapbox.services.commons.geojson.MultiPoint
-
- fromCoordinates(double[][]) - Static method in class com.mapbox.services.commons.geojson.MultiPoint
-
- fromCoordinates(List<List<List<Position>>>) - Static method in class com.mapbox.services.commons.geojson.MultiPolygon
-
- fromCoordinates(double[][][][]) - Static method in class com.mapbox.services.commons.geojson.MultiPolygon
-
- fromCoordinates(Position) - Static method in class com.mapbox.services.commons.geojson.Point
-
Creates a
Point
from a given coordinate.
- fromCoordinates(double[]) - Static method in class com.mapbox.services.commons.geojson.Point
-
- fromCoordinates(List<List<Position>>) - Static method in class com.mapbox.services.commons.geojson.Polygon
-
Creates a
Polygon
from a list of coordinates.
- fromCoordinates(double[][][]) - Static method in class com.mapbox.services.commons.geojson.Polygon
-
- fromFeatures(List<Feature>) - Static method in class com.mapbox.services.commons.geojson.FeatureCollection
-
- fromFeatures(Feature[]) - Static method in class com.mapbox.services.commons.geojson.FeatureCollection
-
- fromGeometries(List<Geometry>) - Static method in class com.mapbox.services.commons.geojson.GeometryCollection
-
- fromGeometry(Geometry) - Static method in class com.mapbox.services.commons.geojson.Feature
-
Create a feature from geometry.
- fromGeometry(Geometry, JsonObject) - Static method in class com.mapbox.services.commons.geojson.Feature
-
Create a feature from geometry.
- fromGeometry(Geometry, JsonObject, String) - Static method in class com.mapbox.services.commons.geojson.Feature
-
Create a feature from geometry.
- fromJson(String) - Static method in class com.mapbox.services.commons.geojson.BaseFeatureCollection
-
Create a GeoJSON feature collection object from JSON.
- fromJson(String) - Static method in class com.mapbox.services.commons.geojson.Feature
-
Create a GeoJSON feature object from JSON.
- fromJson(String) - Static method in class com.mapbox.services.commons.geojson.GeometryCollection
-
Create a GeoJSON geometry collection object from JSON.
- fromJson(String) - Static method in class com.mapbox.services.commons.geojson.LineString
-
Create a GeoJSON LineString object from JSON.
- fromJson(String) - Static method in class com.mapbox.services.commons.geojson.MultiLineString
-
Create a GeoJSON MultiLineString object from JSON.
- fromJson(String) - Static method in class com.mapbox.services.commons.geojson.MultiPoint
-
Create a GeoJSON MultiPoint object from JSON.
- fromJson(String) - Static method in class com.mapbox.services.commons.geojson.MultiPolygon
-
Create a GeoJSON MultiPolygon object from JSON.
- fromJson(String) - Static method in class com.mapbox.services.commons.geojson.Point
-
Create a GeoJSON Point object from JSON.
- fromJson(String) - Static method in class com.mapbox.services.commons.geojson.Polygon
-
Create a GeoJSON Polygon object from JSON.
- fromPolyline(String, int) - Static method in class com.mapbox.services.commons.geojson.LineString
-
Convert a polyline into a LineString.
- GeoJSON - Interface in com.mapbox.services.commons.geojson
-
Interface implemented by all GeoJSON objects, contains common fields.
- Geometry<T> - Interface in com.mapbox.services.commons.geojson
-
Interface implemented by all Geometry objects, contains common fields.
- GeometryCollection - Class in com.mapbox.services.commons.geojson
-
A GeoJSON object with the type "GeometryCollection" is a geometry object which represents a
collection of geometry objects.
- GeometryCollection(List<Geometry>) - Constructor for class com.mapbox.services.commons.geojson.GeometryCollection
-
Private constructor.
- GeometryDeserializer - Class in com.mapbox.services.commons.geojson.custom
-
Required to handle the "Unable to invoke no-args constructor for interface
Geometry
error
that Gson shows when trying to deserialize a list of
Geometry
.
- GeometryDeserializer() - Constructor for class com.mapbox.services.commons.geojson.custom.GeometryDeserializer
-
- getBooleanProperty(String) - Method in class com.mapbox.services.commons.geojson.Feature
-
Convenience method to get a Boolean member.
- getCharacterProperty(String) - Method in class com.mapbox.services.commons.geojson.Feature
-
Convenience method to get a Character member.
- getCoordinates() - Method in interface com.mapbox.services.commons.geojson.Geometry
-
- getCoordinates() - Method in class com.mapbox.services.commons.geojson.LineString
-
Get the list of Position
making up the LineString.
- getCoordinates() - Method in class com.mapbox.services.commons.geojson.MultiLineString
-
Get the list of Position
making up the MultiLineString.
- getCoordinates() - Method in class com.mapbox.services.commons.geojson.MultiPoint
-
Get the list of Position
making up the MultiPoint.
- getCoordinates() - Method in class com.mapbox.services.commons.geojson.MultiPolygon
-
Get the list of Position
making up the MultiPolygon.
- getCoordinates() - Method in class com.mapbox.services.commons.geojson.Point
-
Get the Position
making up the Point.
- getCoordinates() - Method in class com.mapbox.services.commons.geojson.Polygon
-
Get the list of Position
making up the Polygon.
- getFeatures() - Method in class com.mapbox.services.commons.geojson.FeatureCollection
-
Get the List containing all the features within collection.
- getGeometries() - Method in class com.mapbox.services.commons.geojson.GeometryCollection
-
Get the List containing all the geometries within collection.
- getGeometry() - Method in class com.mapbox.services.commons.geojson.Feature
-
- getId() - Method in class com.mapbox.services.commons.geojson.Feature
-
The optional, common identifier of this feature.
- getNumberProperty(String) - Method in class com.mapbox.services.commons.geojson.Feature
-
Convenience method to get a Number member.
- getProperties() - Method in class com.mapbox.services.commons.geojson.Feature
-
Returns the optional properties of this feature as JSON.
- getProperty(String) - Method in class com.mapbox.services.commons.geojson.Feature
-
Convenience method to get a JsonElement member.
- getStringProperty(String) - Method in class com.mapbox.services.commons.geojson.Feature
-
Convenience method to get a String member.
- getType() - Method in class com.mapbox.services.commons.geojson.BaseFeatureCollection
-
Should always be "FeatureCollection".
- getType() - Method in class com.mapbox.services.commons.geojson.Feature
-
Should always be "Feature".
- getType() - Method in interface com.mapbox.services.commons.geojson.GeoJSON
-
- getType() - Method in class com.mapbox.services.commons.geojson.GeometryCollection
-
Should always be "GeometryCollection".
- getType() - Method in class com.mapbox.services.commons.geojson.LineString
-
Should always be "LineString".
- getType() - Method in class com.mapbox.services.commons.geojson.MultiLineString
-
Should always be "MultiLineString".
- getType() - Method in class com.mapbox.services.commons.geojson.MultiPoint
-
Should always be "MultiPoint".
- getType() - Method in class com.mapbox.services.commons.geojson.MultiPolygon
-
Should always be "MultiPolygon".
- getType() - Method in class com.mapbox.services.commons.geojson.Point
-
Should always be "Point".
- getType() - Method in class com.mapbox.services.commons.geojson.Polygon
-
Should always be "Polygon".