[Tile-serving] [openstreetmap/osm2pgsql] Add more way tests for flex output (#1249)
Jochen Topf
notifications at github.com
Thu Jul 9 19:23:14 UTC 2020
@joto commented on this pull request.
> + "r30 v1 dV Tt=ag Mw10@,w11@,w12 at mark,w13@,w14 at mark"});
+
+ REQUIRE_NOTHROW(db.run_import(options, data()));
+
+ auto conn = db.db().connect();
+
+ CHECK(1 == conn.get_count("osm2pgsql_test_t1"));
+ CHECK(1 == conn.get_count("osm2pgsql_test_t2"));
+ CHECK(3 == conn.get_count("osm2pgsql_test_tboth"));
+ CHECK(1 == conn.get_count("osm2pgsql_test_tboth",
+ "way_id = 10 AND rel_ids IS NULL"));
+
+ options.append = true;
+
+ REQUIRE_NOTHROW(db.run_import(
+ options, "r30 v2 dV Tt=ag Mw10 at mark,w11@,w12 at mark,w13@,w14 at mark"));
also removed
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1249#discussion_r452438919
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200709/f2cd8e5c/attachment.htm>
More information about the Tile-serving
mailing list