public class BinaryOpenStreetMapParser
extends crosby.binary.BinaryParser
Constructor and Description |
---|
BinaryOpenStreetMapParser(OpenStreetMapContentHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
complete() |
String |
internalize(String s) |
void |
parse(crosby.binary.Osmformat.HeaderBlock block) |
protected void |
parseDense(crosby.binary.Osmformat.DenseNodes nodes) |
protected void |
parseNodes(List<crosby.binary.Osmformat.Node> nodes) |
protected void |
parseRelations(List<crosby.binary.Osmformat.Relation> rels) |
protected void |
parseWays(List<crosby.binary.Osmformat.Way> ways) |
void |
setParseNodes(boolean parseNodes)
Should nodes be parsed
|
void |
setParseRelations(boolean parseRelations)
Should relations be parsed
|
void |
setParseWays(boolean parseWays)
Should relations be parsed
|
public BinaryOpenStreetMapParser(OpenStreetMapContentHandler handler)
public void complete()
protected void parseNodes(List<crosby.binary.Osmformat.Node> nodes)
parseNodes
in class crosby.binary.BinaryParser
protected void parseDense(crosby.binary.Osmformat.DenseNodes nodes)
parseDense
in class crosby.binary.BinaryParser
protected void parseWays(List<crosby.binary.Osmformat.Way> ways)
parseWays
in class crosby.binary.BinaryParser
protected void parseRelations(List<crosby.binary.Osmformat.Relation> rels)
parseRelations
in class crosby.binary.BinaryParser
public void parse(crosby.binary.Osmformat.HeaderBlock block)
parse
in class crosby.binary.BinaryParser
public void setParseWays(boolean parseWays)
org.opentripplanner.graph_builder.services/.sm.OpenStreetMapContentHandler#triPhase
public void setParseRelations(boolean parseRelations)
org.opentripplanner.graph_builder.services/.sm.OpenStreetMapContentHandler#triPhase
public void setParseNodes(boolean parseNodes)
org.opentripplanner.graph_builder.services/.sm.OpenStreetMapContentHandler#triPhase
Copyright © 2018. All rights reserved.