Code Monkey home page Code Monkey logo

Comments (7)

clausnagel avatar clausnagel commented on July 1, 2024

Please provide (an excerpt of) your CityGML dataset, if possible, so that we can try and reproduce the issue.

from importer-exporter.

benshuo avatar benshuo commented on July 1, 2024

strijp-s.zip
thanks

from importer-exporter.

clausnagel avatar clausnagel commented on July 1, 2024

Ok, I did the following:

  1. Set up a new 3DCityDB 4.0 using EPSG 28992
  2. Imported your dataset strijp-s.xml
  3. Exported the database content into a new file

I cannot reproduce your issue. I get all data exported correctly: test.zip

Maybe you were using some filter settings on the CityGML export tab due to which no buildings were exported? Or did you receive any error messages during export?

Nevertheless, note that your CityGML dataset does not validate against the schema. Simply click the "Just validate" button on the CityGML import tab of the Importer/Exporter to get a list of the issues.

from importer-exporter.

benshuo avatar benshuo commented on July 1, 2024

thanks, here is another problem, I want to turn the CityGML format to glTF, based on the document, I need to import CithGML and Export CityGML first. But when I export the glTF and open it with Google Earth, the location is nor right. When i import the test file and validate, it shows some errors. Therefore, are these errors cause the problem? Thanks
image

from importer-exporter.

FxKu avatar FxKu commented on July 1, 2024

In your first post I see that you have used the CRS with EPSG code 25833. @clausnagel used 28992. Have you changed it as well?

from importer-exporter.

clausnagel avatar clausnagel commented on July 1, 2024

Well, did a KML/COLLADA export and loaded it into Google Earth. The position of the buildings looks fine.

strijp-s

@FxKu is right, I used EPSG:28992 to set up the database, simply because this reference system is used in your original dataset strijp-s.xml. Make sure to not mix up reference systems.

The validation errors are mostly due to incorrect gml:id values (in your case, a gml:id must not start with a number). The 3DCityDB can correctly handle the data. However, the error should be fixed in your data.

And there are a lot of falsely oriented polygons in your dataset. If you visualize it in Google Earth, it will look like these polygons are missing, which leaves holes in the buildings. You can force their visualization by checking Ignore surface orientation in the "Preferences -> KML/COLLADA/glTF Export -> Rendering -> Building" settings (which is what I did for the above screenshot). But again, this issue should be fixed in your data in the first place.

from importer-exporter.

benshuo avatar benshuo commented on July 1, 2024

@clausnagel @FxKu ,thanks for your help, I'll set up the database at the first step.

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.