Show / Hide Table of Contents

Class PBFOsmStreamSource

A source of PBF formatted OSM data.

Inheritance
System.Object
OsmStreamSource
PBFOsmStreamSource
Inherited Members
OsmStreamSource.MoveNext()
OsmStreamSource.MoveNextNode()
OsmStreamSource.MoveNextWay()
OsmStreamSource.MoveNextRelation()
OsmStreamSource.IsSorted
OsmStreamSource.Meta
OsmStreamSource.GetAllMeta()
OsmStreamSource.GetEnumerator()
OsmStreamSource.Dispose()
OsmStreamSource.IEnumerator.Current
OsmStreamSource.EnumerateAndIgore(Boolean, Boolean, Boolean)
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class PBFOsmStreamSource : OsmStreamSource, IEnumerator<OsmGeo>, IPBFOsmPrimitiveConsumer

Constructors

PBFOsmStreamSource(Stream)

Creates a new source of PBF formatted OSM data.

Declaration
public PBFOsmStreamSource(Stream stream)
Parameters
Stream stream

Properties

CanReset

Returns true if this source can be reset.

Declaration
public override bool CanReset { get; }
Property Value
System.Boolean

Overrides
OsmStreamSource.CanReset

Methods

Current()

Returns the current geometry.

Declaration
public override OsmGeo Current()
Returns
OsmGeo

Overrides
OsmStreamSource.Current()

MoveNext(Boolean, Boolean, Boolean)

Move to the next item in the stream.

Declaration
public override bool MoveNext(bool ignoreNodes, bool ignoreWays, bool ignoreRelations)
Parameters
System.Boolean ignoreNodes

Makes this source skip all nodes.

System.Boolean ignoreWays

Makes this source skip all ways.

System.Boolean ignoreRelations

Makes this source skip all relations.

Returns
System.Boolean

Overrides
OsmStreamSource.MoveNext(Boolean, Boolean, Boolean)

Reset()

Resetting this data source

Declaration
public override void Reset()
Overrides
OsmStreamSource.Reset()
Back to top Built by Itinero, MIT licensed.