Code Monkey home page Code Monkey logo

Comments (5)

clausnagel avatar clausnagel commented on July 18, 2024

Do you think you can share the CityGML data? This would help us a lot in reproducing and fixing the issue.

from importer-exporter.

slightHYP avatar slightHYP commented on July 18, 2024

Sure no problem, here you can find one smaller dataset with the same problem:

http://www.graphitech.it/public/cles.zip

Thank you for your swift reply,
Michele

from importer-exporter.

yaozhihang avatar yaozhihang commented on July 18, 2024

Hi Michele,

thank you for providing the test data. we'll look into this issue and get back to you.

Zhihang

from importer-exporter.

yaozhihang avatar yaozhihang commented on July 18, 2024

Hi Mechele,

I can reproduce that problem as well. The cause of that problem is that your CityGML files (e.g. CLES_11) contain some invalid GMLIDs like "Unit_106.419/4.1170".
According to the XML/GML Specification, GMLID must start with a letter or underscore, and can only contain letters, digits, underscores, hyphens, and periods.....

It means that the character "/" is not allowed in GMLID.

Solution: The Importer-Exporter Tool provides a functionality for generating globally unique UUIDs and assigning them to all GML objects during the CityGML-Import process. Invalid GMLIDS will be therefore replaced by the newly generated UUID value, and then the Collada-Exporter should work fine.
This functionality can be found under (preferences --> CityGML Import --> gml_id handling --> replace all gml:ids by UUIDs) on importer-exporter-GUI.

Zhihang

from importer-exporter.

slightHYP avatar slightHYP commented on July 18, 2024

Dear Zhihang,

thank you for your reply. I've just tested your solution and it works well, no errors are raised up.

We didn't noticed the "/" character in the ID, now we have to find the problem in our CityGML generation process, but the replace:ids functionality works.

Thank you,
Michele

from importer-exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.