Package org.opentripplanner.openstreetmap.impl

Examples of org.opentripplanner.openstreetmap.impl.StreamedFileBasedOpenStreetMapProviderImpl


        testParser(map);
    }

    @Test
    public void testStreamedXMLParser() throws Exception {
        StreamedFileBasedOpenStreetMapProviderImpl pr = new StreamedFileBasedOpenStreetMapProviderImpl();
        OSMMap map = new OSMMap();
        pr.setPath(new File(URLDecoder.decode(getClass().getResource("map.osm.gz").getPath(), "UTF-8")));
        pr.readOSM(map);
        testParser(map);
    }
View Full Code Here

TOP

Related Classes of org.opentripplanner.openstreetmap.impl.StreamedFileBasedOpenStreetMapProviderImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.