Closed Pdongjaelee closed 4 months ago
This is beyond the scope of citygml-tools. Maybe a tool like FME can help you.
So is there any way to view citygml using citygml-tools?
No, citygml-tools is not a viewer. Maybe give the KITModelViewer a try. It's a free viewer that can load both IFC and CityGML. Also FME mentioned above can view both formats.
Can citygml-tools simply convert?
You mean from IFC to CityGML? I like your "simply" in this context ;-) No, again, beyond the scope of citygml-tools.
Again, you can use FME to implement such a conversion (so it seems we are narrowing it down to this tool). The KITModelViewer can also load IFC and save as CityGML. BIM Base can do it. IFC_BuildingEnvExtractor is an open-source tool. And there are more tools which I am not aware of...
Closing because citygml-tools is not the right tool for the requested operation. Feel free to open a discussion in case you have more questions.
Oh, I have one more question. I have now converted ifc using citygml-tools.
Is this citygml3.0? Or is it citygml3.0 ADE?
If you share your converted file (or just an excerpt of it), I can tell you what your CityGML output is. Which tool have you used for the conversion? citygml-tools doesn't offer IFC to CityGML, so must have been something else.
This file is a file converted from IFC to Cityjson and then to citygml.
This is the first part of the file. Do you need more information?
I can't upload this file itself here.
Ok, gotcha. When converting CityJSON to CityGML with citygml-tools, the output is CityGML 3.0 by default. Your file is also CityGML 3.0.
citygml-tools does neither process nor create ADEs without a specific software extension (an additional JAR file that gets loaded when citygml-tools is started). I guess you don't have such an extension, which means your output is plain CityGML 3.0 without any ADE content.
Does your CityJSON input file contain a CityJSON Extension
? The easiest way to find out is probably to validate your file with this online tool: https://validator.cityjson.org/. If it contains an extension, this extension might also be not fully processed by citygml-tools without a corresponding software extension.
I converted ifc to citygml.
I want to compare ifc objects and citygml objects converted from ifc.
Is there a way?