]> granicus.if.org Git - postgis/commitdiff
allowed lower case in wkt
authorSandro Santilli <strk@keybit.net>
Mon, 7 Jun 2004 10:07:06 +0000 (10:07 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 7 Jun 2004 10:07:06 +0000 (10:07 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@598 b70326c6-7e19-0410-871a-916f4a2858ee

lwgeom/lwgeom_inout.c

index 5b7736c2881925d8bdb352d523fbf253f2d25d44..ab632099c21504259c4f51fc24f116f1220c1d28 100644 (file)
@@ -105,7 +105,7 @@ Datum LWGEOM_in(PG_FUNCTION_ARGS)
                                //PG_RETURN_POINTER(parse_lwgeom_serialized_form(str));
                                PG_RETURN_POINTER( parse_lwgeom_wkt(str) );   // this function handles wkt and wkb (in hex-form)
                }
-               else if ( (start == 'P') || (start == 'L') || (start == 'M') || (start == 'G'))
+               else if ( (start == 'P') || (start == 'L') || (start == 'M') || (start == 'G') || (start == 'p') || (start == 'l') || (start == 'm') || (start == 'g'))
                {
                                // its WKT
                                PG_RETURN_POINTER( parse_lwgeom_wkt(str) );  // this function handles wkt and wkb (in hex-form)