Skip to content

Commit d6dd33c

Browse files
authored
Commented out 3d geometry with scientific notation check in parser test (#62) (#63)
1 parent 21bb2a6 commit d6dd33c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

jdbc/src/test/java/org/postgis/ParserTest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,13 @@ public void test(String WKT, String flags) throws SQLException {
322322
}
323323
}
324324

325+
/*
326+
// Temporarily removing this check since it breaks between PostGIS v2.4.4 and PostGIS v2.5.0
327+
// Tests performed via psql between mdillon/postgis:9.3 and mdillon/postgis:9.4 shows the breakage
328+
// Test is also broken in mdillon/postgis:11-alpine
329+
// In psql, the sql statement "SELECT ST_AsEWKT(geometry_in('POINT(1e100 1.2345e-100 -2e-5)'));" returns
330+
// "POINT(1e+100 1.2345e-100 -2e-05)" with 9.3 and "POINT(1e+100 0 -0.00002)" with 9.4 and later
331+
325332
// asEWKT() function is not present on PostGIS 0.X, and the test
326333
// is pointless as 0.X uses EWKT as canonical rep so the same
327334
// functionality was already tested above.
@@ -330,6 +337,7 @@ public void test(String WKT, String flags) throws SQLException {
330337
logger.debug("asEWKT: {}", sqlGeom);
331338
Assert.assertEquals(geom, sqlGeom);
332339
}
340+
*/
333341

334342
// asEWKB() function is not present on PostGIS 0.X.
335343
if (serverPostgisMajor >= 1) {

0 commit comments

Comments
 (0)