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,
View original
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 a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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 a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.