You can create a user parameter for your workspace, fill that with the GeoJSON string and then use a GeometryReplacer to build geometry, using that parameter as source.
You can create a user parameter for your workspace, fill that with the GeoJSON string and then use a GeometryReplacer to build geometry, using that parameter as source.
Thank you. I am totally new to FME and after struggling for a day, I still could not figure out how to use the geometry placer in FME Workbench. Attached is a very simple workspace where I am creating user parameter called data. I give it as a source to GeometryReplacer and try to write the output. But I am not getting any result out of the geometry replacer. Could you please let me know what I am doing wrong?
Thank you. I am totally new to FME and after struggling for a day, I still could not figure out how to use the geometry placer in FME Workbench. Attached is a very simple workspace where I am creating user parameter called data. I give it as a source to GeometryReplacer and try to write the output. But I am not getting any result out of the geometry replacer. Could you please let me know what I am doing wrong?
This turned out to be a little bit more complex than I thought, as the json contains more than just geometry.
You'll need to use a Creator to kick things off, then an AttributeCreator to store the parameter value in an attribute. Then a JSONFragmenter and JSONFlattener to tear the JSON apart and a GeometryReplacer to build geometry.
Worked like a charm!! Thank you very much for the help and effort.