[postgis-tickets] r14659 - Capture GEOS error message in case of failure in ST_Voronoi
Daniel Baston
dbaston at gmail.com
Wed Feb 10 13:56:53 PST 2016
Author: dbaston
Date: 2016-02-10 13:56:53 -0800 (Wed, 10 Feb 2016)
New Revision: 14659
Modified:
trunk/liblwgeom/lwgeom_geos.c
Log:
Capture GEOS error message in case of failure in ST_Voronoi
Modified: trunk/liblwgeom/lwgeom_geos.c
===================================================================
--- trunk/liblwgeom/lwgeom_geos.c 2016-02-09 22:05:38 UTC (rev 14658)
+++ trunk/liblwgeom/lwgeom_geos.c 2016-02-10 21:56:53 UTC (rev 14659)
@@ -2017,7 +2017,10 @@
GEOSGeom_destroy(geos_env);
if (!geos_result)
+ {
+ lwerror("GEOSVoronoiDiagram: %s", lwgeom_geos_errmsg);
return NULL;
+ }
lwgeom_result = GEOS2LWGEOM(geos_result, is_3d);
GEOSGeom_destroy(geos_result);
More information about the postgis-tickets
mailing list