Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filters ¶
type Filters struct {
ExcludeTags *[][]string `yaml:"exclude_tags"`
Reject KeyValues `yaml:"reject"`
Require KeyValues `yaml:"require"`
RejectRegexp KeyRegexpValue `yaml:"reject_regexp"`
RequireRegexp KeyRegexpValue `yaml:"require_regexp"`
}
type GeneralizedTable ¶
type GeneralizedTables ¶
type GeneralizedTables map[string]*GeneralizedTable
type KeyRegexpValue ¶
type Mapping ¶
type Mapping struct {
Tables Tables `yaml:"tables"`
GeneralizedTables GeneralizedTables `yaml:"generalized_tables"`
Tags Tags `yaml:"tags"`
Areas Areas `yaml:"areas"`
// SingleIdSpace mangles the overlapping node/way/relation IDs
// to be unique (nodes positive, ways negative, relations negative -1e17)
SingleIdSpace bool `yaml:"use_single_id_space"`
}
type OrderedValue ¶
type SubMapping ¶
type SubMapping struct {
Mapping KeyValues
}
type Table ¶
type Table struct {
Name string
Type string `yaml:"type"`
Mapping KeyValues `yaml:"mapping"`
Mappings map[string]SubMapping `yaml:"mappings"`
TypeMappings TypeMappings `yaml:"type_mappings"`
Columns []*Column `yaml:"columns"`
OldFields []*Column `yaml:"fields"`
Filters *Filters `yaml:"filters"`
RelationTypes []string `yaml:"relation_types"`
}
type TypeMappings ¶
Click to show internal directories.
Click to hide internal directories.