span8
span4
span8
span4
Here are the steps of how you would use a non-fme prefix with the WFS service in FME Server 2011:
1.Generate the default FME Server WFS service GetCapabilities and DescribeFeatureType XML responses and save them in separate files.
2.Modify the XML docs by replacing the 'fme:' prefix with the correct non-fme prefix and then save them.
3.In the workspace publishing wizard:
a.Upload your custom XML docs as workspace resources.
b.On the service registration page,open the WFS service parameters dialog (Edit button).Enter the names of the GetCapabilities and DescribeFeatureType XML response docs.
Additional procedure for multiple non-fme prefixes
If your output GML needs to contain multiple non-fme namespace prefixes,then the GML writer can't meet this need as it only supports a single namespace prefix.In these cases,a more complex workspace and 亚搏在线workflow is required.The general procedure is:
1.Create a template(s) for use in the XMLTemplater transformer(s).The template(s) will reflect the desired GML output with fme specific xQuery functions (e.g.fme:get-attribute(...)) where values should be inserted from attributes on features.
2.Create a workspace that reads your source data and clips it as required.The standard WFS workspace parameters such as version and bounding box should be present.
3.Use the XMLTemplater transformer(s) to read the template(s) and add the values from the features.
4.Validate the XML with the XMLValidater transformer.
5.Write out the XML with the Text File writer.No GML writer should be p
© 2019 亚搏在线Safe Software Inc |法律