pbf

package
v0.0.0-...-e2e308c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package pbf provides functions for parsing OSM PBF files.

The subpackage osmpbf contains the generated code for the OSM .proto files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

func NewParser(pbf *Pbf, coords chan []element.Node, nodes chan []element.Node, ways chan []element.Way, relations chan []element.Relation) *parser

Types

type Pbf

type Pbf struct {
	Filename string

	Header *pbfHeader
	// contains filtered or unexported fields
}

func Open

func Open(filename string) (f *Pbf, err error)

func (*Pbf) BlockPositions

func (pbf *Pbf) BlockPositions() (positions chan block)

func (*Pbf) Close

func (pbf *Pbf) Close() error

Directories

Path Synopsis
Package osmpbf is a generated protocol buffer package.
Package osmpbf is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL