Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlackList ¶
type BlackList struct { Handler gosmparse.OSMReader NodeMask *lib.Bitmask WayMask *lib.Bitmask RelationMask *lib.Bitmask }
BlackList - filter only elements that do not appear in masks
func (*BlackList) ReadRelation ¶
ReadRelation - called once per relation
type RemoveTags ¶
RemoveTags - remove all tags from certain element types
func (*RemoveTags) ReadNode ¶
func (p *RemoveTags) ReadNode(item gosmparse.Node)
ReadNode - called once per node
func (*RemoveTags) ReadRelation ¶
func (p *RemoveTags) ReadRelation(item gosmparse.Relation)
ReadRelation - called once per relation
func (*RemoveTags) ReadWay ¶
func (p *RemoveTags) ReadWay(item gosmparse.Way)
ReadWay - called once per way
type StoreRefs ¶
type StoreRefs struct { Handler gosmparse.OSMReader Writer *leveldb.CoordWriter Masks *lib.BitmaskMap }
StoreRefs - filter only elements that appear in masks
func (*StoreRefs) ReadRelation ¶
ReadRelation - called once per relation
type WhiteList ¶
type WhiteList struct { Handler gosmparse.OSMReader NodeMask *lib.Bitmask WayMask *lib.Bitmask RelationMask *lib.Bitmask }
WhiteList - filter only elements that appear in masks
func (*WhiteList) ReadRelation ¶
ReadRelation - called once per relation
Click to show internal directories.
Click to hide internal directories.