Skip navigation links
A C D E F G H I J L M O P R S T W 

A

addFeature(Feature) - Method in class com.cocoahero.android.geojson.FeatureCollection
Adds a Feature to this feature collection.
addGeometry(Geometry) - Method in class com.cocoahero.android.geojson.GeometryCollection
Adds a Geometry to this geometry collection.
addLineString(LineString) - Method in class com.cocoahero.android.geojson.MultiLineString
 
addPolygon(Polygon) - Method in class com.cocoahero.android.geojson.MultiPolygon
 
addPosition(Position) - Method in class com.cocoahero.android.geojson.LineString
 
addPosition(Position) - Method in class com.cocoahero.android.geojson.MultiPoint
 
addPosition(Position) - Method in class com.cocoahero.android.geojson.PositionList
 
addPositions(PositionList) - Method in class com.cocoahero.android.geojson.PositionList
 
addPositions(List<Position>) - Method in class com.cocoahero.android.geojson.PositionList
 
addRing(Ring) - Method in class com.cocoahero.android.geojson.Polygon
 

C

clearPositions() - Method in class com.cocoahero.android.geojson.PositionList
 
close() - Method in class com.cocoahero.android.geojson.Ring
 
com.cocoahero.android.geojson - package com.cocoahero.android.geojson
 
com.cocoahero.android.geojson.util - package com.cocoahero.android.geojson.util
 
CREATOR - Static variable in class com.cocoahero.android.geojson.Feature
 
CREATOR - Static variable in class com.cocoahero.android.geojson.FeatureCollection
 
CREATOR - Static variable in class com.cocoahero.android.geojson.GeoJSONObject
 
CREATOR - Static variable in class com.cocoahero.android.geojson.GeometryCollection
 
CREATOR - Static variable in class com.cocoahero.android.geojson.LineString
 
CREATOR - Static variable in class com.cocoahero.android.geojson.MultiLineString
 
CREATOR - Static variable in class com.cocoahero.android.geojson.MultiPoint
 
CREATOR - Static variable in class com.cocoahero.android.geojson.MultiPolygon
 
CREATOR - Static variable in class com.cocoahero.android.geojson.Point
 
CREATOR - Static variable in class com.cocoahero.android.geojson.Polygon
 
CREATOR - Static variable in class com.cocoahero.android.geojson.Position
 
CREATOR - Static variable in class com.cocoahero.android.geojson.PositionList
 
CREATOR - Static variable in class com.cocoahero.android.geojson.Ring
 

D

describeContents() - Method in class com.cocoahero.android.geojson.GeoJSONObject
 
describeContents() - Method in class com.cocoahero.android.geojson.Position
 
describeContents() - Method in class com.cocoahero.android.geojson.PositionList
 

E

equals(Object) - Method in class com.cocoahero.android.geojson.Position
 

F

Feature - Class in com.cocoahero.android.geojson
 
Feature() - Constructor for class com.cocoahero.android.geojson.Feature
Creates an empty Feature without a geometry.
Feature(JSONObject) - Constructor for class com.cocoahero.android.geojson.Feature
Parses the given JSONObject as a GeoJSON Feature.
Feature(Geometry) - Constructor for class com.cocoahero.android.geojson.Feature
Creates a new GeoJSON Feature object with the given geometry.
FeatureCollection - Class in com.cocoahero.android.geojson
 
FeatureCollection() - Constructor for class com.cocoahero.android.geojson.FeatureCollection
Creates an empty feature collection.
FeatureCollection(JSONObject) - Constructor for class com.cocoahero.android.geojson.FeatureCollection
Parses the given JSONObject as a feature collection.

G

GeoJSON - Class in com.cocoahero.android.geojson
 
GeoJSON() - Constructor for class com.cocoahero.android.geojson.GeoJSON
 
GeoJSONObject - Class in com.cocoahero.android.geojson
The abstract interface of all GeoJSON objects.
GeoJSONObject() - Constructor for class com.cocoahero.android.geojson.GeoJSONObject
 
