Routing API Developer's Guide

GeoPolygonType

While the CoordinatesArrayType merely defines an ordered list of coordinates, the GeoPolygonType can be used to express that the subsequent connection between the points form a polygon. In contrast to the CoordinatesArrayType, it is assumed that the last coordinate within the list is connected with the first coordinate and thus constructs an enclosed geometry.

The GeoPolygonType directly derives from the CoordinatesArrayType and can be represented in the same manner.