PostGIS  2.4.9dev-r@@SVN_REVISION@@
g_util.c File Reference
#include <ctype.h>
#include "liblwgeom_internal.h"
Include dependency graph for g_util.c:

Go to the source code of this file.

Data Structures

struct  geomtype_struct
 

Macros

#define GEOMTYPE_STRUCT_ARRAY_LEN   (sizeof geomtype_struct_array/sizeof(struct geomtype_struct))
 

Functions

static char dump_toupper (int in)
 
uint8_t gflags (int hasz, int hasm, int geodetic)
 Construct a new flags char. More...
 
int geometry_type_from_string (const char *str, uint8_t *type, int *z, int *m)
 Calculate type integer and dimensional flags from string input. More...
 

Variables

struct geomtype_struct geomtype_struct_array []
 
const char dumb_upper_map [128] = "................................................0123456789.......ABCDEFGHIJKLMNOPQRSTUVWXYZ......ABCDEFGHIJKLMNOPQRSTUVWXYZ....."