GeoJSONObject(JSONObject) - Constructor for class com.cocoahero.android.geojson.GeoJSONObject
 
Geometry - Class in com.cocoahero.android.geojson
An intermediate, abstract class that acts as a common base for all GeoJSON geometry types.
Geometry() - Constructor for class com.cocoahero.android.geojson.Geometry
 
Geometry(JSONObject) - Constructor for class com.cocoahero.android.geojson.Geometry
 
GeometryCollection - Class in com.cocoahero.android.geojson
 
GeometryCollection() - Constructor for class com.cocoahero.android.geojson.GeometryCollection
Creates an empty geometry collection.
GeometryCollection(JSONObject) - Constructor for class com.cocoahero.android.geojson.GeometryCollection
Parses the given JSONObject as a geometry collection.
getAltitude() - Method in class com.cocoahero.android.geojson.Position
 
getFeatures() - Method in class com.cocoahero.android.geojson.FeatureCollection
Returns a list of all the Features contained within this collection.
getGeometries() - Method in class com.cocoahero.android.geojson.GeometryCollection
Returns a list of all the Geometry contained within this geometry collection.
getGeometry() - Method in class com.cocoahero.android.geojson.Feature
Returns the geometry of this feature.
getHead() - Method in class com.cocoahero.android.geojson.PositionList
 
getHead(List<T>) - Static method in class com.cocoahero.android.geojson.util.ListUtils
 
getIdentifier() - Method in class com.cocoahero.android.geojson.Feature
The optional, common identifier of this feature.
getLatitude() - Method in class com.cocoahero.android.geojson.Position
 
getLineStrings() - Method in class com.cocoahero.android.geojson.MultiLineString
 
getLongitude() - Method in class com.cocoahero.android.geojson.Position
 
getPolygons() - Method in class com.cocoahero.android.geojson.MultiPolygon
 
getPosition() - Method in class com.cocoahero.android.geojson.Point
 
getPositions() - Method in class com.cocoahero.android.geojson.LineString
 
getPositions() - Method in class com.cocoahero.android.geojson.MultiPoint
 
getPositions() - Method in class com.cocoahero.android.geojson.PositionList
 
getProperties() - Method in class com.cocoahero.android.geojson.Feature
Returns the optional properties of this feature as JSON.
getRings() - Method in class com.cocoahero.android.geojson.Polygon
 
getTail() - Method in class com.cocoahero.android.geojson.PositionList
 
getTail(List<T>) - Static method in class com.cocoahero.android.geojson.util.ListUtils
 
getType() - Method in class com.cocoahero.android.geojson.Feature
The type of GeoJSON object.
getType() - Method in class com.cocoahero.android.geojson.FeatureCollection
The type of GeoJSON object.
getType() - Method in class com.cocoahero.android.geojson.GeoJSONObject
The type of GeoJSON object.
getType() - Method in class com.cocoahero.android.geojson.GeometryCollection
The type of GeoJSON object.
getType() - Method in class com.cocoahero.android.geojson.LineString
 
getType() - Method in class com.cocoahero.android.geojson.MultiLineString
 
getType() - Method in class com.cocoahero.android.geojson.MultiPoint
 
getType() - Method in class com.cocoahero.android.geojson.MultiPolygon
 
getType() - Method in class com.cocoahero.android.geojson.Point
 
getType() - Method in class com.cocoahero.android.geojson.Polygon
 

H

hashCode() - Method in class com.cocoahero.android.geojson.Position
 

I

isEmpty(JSONObject) - Static method in class com.cocoahero.android.geojson.util.JSONUtils
 
isEmpty(JSONArray) - Static method in class com.cocoahero.android.geojson.util.JSONUtils
 
isLinearRing() - Method in class com.cocoahero.android.geojson.LineString
 
isLinearRing() - Method in class com.cocoahero.android.geojson.PositionList
 

J

JSON_COORDINATES - Static variable in class com.cocoahero.android.geojson.Geometry
 
JSON_FEATURES - Static variable in class com.cocoahero.android.geojson.FeatureCollection
 
