]> granicus.if.org Git - postgis/commitdiff
Give more decimal digits in edge-motion collision detection point
authorSandro Santilli <strk@keybit.net>
Thu, 3 Mar 2016 11:34:19 +0000 (11:34 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 3 Mar 2016 11:34:19 +0000 (11:34 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14740 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/lwgeom_topo.c

index 65298fe53ec94895dc67a351a224198367be54cb..8adb3945e50ef58676d6144797047d99f100c1ea 100644 (file)
@@ -3491,7 +3491,7 @@ lwt_ChangeEdgeGeom(LWT_TOPOLOGY* topo, LWT_ELEMID edge_id, LWLINE *geom)
         GEOSGeom_destroy(oarea);
         GEOSPreparedGeom_destroy(nareap);
         GEOSGeom_destroy(narea);
-        wkt = lwgeom_to_wkt(lwpoint_as_lwgeom(n->geom), WKT_ISO, 6, &sz);
+        wkt = lwgeom_to_wkt(lwpoint_as_lwgeom(n->geom), WKT_ISO, 15, &sz);
         _lwt_release_nodes(nodes, numnodes);
         lwerror("Edge motion collision at %s", wkt);
         lwfree(wkt); /* would not necessarely reach this point */