Skip to main content
Question

gml to geodatabase error

  • Jul 11, 2024 8:40 AM UTC
  • 7 replies
  • 139 views

abii
Contributor
Forum|alt.badge.img+4

Β 

7 replies

abii
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • Jul 11, 2024 8:41 AM UTC

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
  • Jul 11, 2024 8:44 AM UTC

@hkingsburyΒ @redgeographicsΒ 


geomancer
Evangelist
Forum|alt.badge.img+71
  • Evangelist
  • Jul 11, 2024 8:48 AM UTC

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
  • Jul 11, 2024 8:55 AM UTC

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+71
  • Evangelist
  • Jul 11, 2024 10:17 AM UTC

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
  • Jul 12, 2024 7:23 AM UTC

okay got it thanksπŸ˜€


itsmatt
Celebrity
Forum|alt.badge.img+48
  • Celebrity
  • Jul 12, 2024 8:46 AM UTC

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?