As soon as I try to fan out data to windows folders the KMLStyler no longer works. I expect the "Style" feature is no longer written to the KML file at all. I have no idea how to fix this. I have a simple example which works when I remove fan out. I fan out to a folder based on an attribute in a clipper and create a kml in that folder with the a name using fme_feature_type. Thanks in advance, Ian
Thanks for your reply, I attach the workspace, the data is too big, but the inputs are just 2 polygon datasets, one clips the other and fans out to a folder based on an attribute from the clipper. When I don't fan out the styler works.
Since I do not have the data, it is a bit difficult for me to look at the problem. Could you please try to fan out with a different Attribute?
Would you be able to share the data as well?
You have set an attribute called "ABBREV_NAME" to the Fanout Expression for the KML writer, but the features coming from the KMLStyler transformers don't have the attribute. I think it's the reason why the features won't be written into your desired destination KML dataset.
Thanks for your responses, I attach a workspace that uses data small enough to attach along with the data.
I would just like to give an update. As takashi says, the problem is to do with not having the fan out attribute in the stylers. I have disabled the creator and fed in the feature type with the fan out attribute directly into the Stylers and then removed the geometry before outputting to the Style (of the kml). This seems to work. Could someone shed light on whether this is the best way to do this?
Thanks again
Ian
Since I do not have the data, it is a bit difficult for me to look at the problem. Could you please try to fan out with a different Attribute?
Would you be able to share the data as well?
You are looking for the 'Somerset' features using the Tester in the "ABBREV_NAME" which are missing or not available.
Since I do not have the data, it is a bit difficult for me to look at the problem. Could you please try to fan out with a different Attribute?
Would you be able to share the data as well?
I would just like to give an update. As takashi says, the problem is to do with not having the fan out attribute in the stylers. I have disabled the creator and fed in the feature type with the fan out attribute directly into the Stylers and then removed the geometry before outputting to the Style (of the kml). This seems to work. Could someone shed light on whether this is the best way to do this?
Thanks again
Ian