Up3date icon indicating copy to clipboard operation
Up3date copied to clipboard

Support

Open gdmhrobal opened this issue 3 years ago • 0 comments

Hi, thanks for this great plugin. I´ve got one problem and one support question.

my problem: We are working with FME and FME can not read the CityJSON, the plugin is exporting. The problem seems to that the values of semantics are in an inner array and an empty texture object exists.

does not working: `"semantics":{ "surfaces":[ { "type":"GroundSurface" }, { "type":"WallSurface" }, { "type":"RoofSurface" } ], "values":[ [ 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ] ] }, "texture":{

           },`

still working: "semantics":{ "surfaces":[ { "type":"GroundSurface" }, { "type":"WallSurface" }, { "type":"RoofSurface" } ], "values":[ 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ] }, so i´ve changed and everything is working fine #init_json["CityObjects"][CityObject_id]['geometry'].append({'type':city_object['type'],'boundaries':[],'semantics':{'surfaces': [], 'values': [[]]},'texture':{},'lod':city_object['lod']}) init_json["CityObjects"][CityObject_id]['geometry'].append({'type':city_object['type'],'boundaries':[],'semantics':{'surfaces': [], 'values': []},'lod':city_object['lod']})

So is that a general issue or is that only a problem of FME?

Support question: Are you still working on the possibility to im- and export objects with textures?

best regards Tim

gdmhrobal avatar Jul 27 '22 14:07 gdmhrobal