mapnik/plugins/input/osm/dataset_deliverer.h

25 lines
461 B
C
Raw Normal View History

#include "osm.h"
#include <string>
#include <iostream>
using namespace std;
class dataset_deliverer
{
private:
static osm_dataset* dataset;
static std::string last_bbox;
static std::string last_filename;
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;
}
};