span8
span4
span8
span4
Idea by takashi · · liststransformers
takashi commented ·
Yes, hope the enhancement will be done.
I found two workarounds except Python/Tcl scripting so far.
1. Split the source comma-separated values with AttributeSplitters, then rename the lists with a BulkAttributeRenamer.
JSON Template Expression
{ "_list" : [ let $types := fn:tokenize(fme:get-attribute("Types"), '\s*,\s*') let $values := fn:tokenize(fme:get-attribute("Values"), '\s*,\s*') for $name at $i in fn:tokenize(fme:get-attribute("Names"), '\s*,\s*') return { "Name" : $name, "Type" : $types[$i], "Value" : $values[$i] } ] }
jdh commented ·
I would also like to see an enhancement to the ListRenamer to turn a simple list into a structured list.
Share your great idea, or help out by voting for other people's ideas.
Add a Transformer to Perform Iterative Operations for List Attributes - ListIterator (tentative)
Improve StringPairReplacer to allow multiple attributes selection
DateFormatter Regular Expression support
Add Description as attribute with reading WorkspaceProperties like Usage and Requirements
Add a Warning message whenever the PointOnAreaOverlayer transformer deaggregates MultiPart polygons
Removing parameters should invalidate transformers instead of resolving default value
Enable PythonCaller to deal with lists that contain non-string values
© 2019 Safe Software Inc | Legal