Closed clausnagel closed 3 years ago
Added new --[no-]material-defaults
option to the to-cityjson
command to control whether CityGML default values for X3D materials should be used in the CityJSON output (0e2208fedf7fb4317742031acafb10a99561885c).
CityGML defines default values for the properties of
X3DMaterial
features likediffuseColor
orshininess
. If the properties are not present in a CityGML dataset, theto-cityjson
operation does not create the properties for the CityJSON"X3DMaterial"
object. However, CityJSON does not define default values for these properties. Therefore, theto-cityjson
operation should not omit them if they are missing but rather create the properties and assign the CityGML default values. See also https://github.com/cityjson/specs/issues/90.