Here is my use-case, I am looking to write a singular FME workflow that takes XMLs from Overpass (full of building ways, parts and relations), runs them through OSM2World to get OBJs and then finally converts them to CityGML with FME.
I have it working in principal (https://github.com/stirringhalo/osm2citygml) and with tweaks to the Overpass query, I have it working for either all buildings in a bounding box, or all building parts of a relation, etc.
My question is this: What is the best approach in FME to either split an OBJ such that each building is a feature (so that each bounding box isn't a single CityGML feature) or failing that, iterate every building using Overpass or similar so that I can feed it into OSM2World and FME? Or would it be simpler to not merge geometries but then how would I eventually add attributes to buildings if each feature is disjoint?
I'd like to avoid running each building through FME directly as I've noticed the startup time for FME is slow, so it would accumulate pretty dramatically for a large number of buildings
The FME workspace is here https://raw.githubusercontent.com/stirringhalo/osm2citygml/master/osm2citygml.fmw