JSON_GEOMETRIES - Static variable in class com.cocoahero.android.geojson.GeometryCollection
 
JSON_TYPE - Static variable in class com.cocoahero.android.geojson.GeoJSONObject
 
JSONUtils - Class in com.cocoahero.android.geojson.util
 
JSONUtils() - Constructor for class com.cocoahero.android.geojson.util.JSONUtils
 

L

LineString - Class in com.cocoahero.android.geojson
 
LineString() - Constructor for class com.cocoahero.android.geojson.LineString
 
LineString(JSONObject) - Constructor for class com.cocoahero.android.geojson.LineString
 
LineString(JSONArray) - Constructor for class com.cocoahero.android.geojson.LineString
 
ListUtils - Class in com.cocoahero.android.geojson.util
 
ListUtils() - Constructor for class com.cocoahero.android.geojson.util.ListUtils
 

M

MultiLineString - Class in com.cocoahero.android.geojson
 
MultiLineString() - Constructor for class com.cocoahero.android.geojson.MultiLineString
 
MultiLineString(JSONObject) - Constructor for class com.cocoahero.android.geojson.MultiLineString
 
MultiLineString(JSONArray) - Constructor for class com.cocoahero.android.geojson.MultiLineString
 
MultiPoint - Class in com.cocoahero.android.geojson
 
MultiPoint() - Constructor for class com.cocoahero.android.geojson.MultiPoint
 
MultiPoint(JSONObject) - Constructor for class com.cocoahero.android.geojson.MultiPoint
 
MultiPoint(JSONArray) - Constructor for class com.cocoahero.android.geojson.MultiPoint
 
MultiPolygon - Class in com.cocoahero.android.geojson
 
MultiPolygon() - Constructor for class com.cocoahero.android.geojson.MultiPolygon
 
MultiPolygon(JSONObject) - Constructor for class com.cocoahero.android.geojson.MultiPolygon
 

O

optString(JSONObject, String) - Static method in class com.cocoahero.android.geojson.util.JSONUtils
 
optString(JSONObject, String, String) - Static method in class com.cocoahero.android.geojson.util.JSONUtils
 
optString(JSONArray, int) - Static method in class com.cocoahero.android.geojson.util.JSONUtils
 
optString(JSONArray, int, String) - Static method in class com.cocoahero.android.geojson.util.JSONUtils
 

P

parse(JSONObject) - Static method in class com.cocoahero.android.geojson.GeoJSON
Parses the given JSONObject as GeoJSON and returns a concrete subclass of GeoJSONObject corresponding to the type of the root object.
parse(String) - Static method in class com.cocoahero.android.geojson.GeoJSON
Parses the given String into a JSONObject, and then passes it to GeoJSON.parse(JSONObject).
parse(InputStream) - Static method in class com.cocoahero.android.geojson.GeoJSON
Parses the given InputStream into a JSONObject, and then passes it to GeoJSON.parse(JSONObject).
Point - Class in com.cocoahero.android.geojson
 
Point() - Constructor for class com.cocoahero.android.geojson.Point
 
Point(JSONObject) - Constructor for class com.cocoahero.android.geojson.Point
 
Point(JSONArray) - Constructor for class com.cocoahero.android.geojson.Point
 
Point(Position) - Constructor for class com.cocoahero.android.geojson.Point
 
Point(double, double) - Constructor for class com.cocoahero.android.geojson.Point
 
Point(double, double, double) - Constructor for class com.cocoahero.android.geojson.Point
 
Polygon - Class in com.cocoahero.android.geojson
 
Polygon() - Constructor for class com.cocoahero.android.geojson.Polygon
 
Polygon(Ring) - Constructor for class com.cocoahero.android.geojson.Polygon
 
Polygon(JSONObject) - Constructor for class com.cocoahero.android.geojson.Polygon
 
Polygon(JSONArray) - Constructor for class com.cocoahero.android.geojson.Polygon
 
Position - Class in com.cocoahero.android.geojson
 
