Schema Central > niem40 > geometryBasic0d1d.xsd > gml:LineString
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

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

Type: gml:LineStringType

Properties: Global, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
gml:id [1..1]xsd:IDThe 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.from type gml:AbstractGMLType
srsName [0..1]xsd:anyURIfrom group gml:SRSReferenceGroup
srsDimension [0..1]xsd:positiveIntegerfrom group gml:SRSReferenceGroup
axisLabels [0..1]gml:NCNameListfrom group gml:SRSInformationGroup
uomLabels [0..1]gml:NCNameListfrom group gml:SRSInformationGroup

Used in

Substitution hierarchy

Sample instance

<gml:LineString gml:id="ID">
   <gml:metaDataProperty>
      <gml:GenericMetaData>Any text, intermingled with:
         <!--any element-->
      </gml:GenericMetaData>
   </gml:metaDataProperty>
   <gml:description>string</gml:description>
   <gml:descriptionReference/>
   <gml:identifier codeSpace="http://www.example.com/">string</gml:identifier>
   <gml:name>string</gml:name>
   <gml:pos>1.0 1.0</gml:pos>
</gml:LineString>