We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
Update doc to match code.
bc4bac7
Fixes omniscale#157.
Update doc to match code
f0fe032
04ff7d2
Successfully merging a pull request may close this issue.
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
.The text was updated successfully, but these errors were encountered: