Open jirik opened 6 years ago
Imposm3 doc says:
bool Convert true, yes and 1 values to true, otherwise use false.
bool
However source code is doing something else:
func Bool(val string, elem *element.OSMElem, geom *geom.Geometry, match Match) interface{} { if val == "" || val == "0" || val == "false" || val == "no" { return false } return true }
From the documentation, I thought that using this setup
... fields: - key: tunnel name: is_tunnel type: bool
imposm3 will convert tunnel=culvert to false, but it was converted to true.
tunnel=culvert
false
true
Imposm3 doc says:
However source code is doing something else:
From the documentation, I thought that using this setup
imposm3 will convert
tunnel=culvert
tofalse
, but it was converted totrue
.