You don't appear to have a .xsd file to determine the schema of the GML file, so I would recommend replacing the GML reader with a new one, with the Parameter 'Ignore Application Schema' set to Yes. This will extract a schema from the GML file itself, and guarantees that features will be read from the file.
You don't appear to have a .xsd file to determine the schema of the GML file, so I would recommend replacing the GML reader with a new one, with the Parameter 'Ignore Application Schema' set to Yes. This will extract a schema from the GML file itself, and guarantees that features will be read from the file.
FME is reading those attributes in the GML as boolean (which is correct), but FileGDB doesn't support boolean, and so those attributes are being mapped to smallints, which is not correct. Please adjust the schema definition for the output FileGDB writer to set those attributes to the text data type.
When the reader is set to Ignore Application Schema, it does its best to try to extract valid attributes and geometry from any of the GML variants that FME supports. It appears that the reader is trying to extract geometry from the Shape property and failing, but is still extracting valid points for the features based on the actual geometry property. The errors are ominous, but don't seem to be affecting the actual reading of your data, so I think they can be safely ignored.
I'm sorry, I was concentrating on the GML reading, but it appears that 'Shape' is a reserved field name for Geodatabase that cannot be written to. Please rename this field in your output schema to 'InputShape', then use an AttributeRenamer to rename the attribute before writing.
Hi @viviancfhung, I'm happy to share that a problem report that @daveatsafe had identified tracked internally as (FMEENGINE-77147) has been addressed in FME 2024 for geodatabase writers to accept boolean values such as True/False and map them properly to smallint.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.