Question

Error while trying to open IFC file. Error ISO10303-21: The input data contains a syntax error


Badge +1

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?


2 replies

Userlevel 5
Badge +28

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. 

Badge +1

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