allowed lower case in wkt

git-svn-id: http://svn.osgeo.org/postgis/trunk@598 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Sandro Santilli 2004-06-07 10:07:06 +00:00
parent a4d8700ca7
commit 3a5e49e646

View 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)