Solved
Exposing attributes from Spatial Relator
I used a spatial relator for a project to show counties that state parks are in. After the spatial relator complete it gave me attributes _relationships(0).name and so on and the I have a few names for each park since the parks go into multiple counties. But when I write the end files out the _relationship().name attributes are emplty. On the FME data inspector it has values
Best answer by roland.martin
Hi,
If they have {}s in the name, that's a list - a bit like an array in programming. A lot of formats won't accept them without a bit of extra processing. Try one of the following:
- ListConcatenator - concatenate all the values for each item with a comma
- ListExploder - create a separate feature for each list value
- AttributeRenamer - rename all the list values to specific attribute names
Hope this helps!
Roland.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

