Skip to main content
Question

gml to geodatabase error


abii
Contributor
Forum|alt.badge.img+4
  • Contributor

 

7 replies

abii
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • July 11, 2024

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


abii
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • July 11, 2024

geomancer
Evangelist
Forum|alt.badge.img+46
  • Evangelist
  • July 11, 2024

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.


abii
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • July 11, 2024

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.

 


geomancer
Evangelist
Forum|alt.badge.img+46
  • Evangelist
  • July 11, 2024

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.


abii
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • July 12, 2024

okay got it thanks😀


virtualcitymatt
Celebrity
Forum|alt.badge.img+34

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?


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