Class Index | File Index

Classes


Class madrona.Formats


Defined in: formats.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a new Formats object.
Method Summary
Method Attributes Method Name and Description
 
geojsonToKmlPlacemark(geojson_obj,)
Builds the kml placemark representation from a geojson encoded polygon
 
geojsonToWkt(geojson_obj,)
Builds the wkt polygon representation from a geojson polygon representation
 
innerKml(coords,)
Called from geojsonToKml Builds the coordinate related kml from a geojson list of coordinates
 
kmlToWkt(shape)
 
Class Detail
madrona.Formats()
Creates a new Formats object.
Method Detail
geojsonToKmlPlacemark(geojson_obj,)
Builds the kml placemark representation from a geojson encoded polygon
Parameters:
{Geojson} geojson_obj,
geojson representation of a polygon

geojsonToWkt(geojson_obj,)
Builds the wkt polygon representation from a geojson polygon representation
Parameters:
{Geojson} geojson_obj,
geojson representation of a polygon

innerKml(coords,)
Called from geojsonToKml Builds the coordinate related kml from a geojson list of coordinates
Parameters:
{List} coords,
geojson list of coordinates

kmlToWkt(shape)
Parameters:
shape

wktPolyToKml(wkt)
Parameters:
wkt

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Oct 30 2012 11:34:31 GMT-0700 (PDT)