@@ -28,19 +28,6 @@ TEST_CASE("liechtenstein slim regression simple")
2828 CHECK (2932 == conn.get_count (" osm2pgsql_test_line" ));
2929 CHECK (4136 == conn.get_count (" osm2pgsql_test_polygon" ));
3030 CHECK (35 == conn.get_count (" osm2pgsql_test_route" ));
31-
32- // Check size of lines
33- conn.assert_double (
34- 1696.04 ,
35- " SELECT ST_Length(geom) FROM osm2pgsql_test_line WHERE osm_id = 1101" );
36- conn.assert_double (1151.26 ,
37- " SELECT ST_Length(ST_Transform(geom,4326)::geography) "
38- " FROM osm2pgsql_test_line WHERE osm_id = 1101" );
39-
40- // Check a point's location
41- REQUIRE (1 == conn.get_count (" osm2pgsql_test_point" ,
42- " ST_DWithin(geom, 'SRID=3857;POINT(1062645.12 "
43- " 5972593.4)'::geometry, 0.1)" ));
4431}
4532
4633TEST_CASE (" liechtenstein slim latlon" )
@@ -56,19 +43,6 @@ TEST_CASE("liechtenstein slim latlon")
5643 REQUIRE (1362 == conn.get_count (" osm2pgsql_test_point" ));
5744 REQUIRE (2932 == conn.get_count (" osm2pgsql_test_line" ));
5845 REQUIRE (4136 == conn.get_count (" osm2pgsql_test_polygon" ));
59-
60- // Check size of lines
61- conn.assert_double (
62- 0.0105343 ,
63- " SELECT ST_Length(geom) FROM osm2pgsql_test_line WHERE osm_id = 1101" );
64- conn.assert_double (1151.26 ,
65- " SELECT ST_Length(ST_Transform(geom,4326)::geography) "
66- " FROM osm2pgsql_test_line WHERE osm_id = 1101" );
67-
68- // Check a point's location
69- REQUIRE (1 == conn.get_count (" osm2pgsql_test_point" ,
70- " ST_DWithin(geom, 'SRID=4326;POINT(9.5459035 "
71- " 47.1866494)'::geometry, 0.00001)" ));
7246}
7347
7448TEST_CASE (" way area slim flatnode" )
0 commit comments