Skip to main content
Solved

XML (Real-estate cadastre information) to IFC

  • October 31, 2024
  • 2 replies
  • 66 views

n.d
Contributor
Forum|alt.badge.img+7
  • Contributor

Hello everyone, 

I have an XML file containing the registered real-estate data and want to export it as an IFC file. 
What is the procedure to get the geometries and their atributes out of that file. 

As I have read, the first step is to use the XMLFlattener. But I do not know on which level do I have to flatten it (Elements to match). There are a lot of nested paths. If I select one path, do I have to select the paths under it? 
And this flattening process takes a really long time! 

What is the solution?

 

I would appreciate your help. 
 

 

Best answer by kailinatsafe

Hello @n.d, thanks for posting! Are you using the XML or GML Reader? If the XML contains geometry or it is a GML file, there may be a chance the GML Reader could automatically recognize the geometry on read. Otherwise, are you able to share a sample XML file containing a couple sample features for testing?

Not too familiar with IFC Writing, but this article demonstrates how to write custom property sets. I recommend downloading the article workspace and stepping through the tutorial before applying concepts to your own data! Happy to help, Kailin. 

View original
Did this help you find an answer to your question?

2 replies

kailinatsafe
Safer
Forum|alt.badge.img+21
  • Safer
  • Best Answer
  • November 4, 2024

Hello @n.d, thanks for posting! Are you using the XML or GML Reader? If the XML contains geometry or it is a GML file, there may be a chance the GML Reader could automatically recognize the geometry on read. Otherwise, are you able to share a sample XML file containing a couple sample features for testing?

Not too familiar with IFC Writing, but this article demonstrates how to write custom property sets. I recommend downloading the article workspace and stepping through the tutorial before applying concepts to your own data! Happy to help, Kailin. 


n.d
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • November 6, 2024

Hi @kailinatsafe,

Thanks for your help. 

I imported it as a GML file. I skipped the flattening process. That was a good trick.

The other problem was with the Geometry. It couldn’t be written to the IFC. But after trying several Geometry tranformers, I could have my geometries written in the IFC file. 

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings