# The value of a geometry must itself be an object with the following name/value pairs:
 
# The value of a geometry must itself be an object with the following name/value pairs:
 
#* 'type' - [Point | LineString | Polygon | Box | MultiPoint | MultiLineString | MultiPolygon | GeometryCollection]
 
#* 'type' - [Point | LineString | Polygon | Box | MultiPoint | MultiLineString | MultiPolygon | GeometryCollection]
#* For 'type' [Point | LineString | Box | MultiPoint]:
+
#* For 'type' [Point | LineString | Polygon | Box | MultiPoint]:
 
#** 'coordinates' - A coordinate consists of an array of two or three number values representing x, y, and optionally z.  In the case of a Point, the value of coordinates is an array consisting of a single coordinate (i.e. an array of two or three number values).  In all other cases, an array of coordinates as in Point, restricted as follows:
 
#** 'coordinates' - A coordinate consists of an array of two or three number values representing x, y, and optionally z.  In the case of a Point, the value of coordinates is an array consisting of a single coordinate (i.e. an array of two or three number values).  In all other cases, an array of coordinates as in Point, restricted as follows:
 
#*** A LineString must have at least two coordinates.
 
#*** A LineString must have at least two coordinates.
 
#*** A Box must have exactly two coordinates.
 
#*** A Box must have exactly two coordinates.
 +
#*** A Polygon must have at least four coordinates, with the first and last coordinates coincident, i.e. the geometry must be closed.
 
#*** A MultiPoint must have at least two coordinates.
 
#*** A MultiPoint must have at least two coordinates.
 
#* For 'type' [Polygon]:
 
#* For 'type' [Polygon]:
Exception encountered, of type "Error"