3dcitydb / 3dcitydb-web-map

Cesium-based 3D viewer and JavaScript API for the 3D City Database
Apache License 2.0
377 stars 125 forks source link

ThematicData on object #54

Closed AkiTuomaala closed 4 years ago

AkiTuomaala commented 4 years ago

Hi!

I've been struggling to get data seen in cesium while using PostgREST:

My Building object image

My PostgREST result image

Layer details in Cesium: URL -> localhost:8000/buildings_collada_master.json ThematicDataUrl -> http://localhost:3000/api_building CityObjectsJsonUrl -> localhost:8000/buildings.json

Anyone had similar problems with PostgREST?

Son-HNguyen commented 4 years ago

What type of tables (vertical/horizontal) did you select in the web client?

AkiTuomaala commented 4 years ago

Hi @Son-HNguyen!

Im not sure what you mean by "select", but I went with this "3 element idea" image

So if im getting right, its suppose to be vertical type of tables.

Son-HNguyen commented 4 years ago

Make sure you select this option in the main toolbox: image

The table type One row per object attribute is for vertical tables.

AkiTuomaala commented 4 years ago

Ah.. I didnt check at all what version I had from 3dcitydb-web-map... Downloaded "Importer_Exporter_4.2.3" and was using version what they had in there... Will try out with new version.. Thank you in front @Son-HNguyen!

AkiTuomaala commented 4 years ago

Installed newest version and now it works like a charm! Thank you again!

Son-HNguyen commented 4 years ago

Glad it helped! :)