#include "osm.h" #include "ExpatParser.h" #include #include using std::cout; using std::endl; int main(int argc,char* argv[]) { osm_dataset dataset; dataset.load(argv[1],"expat"); bounds b = dataset.get_bounds(); cout << b.w << " "<to_string() << endl; } */ osm_way *way; while((way=dataset.next_way())!=NULL) { std::cerr << way->to_string() << endl; bounds b = way->get_bounds(); std::cerr << "w=" << b.w << " s=" << b.s << " e="<