23 lines
423 B
C++
23 lines
423 B
C++
#include "osm.h"
|
|
#include <string>
|
|
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
class dataset_deliverer
|
|
{
|
|
private:
|
|
static osm_dataset* dataset;
|
|
static std::string last_bbox;
|
|
|
|
public:
|
|
static osm_dataset *load_from_file(const string&,const string&);
|
|
static osm_dataset *load_from_url
|
|
(const string&,const string&,const string&);
|
|
|
|
static void release()
|
|
{
|
|
delete dataset;
|
|
}
|
|
};
|
|
|