Skip to main content
Question

Xml_geometry and xml_templater

  • November 20, 2017
  • 1 reply
  • 31 views

Forum|alt.badge.img

Hi everybody

Can you confirm the new capability in FME 2017 to fill a field [xml_geometry ] in schema AIXM 5 only with a xmltemplater. ?

How to fill the gml_id field, or srsName, or some traits inside them ( depending the number of feature which are read in input data) ?

Have you the possibility to post an example of the use of xmltemplater to fill such xml_geometry nested structures ? (Airportheliport or inspire ?)

I have some examples of fields Structure {} written with an xmltemplater. How do i put these fields inside the destination schema ( AirspaceTimeSlice ) without using geometrypropertysetter, aggregator. ....

Thanks

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

Forum|alt.badge.img+2
  • November 21, 2017

I've attached an example workspace that illustrates how to use the XMLTemplater to build the nested geometry structures for Airspace that are required by AIXM. It requires FME 2017.1.1 build 17650 or later as there was a patch added to XMLTemplater. The key lines in the XMLTemplater are:

<aixm:Surface srsName="urn:ogc:def:crs:EPSG::4326" gml:id="s_{fme:get-attribute("gml_id")}"> {fme:get-xml-attribute("_geometry2")}

where the geometry and the id is set.

creategml-v5-2017.fmwt