Documentation
¶
Overview ¶
openstreetmap implementation
Index ¶
- Constants
- type GeoInfo
- type Item
- type Osm
- type OsmParser
- func (this *OsmParser) Cleanup()
- func (this *OsmParser) Close()
- func (this *OsmParser) CountNodesInTmpKV() int
- func (this *OsmParser) CountWaysInTmpKV() int
- func (this OsmParser) DbPath() string
- func (this *OsmParser) LoadTempKV() (err error)
- func (this OsmParser) MissedRelationsPercent() float64
- func (this OsmParser) MissedWaysPercent() float64
- func (this *OsmParser) ParseFromTar(r io.Reader) error
- func (this *OsmParser) ParseFromTarBz2(r io.Reader) error
- func (this *OsmParser) ParsePbf(r io.Reader) error
- func (this *OsmParser) ReadNode(n gosmparse.Node)
- func (this *OsmParser) ReadRelation(r gosmparse.Relation)
- func (this *OsmParser) ReadWay(w gosmparse.Way)
Constants ¶
View Source
const ( Node = gosmparse.NodeType Way = gosmparse.WayType Relation = gosmparse.RelationType )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Osm ¶
type Osm struct {
*geo.SpatialGeo
// contains filtered or unexported fields
}
func (*Osm) GetWayInfo ¶
type OsmParser ¶
type OsmParser struct {
*Osm
NodeCnt uint64
WayCnt uint64
RelationCnt uint64
SkipNodes uint64
SkipWays uint64
SkipRelations uint64
PreserveTmp bool
MissedWays uint64
MissedRelations uint64
// contains filtered or unexported fields
}
func (*OsmParser) CountNodesInTmpKV ¶
func (*OsmParser) CountWaysInTmpKV ¶
func (*OsmParser) LoadTempKV ¶
func (OsmParser) MissedRelationsPercent ¶
func (OsmParser) MissedWaysPercent ¶
func (*OsmParser) ReadRelation ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.