Skip to content

Commit

Permalink
Use string for lod (e.g. improved LoDs by TU Delft)
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Jul 27, 2023
1 parent 4701822 commit 23b0508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cityjson/cityjson-draft-01.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ transform:
then [.semantics.surfaces | to_entries | .[] | .key as $IDX | .value | {"@type": [$GEOM_TYPE, .type], "boundaries": [$BOUNDARIES | .[$INDEXES | map(if .value == $IDX then .key else empty end) | .[]]]}]
else [{"@type": $GEOM_TYPE, "boundaries": $BOUNDARIES}]
end),
"lod": .lod
"lod": "\(.lod)"
}
])
]
Expand Down Expand Up @@ -131,7 +131,7 @@ context:

lod:
'@id': city:lod
'@type': xsd:decimal
surfaces: city:hasSurface
boundaries:
'@id': city:boundaries
'@container': '@list'
Expand Down

0 comments on commit 23b0508

Please sign in to comment.