use of org.opentripplanner.openstreetmap.impl.BinaryFileBasedOpenStreetMapProviderImpl in project OpenTripPlanner by opentripplanner.
the class OpenStreetMapParserTest method testBinaryParser.
@Test
public void testBinaryParser() throws Exception {
BinaryFileBasedOpenStreetMapProviderImpl pr = new BinaryFileBasedOpenStreetMapProviderImpl();
OSMMap map = new OSMMap();
pr.setPath(new File(URLDecoder.decode(getClass().getResource("map.osm.pbf").getPath(), "UTF-8")));
pr.readOSM(map);
testParser(map);
}
Aggregations