span8
span4
span8
span4
In this demo we read UN gazetteer shape data and use the INSPIRE* GML Writer to write complex GML 3.2.1 data compliant with the INSPIRE Annex I Geographic Names application schemas. The workspace handles the complete process of data translation, transformation and GML generation. The first part of the workspace assembles the source data via the necessary source files and joins, and then transforms it to the INSPIRE schema using schema mapping. The second half of the workspace involves taking the relational geographic names data and writing it out as GML 3.2.1 data compliant with the INSPIRE Geographic Names application schemas.
Note: this article has been updated for FME 2014.For FME 2013 and prior seeINSPIRE Geographic Names Demo (FME 2011 to 2013 only).
attribute name mapping
maps source field TEXT to destination GeographicalName.spellingOfName.text
conditional value mapping rule
where source CNTRY_NAME = "Italy" create field GeographicalName.language and set the value to "Italian"
When you run the demo, confirm that your XML validates both for syntax and against the INSPIRE application schemas. Also, confirm that you have created valid INSPIRE GML by reading it with the INSPIRE GML Reader. There is no need to manually specify the Annex I INSPIRE application schemas. FME ships with these and automatically recognizes and reads INSPIRE data.
Note while this demo yields INSPIRE compliant GML, it is included here for demo purposes only, does not populate all optional fields, and uses default field values in many cases. Still, the logic and patterns shown here are relevant to any transformation for reading multiple data sources, transforming to an INSPIRE schema and writing to INSPIRE schema compliant GML.
Note: This example is for demonstration purposes only. The resulting data is not to be used for any operational purposes.
* INSPIRE is a European Union directive that aims to create a spatial data infrastructure of EU data, which will enable policy making, especially environmental, across boundaries. INSPIRE also aims to improve public access to spatial information. For more information please visit theINSPIRE website.
© 2019 Safe Software Inc |Legal