Skip to main content
Question

OSM to CItyGML LOD 1

  • May 14, 2018
  • 2 replies
  • 64 views

I would like to convert OSM building boundary to CityGML LOD 1 format.

I am successfully converting into KML or CityGML generic object format but When I am trying to convert to CityGML building by adding citygml_lod_name detail it showing following error.

CityGML Writer: The 'IFMELine' geometry is invalid for the 'lod1Solid' citygml_lod_name, valid geometries for 'lod1Solid' are: {IFMECompositeSolid, IFMECSGSolid, IFMEBox, IFMEBRepSolid, IFMEExtrusion}, convertible geometries are {IFMEMultiSolid, IFMECompositeSurface, IFMEFace, IFMEMesh, IFMETriangleStrip, IFMERectangleFace, IFMEAggregate, IFMEMultiSurface, IFMETriangleFan}.Storing feature(s) to FME feature store file `C:\Users\....\osm2ogckml_log.ffs'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Feature Type: `Building'Attribute(string)           : `_uuid' has value `9a3b482d-a204-465f-a73e-e35a6da505c4'Attribute(encoded: UTF-16LE): `building' has value `university'Attribute(encoded: UTF-16LE): `changeset' has value `48380184'

 

Here is my FME workspace screenshot

0684Q00000ArCg6QAF.jpg

I am new in FME, Let me know I am doing anything wrong in steps.

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.

2 replies

daveatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • May 14, 2018

Hi @usmanali,

Please add an Inspector transformer to your workspace to check that all the features sent to the Building feature are solids. If you have a point in the source data, it will extrude to a line, rather than a solid.


  • October 22, 2018

Hi there @usmanali (and @DaveAtSafe)

Did you succeed in creating the traslation from osm to citygml?

I would like to obtain a similar situation... and if possible access the workspace file

Is there a pre formatted workspace file to obtain a citygml dataset from a osm one? (with extrusion)

Thank you so much

Steve