Skip to content

Support #20

@gdmhrobal

Description

@gdmhrobal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions