Hi Julian,
The gml_parent_id for the RoofSurface and FloorSurface need to point back to the gml_id of the Building, e.g.,
Buildling -> gml_id : "id-building-1", then
RoofSurface -> gml_parent_id : "id-building-1", and
FloorSurface -> gml_parent_id : ""id-building-1".
Regards,
Juan
Hi Julian,
The gml_parent_id for the RoofSurface and FloorSurface need to point back to the gml_id of the Building, e.g.,
Buildling -> gml_id : "id-building-1", then
RoofSurface -> gml_parent_id : "id-building-1", and
FloorSurface -> gml_parent_id : ""id-building-1".
Regards,
Juan
Also make sure that the gml_id for the Building, RoofSurface and FloorSurface are unique, I don't think you'll need to set them for the child RoofSurface and FloorSurface, the CityGML writer may auto generate the gml_id, but you do need it for the Building as it's need to be referenced by the gml_parent_id
Thank you. Yes, I had not been assigning the gml_parent_id correctly. I had been creating a new attribute called gml_parent_id and then assigning that the gml_id. However, instead I needed to use AttributeRenamer transformer to rename the gml_id to gml_parent_id in the child roof / floor / wall surfaces workflows.
Thank you. Yes, I had not been assigning the gml_parent_id correctly. I had been creating a new attribute called gml_parent_id and then assigning that the gml_id. However, instead I needed to use AttributeRenamer transformer to rename the gml_id to gml_parent_id in the child roof / floor / wall surfaces workflows.
Can you give me fixed file? thanks
Hi Julian!
I am having the same problems you got when building a working FME workbench for the CityGML format. It is taking me a loong time to get this working.. Is that possible for you to share the one you built? Here is my email abel.gonzalez.c"at"gmail.com
Thanks in advance!
Abel
I am quite new to FME.
How can I generate CityGML file with number of storey attribute values from shp file?
Could you share the .fmw file?
Thanks!
I am quite new to FME.
How can I generate CityGML file with number of storey attribute values from shp file?
Could you share the .fmw file?
Thanks!
Hi @ajgzzc. Have you taken a look at the workspace included in the question, as well as the response from juanchuchow1323?
If you have further questions, I would suggest posting your question as a new question as you will likely get more responses this way. Including the following details in the new question will help the FME community help you. Please provide details including:
- The version of FME you are using, including build number and edition
- A small sample of your data, or screenshots of the data in the FME Data Inspector
- A description of your expected output, with screenshots if possible
- Your FME workspace
- Your FME translation log file
- Any other information that may be useful to share
As you are new to FME, I would suggest you review some
FME Tutorials.
Kind regards,
Natalie
Thank you. Yes, I had not been assigning the gml_parent_id correctly. I had been creating a new attribute called gml_parent_id and then assigning that the gml_id. However, instead I needed to use AttributeRenamer transformer to rename the gml_id to gml_parent_id in the child roof / floor / wall surfaces workflows.
Please share me the fixed .fmw at
Thanks in advance!