gml:defaultStyle
Top-level property. Used in application schemas to "attach" the styling information to GML data. The link between the data and the style should be established through this property only.
Element information
Namespace: http://www.opengis.net/gml/3.2
Schema document: external/ogc/gml/3.2.1/defaultStyle.xsd
Type: gml:DefaultStylePropertyType
Properties: Global, Qualified
Content
- gml:Style [0..1]Predefined concrete value of the top-level property. Encapsulates all other styling information.
from subst. group gml:AbstractStyle
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
about | [0..1] | xsd:anyURI | ||
nilReason | [0..1] | gml:NilReasonType | from group gml:AssociationAttributeGroup | |
gml:remoteSchema | [0..1] | xsd:anyURI | from group gml:AssociationAttributeGroup |
Sample instance
<gml:defaultStyle> <gml:Style 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:featureStyle> <gml:FeatureStyle gml:id="ID">... </gml:FeatureStyle> </gml:featureStyle> <gml:graphStyle> <gml:GraphStyle gml:id="ID">... </gml:GraphStyle> </gml:graphStyle> </gml:Style> </gml:defaultStyle>