Closed DenisCarriere closed 6 years ago
Yeah, just checked. It's undefined and there's no such thing as "required" in proto3 but it's being set to zero in the PBF file. Can we make sure zeros/blanks get converted to undefined?
Ok! Just fixed it.. An undefined formOfWay
will default to the value of 0
.
👍
Can we make sure zeros/blanks get converted to undefined?
Yep! Going to check into that as well.. seems like those values are getting lost (maybe?)
@kpwebb Noticed one of the References doesn't include a FormOfWay.
https://github.com/sharedstreets/sharedstreets-pbf/blob/master/test/out/11-602-769.reference.json#L7382-L7400
Questions
formOfWay
required? If so, shouldn't it always be present in the JSON/PBF filesformOfWay
not defined should we assume it's a value of0
(Undefined
)?