-
Notifications
You must be signed in to change notification settings - Fork 13
Description
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