The documentation mentions that .png "snapshots" should be created for the writer. To my knowledge I have not seen any way to take images from fmes workbench viewer or inspector, therefore I assume you will have to create your own pngs for this.. Has anyone had a go at trying to write .bcfs in FME? I would love to see some best practices or how tos for this writer.
Regards
Fred
Regards
Fred
Page 1 / 1
Hello @freddy17 , thanks for posting! Unfortunately, we have no examples online for BCF writing. This format is fairly new to me, so if something doesn't make sense please let me know! I will do my best to re-explain properly.
Do you have any raster features in your dataset? It looks like the writer will write PNG snapshots from features with raster geometry. To be written, these features will need to have a xml_topic_guid attribute manually added to each feature.
It seems like the guid is used to create a directory in the dataset zip file, where all of the features with the same guid will be written to that folder (more or less grouping the snapshot with other features in the dataset). If there are multiple snapshots in the same topic, you will also need to manually assign xml_viewpoint_id as well. This information can be found here.
It doesn't look like there are many value constraints by the writer for these attributes. However, it does get used to create a file directory, so that would provide some basic constraints: no slashes, limited special characters, etc. Hope this helps, Kailin
Hi Kailin
Thank you for your input. I looked at the documentation, but found that the writer wanted a whole list of attributes that I wasnt sure how to package properly, because the bcf zip is a combination of file types.
So I found a work around.
Because I am creating my own pngs, I created my own camera vectors in fme and wrote them into separate xml_topic_guid xml files.
Each topic is then created in a folder with all needed files and all the topcis is zipped together. By renaming the zip file to a bcfzip, I managed to fake write a bcfzip file!
.
Hi Freddie,
Are you able to elaborate on how you created your viewpoint XML files from the PNG in FME (if that's what you're describing in your reply)? I imagine you created the PNGs from opening up the failed features in a BIM software and either took a screenshot or exported the view in PNG from the BIM Software? I'm mostly seeing if the viewpoint XML schema was automatically created in FME, or if you had to extract those viewpoint values from a BIM software and plug them into a XML file you created yourself (example below)