From e943ad97e7809d5861840bcef3d1985e86ff317a Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Tue, 3 Feb 2009 19:09:48 +0000 Subject: [PATCH] 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. git-svn-id: http://svn.osgeo.org/postgis/trunk@3636 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/lwgeom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liblwgeom/lwgeom.c b/liblwgeom/lwgeom.c index 5e59b1d28..38e38803f 100644 --- a/liblwgeom/lwgeom.c +++ b/liblwgeom/lwgeom.c @@ -701,8 +701,8 @@ lwgeom_same(const LWGEOM *lwgeom1, const LWGEOM *lwgeom2) 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; } -- 2.49.0