]> granicus.if.org Git - postgis/commitdiff
Fix GBT#109: Some operators not supported for Circular. In this case I haven't added...
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Tue, 3 Feb 2009 19:09:48 +0000 (19:09 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Tue, 3 Feb 2009 19:09:48 +0000 (19:09 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3636 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/lwgeom.c

index 5e59b1d2894e94b23af5fc6516d7e19040afec3b..38e38803f50b69587f2d27d5582493eef5992717 100644 (file)
@@ -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;
        }