gml:LineString

A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. The number of direct positions in the list shall be at least two.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
axisLabels gml:NCNameList optional
gml:id ID required
The attribute gml:id supports provision of a handle for the XML element representing a GML Object. Its use is mandatory for all GML objects. It is of XML type ID, so is constrained to be unique in the XML document within which it occurs.
srsDimension positiveInteger optional
srsName anyURI optional
uomLabels gml:NCNameList optional

Source

<element name="LineString" type="gml:LineStringType" substitutionGroup="gml:AbstractCurve">
  <annotation>
    <documentation>A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. The number of direct positions in the list shall be at least two.</documentation>
  </annotation>
</element>

Sample