make osmdata work directly with libosmium data types

Requires to move reprojection and addition of attributes into
the osmdata class.
This commit is contained in:
Sarah Hoffmann
2016-10-28 21:22:10 +02:00
parent 2bbf4d0a3c
commit 434000c1c1
22 changed files with 125 additions and 97 deletions

View File

@ -77,7 +77,7 @@ void test_other_output_schema() {
auto out_test = std::make_shared<output_pgsql_t>(mid_pgsql.get(), options);
osmdata_t osmdata(mid_pgsql, out_test);
osmdata_t osmdata(mid_pgsql, out_test, options.projection, options.extra_attributes);
testing::parse("tests/test_output_pgsql_z_order.osm", "xml",
options, &osmdata);