#include <boost/program_options.hpp>
#include <iostream>
#include "../osmdb/osmdb.h"
#include "../xmlparse/xmlparse.h"
#include <functional>
Go to the source code of this file.
Functions |
void | progress (int &i) |
void | action_handler (osmdb::ImportTableAction act, int64_t amount) |
bool | proceed_handler () |
void | copy_to_db (std::string const &filename, osmdb::OsmDatabase &db) |
bool | process_import_table (osmdb::OsmDatabase &db, bool quiet, bool recreate) |
int | import (std::string const &inp, std::string const &dbname, std::string const &schema, bool init, bool recreate, bool copy, bool import, bool quiet, bool analyze) |
int | main (int argc, char **argv) |
Function Documentation
int import |
( |
std::string const & |
inp, |
|
|
std::string const & |
dbname, |
|
|
std::string const & |
schema, |
|
|
bool |
init, |
|
|
bool |
recreate, |
|
|
bool |
copy, |
|
|
bool |
import, |
|
|
bool |
quiet, |
|
|
bool |
analyze |
|
) |
| |
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |