|
PostGIS 3.7.0dev-r@@SVN_REVISION@@
|
|
extern |
Utility function to get type number from string.
For example, a string 'POINTZ' would return type of 1 and z of 1 and m of 0. Valid
Utility function to get type number from string.
Case insensitive, and insensitive to spaces at front and back. Type == 0 in the case of the string "GEOMETRY" or "GEOGRAPHY". Return LW_SUCCESS for success.
Definition at line 495 of file lwutil.c.
References dumb_toupper(), geomtype_struct_array, GEOMTYPE_STRUCT_ARRAY_LEN, LW_FAILURE, LW_SUCCESS, lwalloc(), lwfree(), geomtype_struct::m, str, geomtype_struct::type, and geomtype_struct::z.
Referenced by getTableInfo(), gserialized_typmod_in(), and test_geometry_type_from_string().

