Skip to main content

Hello.

I’m trying to convert and IFC file into CityGML 3 file using the ifc-to-citygml3 FME Workspace, but when I tried to Run it, it shows this error.

ISO10303-21: The input data contains a syntax error at the beginning of the file. The file should start with 'ISO-10303-21'. Ensure the file is in an ASCII character system, with no byte order marker.
Unexpected character: #
ISO10303-21: Invalid file format, unable to continue reading
 

Can anyone help me fix this issue?

Without taking a look at the IFC file itself it's hard to say what is needed to fix it. You can, however, just open up the IFC with a text editor like notepad or notepad++ to see what it looks like. If you have other IFC files which do work you could compare the content to see if there is anything obvious which is missing. 


Thanks for the reply, Matt.

I am new to FME and the processing of IFC files, so I don’t really know what to expect when I open my IFC in a text editor nor do I understand if there are any errors.


Reply