Skip to main content

 

Pls help me with this error. When i am converting my citygml file to geo database getting this error.


@hkingsbury @redgeographics 


The error message indicates you are trying to write a line object where an area object is expected.

So the solution may be to change the geometry type in the geodatabase writer.

It's hard to say more from the screendump you provided.


Thank you so much @geomancer for your reply. Here i am trying to convert 3d building data which is in .gml format to geodata base format so that i can import it in arcgis pro. here is a pic for reference that i am choosing multipatch geometry in writer.

 


According to the error message, BuildingPart also contains line objects, that cannot be written as a geodb_multipatch geometry.

Maybe you can use a GeometryFilter to write only the correct geometries to your geodb.

Or maybe you can change the Geometry Type on the writer to allow other geometry types.

Or maybe you have to do some checks on your import data.


okay got it thanks😀


This could also be an issue with the CityGML file. FME is reporting an xml-error which to me, means the issue is coming when FME is trying to read the data. 

Specifically it looks like FME is running into an issue were it is getting lines but it expecting areas. 

Can you try just reading with the FME Data Inspector?


Reply