From: Paul Ramsey Date: Thu, 9 Feb 2012 00:42:07 +0000 (+0000) Subject: More verbose message, per DFuhriman X-Git-Tag: 2.0.0alpha5~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=87b77c06637a6dcc4450bd9c1550843ea2c19eed;p=postgis More verbose message, per DFuhriman git-svn-id: http://svn.osgeo.org/postgis/trunk@9128 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/lwgeodetic.c b/liblwgeom/lwgeodetic.c index c38fbef80..8abb074a7 100644 --- a/liblwgeom/lwgeodetic.c +++ b/liblwgeom/lwgeodetic.c @@ -1033,7 +1033,7 @@ int edge_calculate_gbox(const GEOGRAPHIC_EDGE *e, GBOX *gbox) set the box to contain the whole world and return */ if ( FP_EQUALS(distance, M_PI) ) { - lwerror("Invalid geography. Antipodal edge (180 degrees long) detected: (%g %g,%g %g)", + lwerror("Invalid geography. Antipodal (180 degrees long) edge (%g %g,%g %g) detected, add a point between to make two edges that span less than 180 degrees.", rad2deg(e->start.lon),rad2deg(e->start.lat),rad2deg(e->end.lon),rad2deg(e->end.lat) ); return LW_FAILURE;