NSDictionary(SGGeoJSONObject)


Ease the pain of accessing SimpleGeo GeoJSON values.

Extends Class: NSDictionary
Declared In: GeoJSON+NSDictionary.h



Methods

-coordinates

Returns the GeoJSONObject associated with the key coordinates. 

-created

Returns the value associated with the key created.

-expires

Returns the value associated with the key expires

-features

Returns the GeoJSONObject associated with the key features.

-geometry

Returns the GeoJSONObject associated with the key at geometry. 

-id

Returns the value associated with the key id.

-isFeature

Determines whether this GeoJSON object is a feature.

-isFeatureCollection

Determines whether this GeoJSON object is a collection of features.

-isPoint

Determines whether this GeoJSON object is a point. 

-layerLink

Use this URL string to obtain information about the layer this GeoJSON object resides in.

-properties

Returns the GeoJSONObject associated with the key properties.

-selfLink

The URL used to retrieve information about this GeoJSON object.

-type

Retrieves the type value for this GeoJSONObject. 


coordinates


Returns the GeoJSONObject associated with the key coordinates. 

- (NSArray*) coordinates; 
Return Value

The coordinates GeoJSONObject.


created


Returns the value associated with the key created.

- (double) created; 
Return Value

The created value.

Discussion

This is a value specific to SimpleGeo. The GeoJSON spec (http://geojson.org/geojson-spec.html) allows key/values to be defined at the top-level of the object.


expires


Returns the value associated with the key expires

- (double) expires; 
Return Value

The expires value.

Discussion

This is a value specific to SimpleGeo. The GeoJSON spec (http://geojson.org/geojson-spec.html) allows key/values to be defined at the top-level of the object.


features


Returns the GeoJSONObject associated with the key features.

- (NSArray*) features; 
Return Value

The features GeoJSONObject.


geometry


Returns the GeoJSONObject associated with the key at geometry. 

- (NSDictionary*) geometry; 
Return Value

The geometry GeoJSONObject.


id


Returns the value associated with the key id.

- (NSString*) id; 
Return Value

The id value.

Discussion

This is a value specific to SimpleGeo. The GeoJSON spec (http://geojson.org/geojson-spec.html) allows key/values to be defined at the top-level of the object.


isFeature


Determines whether this GeoJSON object is a feature.

- (BOOL) isFeature; 
Return Value

YES if the object is a feature; otherwise NO.


isFeatureCollection


Determines whether this GeoJSON object is a collection of features.

- (BOOL) isFeatureCollection; 
Return Value

YES if the object is a collection of features; otherwise NO.


isPoint


Determines whether this GeoJSON object is a point. 

- (BOOL) isPoint; 
Return Value

YES if the object is a point; otherwise NO.


layerLink


Use this URL string to obtain information about the layer this GeoJSON object resides in.

- (NSString*) layerLink; 
Return Value

The URL string of this object's layer.


properties


Returns the GeoJSONObject associated with the key properties.

- (NSDictionary*) properties; 
Return Value

The properties GeoJSONObject.


selfLink


The URL used to retrieve information about this GeoJSON object.

- (NSString*) selfLink; 
Return Value

A URL string. 


type


Retrieves the type value for this GeoJSONObject. 

- (NSString*) type; 
Return Value

The type value for the object.

© SimpleGeo Last Updated: 03/31/2010