[postgis-commits] svn - r3636 - trunk/liblwgeom
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Tue Feb 3 11:09:49 PST 2009
Author: mcayland
Date: 2009-02-03 11:09:48 -0800 (Tue, 03 Feb 2009)
New Revision: 3636
Modified:
trunk/liblwgeom/lwgeom.c
Log:
Fix GBT#109: Some operators not supported for Circular. In this case I haven't added the comparison code as I am not 100% sure on the semantics, but the error message should be much clearer to users now.
Modified: trunk/liblwgeom/lwgeom.c
===================================================================
--- trunk/liblwgeom/lwgeom.c 2009-02-03 17:49:54 UTC (rev 3635)
+++ trunk/liblwgeom/lwgeom.c 2009-02-03 19:09:48 UTC (rev 3636)
@@ -701,8 +701,8 @@
return lwcollection_same((LWCOLLECTION *)lwgeom1,
(LWCOLLECTION *)lwgeom2);
default:
- lwerror("lwgeom_same: unknown geometry type: %d",
- TYPE_GETTYPE(lwgeom1->type));
+ lwerror("lwgeom_same: unsupported geometry type: %s",
+ lwgeom_typename(TYPE_GETTYPE(lwgeom1->type)));
return 0;
}
More information about the postgis-commits
mailing list