OGC GML v2.1.2 (Geography Markup Language) Writer Parameters
Advanced
Specifies the location for the XML Schema Document. If the parameter is not specified or if it does not contain a path, the XML schema document is generated in the same folder as the one specified through the Writer dataset.
The parameter specifies the GML application schema target namespace prefix. The default value for this parameter is fme.
This parameter specifies the GML application schema target namespace URI. The default value for this parameter is http://www.safe.com/gml/fme.
Note that a URI is a label only (usually an ownership identifier), and the XML Namespace specification does not require that the URI be used for information retrieval. Using a URI (rather than a simple string) to identify a namespace reduces the probability of different namespaces having duplicate identifiers.
This parameter is used only in the FME Profile schema mode. This parameter specifies the URL schema location for the target namespace pair in the GML instance’s xsi:schemaLocation attribute.
This parameter specifies the encoding that is to be used for the XML documents that GML2 writer outputs (for example, UTF-8).
Yes changes the root element in the output document <wfs:FeatureCollection>. The default value for this parameter is No.
Specify an XSLT stylesheet to be applied to the final output document.
This parameter only takes effect when it is used in conjunction with the XSLT Stylesheet to Apply parameter.
When set to Yes, a temporary file is written in the same folder at the location specified in the writer, the stylesheet is applied to the to temporary file and deleted after the stylesheet transform. and the result of the transformation is stored in the output dataset file.
When set to Yes, this parameter suppresses printing of the attributes which are specified in the DEF lines but are not present in the FME features that are passed into the GML writer.
- Yes: Every GML writer feature type is translated to the output GML application schema document as an XML Schema element declaration and a corresponding complex type definition.
- No (Default): Directs the writer to ignore those feature types that have no corresponding feature instances.
Instructs the writer to write out only the .xsd document, only the .gml document, or both documents.
This parameter suppresses the output of the xsi:schemaLocation attribute in the GML instance’s root element. The xsi:schemaLocation in an XML document instance is not a mandatory attribute – it is merely a hint that an XML processor may choose to ignore.
Setting this parameter to Yes suppresses the output of the xsi:schemaLocation attribute in the output GML instance. The default setting is No.
This parameter allows the simple list attributes (the attributes that specified in the GML2 DEF lines with a “{}” suffix) to be carried in the FME features as multi-value attributes.
When set to Yes, the GML2 writer will not expect the FME features to contain simple list attributes; instead, every attribute that is defined in the DEF lines with a {} suffix is expected to be a single attribute such that its value is a token separated lists of values, a multi-value attribute.
Can be used in conjunction with: Multi-Value Separator
This parameter is valid when Lists in Multi-Value Attributes is set to Yes. It specifies the token separator (for example, a comma) used for the multi-value attributes that are to be treated as simple lists.
Schema Mode
Controls the GML2 writer operation mode.
In this mode, the GML2 writer produces instance documents that conform to the FMEFeatures.xsd schema. The FMEFeatures.xsd file is in the folder <FME_installation>/xfMap. In most installations, this location is: C:\Program Files\FME_<version>\xfmap.
In this mode, the GML2 writer creates two GML documents:
- a GML application schema, and
- a GML instant document that conforms to the schema
A third XML document may also be created. This document can be used by the XML Reader to read back into FME the GML instances that are created in this mode. The xfMap document is created in the same folder as the one that is specified in the Dataset parameter. The document’s filename extension is .xmp and its filename basename is the same as that specified in Dataset.
In this mode, the GML2 writer produces instance documents that are formatted so they can be read by the Esri Interoperability GML extension.