I have a floor plan in AutoCAD. I care about two layers (Room_No and Room_Name). In Room_Name, names that span more than one line (usually word) are different features in the same layer. For example Exam Room will be two different items on the layer. I need to group these two items (words) so I can eventually concatenate them to be Exam Room. Based on my experience scraping data from other sources says to group them by their location using x and y coordinates. I can then do the same thing to add in number from the Roon_No layer.
What is the right transformer to use for this? I've tried neighborhood aggregator but it output a list of coordinates based on the text value and not the other way around.