[Tile-serving] [openstreetmap/osm2pgsql] Add more way tests for flex output (#1249)
Jochen Topf
notifications at github.com
Thu Jul 9 14:01:20 UTC 2020
@joto commented on this pull request.
> + SECTION("change node list to make way invalid")
+ {
+ REQUIRE_NOTHROW(
+ db.run_import(options, "w10 v2 dV Tt1=yes,t2=yes,tboth=yes Nn10"));
+ }
+
+ SECTION("change node to make way invalid (n11 same location as n10)")
+ {
+ REQUIRE_NOTHROW(db.run_import(options, "n11 v2 dV x10.0 y10.0"));
+ }
+
+ CHECK(1 == conn.get_count("osm2pgsql_test_t1"));
+ CHECK(1 == conn.get_count("osm2pgsql_test_t2"));
+ CHECK(2 == conn.get_count("osm2pgsql_test_tboth"));
+ CHECK(0 == conn.get_count("osm2pgsql_test_tboth",
+ "way_id = 10 AND rel_ids = '{30}'"));
fixed
--
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_r452240069
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200709/67cd8cd2/attachment.htm>
More information about the Tile-serving
mailing list