# gml:trianglePatches

## Element information

Namespace: http://www.opengis.net/gml/3.2

Schema document: external/ogc/gml/3.2.1/deprecatedTypes.xsd

Type: gml:SurfacePatchArrayPropertyType

Properties: Global, Qualified

## Content

- Choice [0..*]
- gml:PolygonPatchA gml:PolygonPatch is a surface patch that is defined by a set of boundary curves and an underlying surface to which these curves adhere. The curves shall be coplanar and the polygon uses planar interpolation in its interior. interpolation is fixed to "planar", i.e. an interpolation shall return points on a single plane. The boundary of the patch shall be contained within that plane.
- gml:Trianglegml:Triangle represents a triangle as a surface patch with an outer boundary consisting of a linear ring. Note that this is a polygon (subtype) with no inner boundaries. The number of points in the linear ring shall be four. The ring (element exterior) shall be a gml:LinearRing and shall form a triangle, the first and the last position shall be coincident. interpolation is fixed to "planar", i.e. an interpolation shall return points on a single plane. The boundary of the patch shall be contained within that plane.
- gml:Rectanglegml:Rectangle represents a rectangle as a surface patch with an outer boundary consisting of a linear ring. Note that this is a polygon (subtype) with no inner boundaries. The number of points in the linear ring shall be five. The ring (element exterior) shall be a gml:LinearRing and shall form a rectangle; the first and the last position shall be coincident. interpolation is fixed to "planar", i.e. an interpolation shall return points on a single plane. The boundary of the patch shall be contained within that plane.

from subst. group gml:AbstractSurfacePatchfrom subst. group gml:AbstractGriddedSurface

## Attributes

*None*

## Used in

- Type gml:SurfaceType (Elements gml:Surface, gml:PolyhedralSurface, gml:TriangulatedSurface)
- Type gml:TinType via extension of gml:SurfaceType (Element gml:Tin)

## Substitution hierarchy

- gml:patches
- can be substituted with gml:trianglePatches

## Sample instance

<gml:trianglePatches> <gml:PolygonPatch> <gml:exterior> <gml:LinearRing>... </gml:LinearRing> </gml:exterior> <gml:interior> <gml:LinearRing>... </gml:LinearRing> </gml:interior> </gml:PolygonPatch> </gml:trianglePatches>