FME Flow Automations Writer Parameters
Debug Parameters
Debug Output Folder
This is only used when running on FME Form. It specifies the root directory that is used for the GeoJSON object streams.
This folder enables the user to test and debug workspaces locally. For each feature type defined in the writer, there is a subfolder that has the same name as the feature type. Each folder contains a single file which contains exactly one message that would be sent within the Automations framework.
This makes it easy to inspect and ensure that the workspace is acting as desired before publishing it to FME Flow and putting it in the workflow.
Automation ID
This is optional and written to each JSON Object if specified.
Automation Node ID
This is optional and written to each JSON Object if specified.
Job ID
This is optional and written to each JSON Object if specified.
Port Mapping
This parameter is primarily used internally to test the FME Flow Automations Writer routing.
It instructs the FME Flow Automations Writer on how to connect the output feature types to the correct ports when run in FME Flow.
The field must contain a single JSON object with the following:
{
"port_to_topic": [
{
"port": "... feature type name ...",
"topic" : "... topic name ..."
},
…. ….
,
{
"port": "... feature type name ...",
"topic" : "... topic name ..."
}
]
}
Geometry
Convert Areas to Counterclockwise
- Yes (default) – Area and donut geometries will be converted to a "right-hand" orientation (that is, outer boundaries will be in a counterclockwise orientation and inner boundaries will be in a clockwise orientation).
- No – These geometries will be written out in their existing orientation.
Reproject to WGS84
- Yes – Reprojects all features to the WGS84/EPSG:4326 coordinate system.
- No – Writes feature geometries in the coordinate system they had when arriving at the writer.
If the feature geometry is in WGS84/EPSG:4326 coordinate system, the Automations writer will not write a crs key in the GeoJSON object. If the feature geometry is not in WGS84/EPSG:4326 coordinate system, a crs key will be written. See Custom CRS Parameter for an example.
Custom CRS Parameter
This parameter can overwrite the CRS value that is written in the GeoJSON object. If this parameter is set, Automations writer will always output a crs key in the GeoJSON object.
{
“type”:”Feature”,
“crs”: {
“type”: “name”,
“properties”: { “name”: “CustomCrsParameter” }
},
“geometry”:{
“type”:”Point”,
“coordinates”: [100.0, 0.0]
}
}