Skip to content

Instantly share code, notes, and snippets.

@hugoledoux
Created October 12, 2017 12:49
Show Gist options
  • Select an option

  • Save hugoledoux/33d147d58830aef952a545701d591992 to your computer and use it in GitHub Desktop.

Select an option

Save hugoledoux/33d147d58830aef952a545701d591992 to your computer and use it in GitHub Desktop.
CityJSON semantics proposals
"geometry": [
{
"type": "Solid",
"lod": 1.1,
"boundaries": [
[ [[0, 3, 2, 1]], [[4, 5, 6, 7]], [[0, 1, 5, 4]], [[1, 2, 6, 5]], [[2, 3, 7, 6]], [[3, 0, 4, 7]] ]
],
"semantics": [
[
{
"type": "RoofSurface"
},
{
"type": "RoofSurface"
},
null,
null,
{
"type": "WallSurface"
},
{
"type": "WallSurface"
}
]
]
}
"geometry": [
{
"type": "Solid",
"lod": 1.1,
"boundaries": [
[ [[0, 3, 2, 1]], [[4, 5, 6, 7]], [[0, 1, 5, 4]], [[1, 2, 6, 5]], [[2, 3, 7, 6]], [[3, 0, 4, 7]] ]
],
"semantics": [
[
{
"type": "RoofSurface",
"indices": [ [0,0], [0,1] ] //shell=0;surface=0 + shell=0;surface=1
},
{
"type": "WallSurface",
"indices": [ [0,4], [0,5] ]
}
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment