]> granicus.if.org Git - postgis/commitdiff
More verbose message, per DFuhriman
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 9 Feb 2012 00:42:07 +0000 (00:42 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 9 Feb 2012 00:42:07 +0000 (00:42 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9128 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/lwgeodetic.c

index c38fbef8055221deb0e5435e7989a8157c1e7cb7..8abb074a7ed06435be57f66558d81635b9930e1a 100644 (file)
@@ -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;