package
1.8.1
Repository: https://github.com/paulmach/osmzen.git
Documentation: pkg.go.dev

# Functions

CompileCondition will take the parsed YAML condition and return a compiled condition interface.
CompileExpression will compile the parsed YAML into an Expression that can be evaluated into a bool, float64 or string.
CompileNumExpression will compile the parsed YAML into a NumExpression that can be evaluated.
NewContext creates a new filter.Context from an osmgeojson feature.
NewContextFromProperties will create a context using a set of properties.

# Structs

CompileError represents an errors during the compiling of conditions orr expressions.
Context is the evaluation context which is a bag of data.
A Filter is a set of matchers and the resulting tag transformation to add to the element properties if the matcher matches.
OutputExpression has the key and expression value for the outputs.

# Interfaces

A Condition is something that evaluates to a boolean.
An Expression is something that evaluates to a boolean, number or string, depending on context.
NumExpression is something to evaluates to a number.