Documentation for CityGML

Complex Type: TexCoordGenType

[Table of contents]

Super-types: gml:AbstractGMLType < TextureParameterizationType (by extension) < TexCoordGenType (by extension)
Sub-types: None
Name TexCoordGenType
Used by (from the same schema document) Element TexCoordGen
Abstract no
Documentation Texture parameterization using a transformation matrix. The transformation matrix "worldToTexture" can be used to derive texture coordinates from an object's location. This 3x4 matrix T computes the coordinates (s,t) from a homogeneous world position p as (s,t) = (s'/q', t'/q') with (s', t', q') = T*p. Thus, perspective projections can be specified. The SRS can be specified using standard attributes. If an object is given in a different reference system, it is transformed to the SRS before applying the transformation. A transformation matrix can be used for whole surfaces. It is not required to specify it per LinearRing.
XML Instance Representation
<...
gml:id="[0..1]">
<gml:description> ... </gml:description> [0..1]
<gml:name> ... </gml:name> [0..*]

'Multiple names may be provided. These will often be distinguished by being assigned by different authorities, as indicated by the value of the codeSpace attribute. In an instance document there will usually only be one name per authority.'

<worldToTexture
srsName="anyURI [0..1]

'In general this reference points to a CRS instance of gml:CoordinateReferenceSystemType (see coordinateReferenceSystems.xsd). For well known references it is not required that the CRS description exists at the location the URI points to. If no srsName attribute is given, the CRS must be specified as part of the larger context this geometry element is part of, e.g. a geometric element like point, curve, etc. It is expected that this attribute will be specified at the direct position level only in rare cases.'

"

srsDimension="positiveInteger [0..1]

'The \"srsDimension\" is the length of coordinate sequence (the number of entries in the list). This dimension is specified by the coordinate reference system. When the srsName attribute is omitted, this attribute shall be omitted.'

"

axisLabels=" gml:NCNameList [0..1]

'Ordered list of labels for all the axes of this CRS. The gml:axisAbbrev value should be used for these axis labels, after spaces and forbiddden characters are removed. When the srsName attribute is included, this attribute is optional. When the srsName attribute is omitted, this attribute shall also be omitted.'

"

uomLabels=" gml:NCNameList [0..1]

'Ordered list of unit of measure (uom) labels for all the axes of this CRS. The value of the string in the gml:catalogSymbol should be used for this uom labels, after spaces and forbiddden characters are removed. When the axisLabels attribute is included, this attribute shall also be included. When the axisLabels attribute is omitted, this attribute shall also be omitted.'

"
> [1]
TransformationMatrix3x4Type
</worldToTexture>
</...>
Diagram
Schema Component Representation
<xs:complexType name="TexCoordGenType">
<xs:complexContent>
<xs:extension base=" TextureParameterizationType ">
<xs:sequence>
<xs:element name="worldToTexture">
<xs:complexType>
<xs:simpleContent>
<xs:extension base=" TransformationMatrix3x4Type ">
<xs:attributeGroup ref=" gml:SRSReferenceGroup "/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element ref=" _GenericApplicationPropertyOfTexCoordGen " minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>