Code Monkey home page Code Monkey logo

Comments (5)

yaozhihang avatar yaozhihang commented on July 1, 2024

Hello Donato,

thank you very much for reporting this bug. I've fixed it in the Cesium-Branch. Please try it and give me your feedback.

best regards,

Zhihang

from importer-exporter.

donatomarro avatar donatomarro commented on July 1, 2024

Hello Zhihang,

thank you for the quick answer! I pulled the Cesium-Branch but the export using this version results in the following two exceptions:

[22:54:20 INFO] Initializing database export...
[22:54:20 INFO] Checking for spatial indexes on geometry columns of involved tables...
[22:54:21 INFO] 12 (3x4x1) tiles will be generated.
[22:54:21 ERROR] Exception when converting bounding box geometry to DBsrs.
org.postgresql.util.PSQLException: FEHLER: parse error - invalid geometry
Hinweis: "SRID=4326;POLYGON((Na" <-- parse error at position 21 within geometry
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2270)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1998)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:570)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:420)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:305)
at org.citydb.modules.common.filter.feature.BoundingBoxFilter.convertWGS84BboxToDBSrsGeometry(Unknown Source)
at org.citydb.modules.common.filter.feature.BoundingBoxFilter.setActiveTile(Unknown Source)
at org.citydb.modules.kml.controller.KmlExporter.doProcess(Unknown Source)
at org.citydb.modules.kml.gui.view.KmlExportPanel.doExport(Unknown Source)
at org.citydb.modules.kml.gui.view.KmlExportPanel.access$000(Unknown Source)
at org.citydb.modules.kml.gui.view.KmlExportPanel$1$1.run(Unknown Source)
[22:54:21 INFO] Exporting to file: D:\tmp\berlin\Tiles\0\0\berlin_Tile_0_0_collada.kmz
Exception in thread "Thread-9" java.lang.NullPointerException
at org.citydb.database.adapter.postgis.GeometryConverterAdapter.getDatabaseObject(Unknown Source)
at org.citydb.modules.kml.database.KmlSplitter.queryObjects(Unknown Source)
at org.citydb.modules.kml.database.KmlSplitter.startQuery(Unknown Source)
at org.citydb.modules.kml.controller.KmlExporter.doProcess(Unknown Source)
at org.citydb.modules.kml.gui.view.KmlExportPanel.doExport(Unknown Source)
at org.citydb.modules.kml.gui.view.KmlExportPanel.access$000(Unknown Source)
at org.citydb.modules.kml.gui.view.KmlExportPanel$1$1.run(Unknown Source)
[22:54:23 INFO] User abort of database export.
[22:54:23 INFO] Waiting for objects being currently processed to end...

(I'm using exactly the same settings as I used with the exporter from the master branch)

Best regards,
Donato

from importer-exporter.

yaozhihang avatar yaozhihang commented on July 1, 2024

Hello Donato,

Could you share with me a snippet of your data?
My email address: [email protected]

thanks and best regards,

Zhihang

from importer-exporter.

donatomarro avatar donatomarro commented on July 1, 2024

Hello Zhihang,

the fix for the CityObjectGroup feature works fine now.

Thanks and best regards,
Donato

from importer-exporter.

yaozhihang avatar yaozhihang commented on July 1, 2024

Good, The error message posted above was caused by the wrongly entered SRID value during the creation of 3DCityDB instance.This issue can be closed now.

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.