Position(JSONArray) - Constructor for class com.cocoahero.android.geojson.Position
 
Position(double[]) - Constructor for class com.cocoahero.android.geojson.Position
 
Position(double, double) - Constructor for class com.cocoahero.android.geojson.Position
 
Position(double, double, double) - Constructor for class com.cocoahero.android.geojson.Position
 
Position(Location) - Constructor for class com.cocoahero.android.geojson.Position
 
PositionList - Class in com.cocoahero.android.geojson
 
PositionList() - Constructor for class com.cocoahero.android.geojson.PositionList
 
PositionList(JSONArray) - Constructor for class com.cocoahero.android.geojson.PositionList
 
PositionList(double[][]) - Constructor for class com.cocoahero.android.geojson.PositionList
 
PositionList(Parcel) - Constructor for class com.cocoahero.android.geojson.PositionList
 

R

readParcel(Parcel) - Static method in class com.cocoahero.android.geojson.GeoJSONObject
 
removeFeature(Feature) - Method in class com.cocoahero.android.geojson.FeatureCollection
Removes a given Feature from this feature collection.
removeGeometry(Geometry) - Method in class com.cocoahero.android.geojson.GeometryCollection
Removes the given Geometry from this geometry collection.
removeLineString(LineString) - Method in class com.cocoahero.android.geojson.MultiLineString
 
removePolygon(Polygon) - Method in class com.cocoahero.android.geojson.MultiPolygon
 
removePosition(Position) - Method in class com.cocoahero.android.geojson.LineString
 
removePosition(Position) - Method in class com.cocoahero.android.geojson.MultiPoint
 
removePosition(Position) - Method in class com.cocoahero.android.geojson.PositionList
 
removePositions(PositionList) - Method in class com.cocoahero.android.geojson.PositionList
 
removePositions(List<Position>) - Method in class com.cocoahero.android.geojson.PositionList
 
removeRing(Ring) - Method in class com.cocoahero.android.geojson.Polygon
 
Ring - Class in com.cocoahero.android.geojson
 
Ring() - Constructor for class com.cocoahero.android.geojson.Ring
 
Ring(JSONArray) - Constructor for class com.cocoahero.android.geojson.Ring
 
Ring(double[][]) - Constructor for class com.cocoahero.android.geojson.Ring
 
Ring(Parcel) - Constructor for class com.cocoahero.android.geojson.Ring
 

S

setAltitude(double) - Method in class com.cocoahero.android.geojson.Position
 
setFeatures(List<Feature>) - Method in class com.cocoahero.android.geojson.FeatureCollection
Sets the list of features contained within this feature collection.
setGeometries(List<Geometry>) - Method in class com.cocoahero.android.geojson.GeometryCollection
Sets the list of geometries contained within this geometry collection.
setGeometry(Geometry) - Method in class com.cocoahero.android.geojson.Feature
Sets the Geometry of this feature.
setIdentifier(String) - Method in class com.cocoahero.android.geojson.Feature
Sets the optional, common identifier of this feature.
setLatitude(double) - Method in class com.cocoahero.android.geojson.Position
 
setLineStrings(JSONArray) - Method in class com.cocoahero.android.geojson.MultiLineString
 
setLineStrings(List<LineString>) - Method in class com.cocoahero.android.geojson.MultiLineString
 
setLongitude(double) - Method in class com.cocoahero.android.geojson.Position
 
setPolygons(JSONArray) - Method in class com.cocoahero.android.geojson.MultiPolygon
 
setPolygons(List<Polygon>) - Method in class com.cocoahero.android.geojson.MultiPolygon
 
setPosition(Position) - Method in class com.cocoahero.android.geojson.Point
 
setPosition(JSONArray) - Method in class com.cocoahero.android.geojson.Point
 
setPositions(JSONArray) - Method in class com.cocoahero.android.geojson.LineString
 
setPositions(List<Position>) - Method in class com.cocoahero.android.geojson.LineString
 
setPositions(JSONArray) - Method in class com.cocoahero.android.geojson.MultiPoint
 
