Last week, we published the new HALE 2.6.0 release. There is one particular feature that we have added in collaboration with Safe Software that I’d like to highlight: The integration of HALE and the CST engine as a GML Writer in the upcoming FME 2014 release. This integration reflects what I and other had been doing for a while now:
- Start FME and use the readers to import from a wide range of formats such as an Esri File Geodatabase,
- Perform operations that are only possible in FME, such as Geometry calculations,
- then write out a simple feature style output schema using a GML or SHP writer,
- then start HALE to map the data to the actual target schema, e.g. an INSPIRE Application Schema,
- and lastly, use HALE/CST to create the final GML product.
In other words, you can use HALE to either perform the mapping to the complex schema after all other data preparation in FME, or you create a subset of a complex data set before you go to FME. To make the new integrated workflow work, you’ll need FME 2014 and HALE 2.6.0 installed. These are the steps after installation of both tools:
1. Start FME. Add readers and transformers as needed.
2. Add the HALE GML/XML Writer.
3. Open the Parameters for the HALE GML/XML Writer and set at least a *.halex project file location and the path to the HALE executable:
4. Add a Feature Type to the Writer, e.g. by right-clicking on the canvas and selecting “Insert Feature Type…”. Either import a Feature type from any data set or, after creating the Feature type, manually define its schemas using the “User Attributes” tab in the Feature Type’s properties.
5. Connect the last transformer in the workspace to the writer as appropriate to have a complete workspace such as this one:
6. Set any necessary additional writer attributes, such as the number of features you want to use in HALE for interactive transformation. Also pay specific attention to the “Execution Mode” setting. “Schema Transformation” will just execute the project given in Step 3, while “Update Mapping” will launch the HALE UI to enable you to create/update a halex project. “Auto” switches between these two modes depending on whether a file is already present in the indicated halex location:
7. Execute the workbench, and see either HALE or CST get fired up in the final writing phase!
A press release giving more information is also available.