Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# Collections

## Modules
| MgBatchPropertyCollection
| MgCollection
| MgPropertyCollection
| MgStringCollection
| MgCoordinateCollection
| MgCurvePolygonCollection
| MgCurveRingCollection
| MgCurveSegmentCollection
| MgCurveStringCollection
| MgGeometryCollection
| MgLinearRingCollection
| MgLineStringCollection
| MgPointCollection
| MgPolygonCollection
| MgIntCollection
| MgPropertyDefinitionCollection
| MgReadOnlyLayerCollection
| MgClassDefinitionCollection
| MgFeatureCommandCollection
| MgFeatureSchemaCollection

## Detailed Description

One of the functions of collections is to serve as a repository for intermediate results. In this role, a collection is a helper class. An example is the construction of an MgLineString geometry. From the perspective of construction, this geometry is a set of coordinates. The sequence of construction is:

1. create a coordinate
2. add coordinate to coordinate collection
3. do 1 and 2 until all coordinates created
4. create the line string using coordinate collection

See Geometry Collections for the list of collections used in the construction of geometries.

Comments or suggestions? Send us feedback.