Skip to main content
Solved

Writing CityGML using xlink's causes an error for donut surfaces

  • March 5, 2021
  • 4 replies
  • 30 views

cwisse
Contributor
Forum|alt.badge.img+4

I'm writing CityGML buildings with xlink's to the surfaces. A few surfaces are donuts. For these surfaces, the xlink is created in the list with surfacemembers, but the id is missing in the geometry of the surface. Does anybody know what the problem is?

Best answer by cwisse

Hello @cwisse​ , working with xlink geom is tricky! I have a couple questions hat version/build of FME Workbench are you currently using? Do you have an example of a valid output? Thanks, Kailin.

Hello @kailinatsafe​ , meanwhile, I found the solution by myself. In the GeometryPropertySetter, the Geometry XQuery was set on "Geometry Type = IFMEPolygon". I've added IFMEDonut to it and now everything is going well.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

kailinatsafe
Safer
Forum|alt.badge.img+23

Hello @cwisse​ , working with xlink geom is tricky! I have a couple questions hat version/build of FME Workbench are you currently using? Do you have an example of a valid output? Thanks, Kailin.


cwisse
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • March 8, 2021

Hello @kailinatsafe​, the version is FME(R) 2019.2.3.1 (20200212 - Build 19823 - WIN64). Attached you will find a manual corrected file where I've added three id's to the polygon geometry. In the picture below you will see the original file on the left side and the corrected file on the right side.

donut_error


cwisse
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • Best Answer
  • March 12, 2021

Hello @cwisse​ , working with xlink geom is tricky! I have a couple questions hat version/build of FME Workbench are you currently using? Do you have an example of a valid output? Thanks, Kailin.

Hello @kailinatsafe​ , meanwhile, I found the solution by myself. In the GeometryPropertySetter, the Geometry XQuery was set on "Geometry Type = IFMEPolygon". I've added IFMEDonut to it and now everything is going well.


kailinatsafe
Safer
Forum|alt.badge.img+23

Hello @cwisse​ , that's great to hear! Best, Kailin.