@Test
public void testBasicParser() throws Exception {
InputStream in = new GZIPInputStream(getClass().getResourceAsStream("map.osm.gz"));
OpenStreetMapParser parser = new OpenStreetMapParser();
OSMMap map = new OSMMap();
parser.parseMap(in, map);
testParser(map);
}
public void testParser(OSMMap map) throws Exception {
Map<Long, OSMNode> nodes = map.getNodes();