setPositions(List<Position>) - Method in class com.cocoahero.android.geojson.MultiPoint
 
setPositions(JSONArray) - Method in class com.cocoahero.android.geojson.PositionList
 
setPositions(PositionList) - Method in class com.cocoahero.android.geojson.PositionList
 
setPositions(List<Position>) - Method in class com.cocoahero.android.geojson.PositionList
 
setProperties(JSONObject) - Method in class com.cocoahero.android.geojson.Feature
Sets the properties of this feature.
setRings(JSONArray) - Method in class com.cocoahero.android.geojson.Polygon
 
setRings(List<Ring>) - Method in class com.cocoahero.android.geojson.Polygon
 
StreamUtils - Class in com.cocoahero.android.geojson.util
 
StreamUtils() - Constructor for class com.cocoahero.android.geojson.util.StreamUtils
 

T

toArray() - Method in class com.cocoahero.android.geojson.Position
 
toJSON() - Method in class com.cocoahero.android.geojson.Feature
Formats the object's attributes as GeoJSON.
toJSON() - Method in class com.cocoahero.android.geojson.FeatureCollection
Formats the object's attributes as GeoJSON.
toJSON() - Method in class com.cocoahero.android.geojson.GeoJSONObject
Formats the object's attributes as GeoJSON.
toJSON() - Method in class com.cocoahero.android.geojson.Geometry
Formats the object's attributes as GeoJSON.
toJSON() - Method in class com.cocoahero.android.geojson.GeometryCollection
Formats the object's attributes as GeoJSON.
toJSON() - Method in class com.cocoahero.android.geojson.LineString
 
toJSON() - Method in class com.cocoahero.android.geojson.MultiLineString
 
toJSON() - Method in class com.cocoahero.android.geojson.MultiPoint
 
toJSON() - Method in class com.cocoahero.android.geojson.MultiPolygon
 
toJSON() - Method in class com.cocoahero.android.geojson.Point
 
toJSON() - Method in class com.cocoahero.android.geojson.Polygon
 
toJSON() - Method in class com.cocoahero.android.geojson.Position
 
toJSON() - Method in class com.cocoahero.android.geojson.PositionList
 
toLocation() - Method in class com.cocoahero.android.geojson.Position
 
toString() - Method in class com.cocoahero.android.geojson.Position
 
toString(InputStream) - Static method in class com.cocoahero.android.geojson.util.StreamUtils
Decodes the contents of the provided InputStream into a String using the UTF-8 charset.
toString(InputStream, String) - Static method in class com.cocoahero.android.geojson.util.StreamUtils
Decodes the contents of the provided InputStream into a String using the charset denoted by the charsetName parameter.
TYPE_FEATURE - Static variable in class com.cocoahero.android.geojson.GeoJSON
 
TYPE_FEATURE_COLLECTION - Static variable in class com.cocoahero.android.geojson.GeoJSON
 
TYPE_GEOMETRY_COLLECTION - Static variable in class com.cocoahero.android.geojson.GeoJSON
 
TYPE_LINE_STRING - Static variable in class com.cocoahero.android.geojson.GeoJSON
 
TYPE_MULTI_LINE_STRING - Static variable in class com.cocoahero.android.geojson.GeoJSON
 
TYPE_MULTI_POINT - Static variable in class com.cocoahero.android.geojson.GeoJSON
 
TYPE_MULTI_POLYGON - Static variable in class com.cocoahero.android.geojson.GeoJSON
 
TYPE_POINT - Static variable in class com.cocoahero.android.geojson.GeoJSON
 
TYPE_POLYGON - Static variable in class com.cocoahero.android.geojson.GeoJSON
 

W

writeToParcel(Parcel, int) - Method in class com.cocoahero.android.geojson.GeoJSONObject
 
writeToParcel(Parcel, int) - Method in class com.cocoahero.android.geojson.Position
 
writeToParcel(Parcel, int) - Method in class com.cocoahero.android.geojson.PositionList
 
A C D E F G H I J L M O P R S T W 
Skip navigation links