Geography Markup Language (GML v2.1.2) Writer Parameters
Schema Mode
Controls the GML2 writer operation mode.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
在此模式下,GML2编写器会产生符合其的实例文档FMEFeatures.xsdschema. TheFMEFeatures.xsdfile is in the folder
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
In this mode, the GML2 writer creates two GML documents:
- a GML application schema, and
- 一个符合架构的GML即时文档
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。xmpand its filename basename is the same as that specified in Dataset.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
在此模式下,GML2编写器产生格式化的实例文档,以便可以通过ESRI互操作性GML扩展读取它们。
命名空间选项
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
The parameter specifies the GML application schema target namespace prefix. The default value for this parameter isfme。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
This parameter specifies the GML application schema target namespace URI. The default value for this parameter ishttp://www.亚搏在线safe.com/gml/fme.。
不te 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.
Advanced
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
This parameter is used only in theFME Profile模式模式。根据该参数指定URLma location for the target namespace pair in the GML instance’sXSI:Schemalocation.attribute.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
This parameter specifies the encoding that is to be used for the XML documents that GML2 writer outputs (for example, UTF-8).
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
此参数指定FME功能数据的编码。未指定时,假定要素数据与系统的编码进行编码。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
This parameter specifies the encoding of the FME mapping file. When not specified, the FME mapping file is assumed to be encoded in the system’s encoding.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
Yes changes the root element in the output document
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
指定要应用于最终输出文档的XSLT样式表。
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
This parameter only takes effect when it is used in conjunction with theXSLT Stylesheet to Apply范围。
When set toYes, 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.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
When set toYes, 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.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
Yes: Every GML writer DEF line is translated to the output GML application schema document as an XML Schema element declaration and a corresponding complex type definition.
不(Default): Directs the writer to ignore those DEF lines that have no corresponding feature instances.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
Instructs the writer to write out only the.xsd.文件,只有。gmldocument, or both documents.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
This parameter suppresses the output of theXSI:Schemalocation.attribute in the GML instance’s root element. TheXSI: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 theXSI:Schemalocation.attribute in the output GML instance. The default setting is No.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
This parameter allows the simple list attributes (the attributes that specified in the GML2DEF lineswith a “{}” suffix) to be carried in the FME features as multi-value attributes.
When set toYes,GML2编写器不会指望FME功能包含简单列表属性;相反,使用def行中定义的每个属性{}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
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_ReadersWriters/Skins/Default/Stylesheets/Images/transparent.gif)
This parameter is valid whenLists in Multi-Value Attributesis set toYes。它指定用于将要视为简单列表的多价属性的令牌分离器(例如,逗号)。