12#define WKB_EXTENDED 0x04
16#define WKB_NO_NPOINTS 0x40
17#define WKB_NO_SRID 0x80
21#define WKT_EXTENDED 0x04
28 double afac, bfac, cfac, dfac, efac, ffac, gfac, hfac, ifac, xoff, yoff, zoff;
int32_t lwgeom_get_srid(const LWGEOM *geom)
double lwpoint_get_m(const LWPOINT *point)
GSERIALIZED * gserialized_from_lwgeom(LWGEOM *geom, size_t *size)
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
uint16_t lwflags_t
Definition: postgis_ext_defs.in.h:23
double lwpoint_get_x(const LWPOINT *point)
LWPOINT * lwgeom_as_lwpoint(const LWGEOM *lwgeom)
int lwgeom_has_z(const LWGEOM *geom)
LWPOINT * lwpoint_make(int32_t srid, int hasz, int hasm, const POINT4D *p)
double lwpoint_get_z(const LWPOINT *point)
int lwgeom_has_m(const LWGEOM *geom)
double lwpoint_get_y(const LWPOINT *point)
double afac
Definition: postgis_ext_defs.in.h:28
Definition: postgis_ext_defs.in.h:27
double xmax
Definition: postgis_ext_defs.in.h:36
double xmin
Definition: postgis_ext_defs.in.h:35
int32_t srid
Definition: postgis_ext_defs.in.h:37
Definition: postgis_ext_defs.in.h:34
double ymax
Definition: postgis_ext_defs.in.h:53
double zmax
Definition: postgis_ext_defs.in.h:55
double xmax
Definition: postgis_ext_defs.in.h:51
double zmin
Definition: postgis_ext_defs.in.h:54
double mmax
Definition: postgis_ext_defs.in.h:57
double ymin
Definition: postgis_ext_defs.in.h:52
double xmin
Definition: postgis_ext_defs.in.h:50
double mmin
Definition: postgis_ext_defs.in.h:56
lwflags_t flags
Definition: postgis_ext_defs.in.h:49
Definition: postgis_ext_defs.in.h:48
uint32_t size
Definition: postgis_ext_defs.in.h:140
uint8_t gflags
Definition: postgis_ext_defs.in.h:142
Definition: postgis_ext_defs.in.h:139
uint8_t type
Definition: postgis_ext_defs.in.h:206
int32_t srid
Definition: postgis_ext_defs.in.h:204
lwflags_t flags
Definition: postgis_ext_defs.in.h:205
POINTARRAY * points
Definition: postgis_ext_defs.in.h:203
GBOX * bbox
Definition: postgis_ext_defs.in.h:202
Definition: postgis_ext_defs.in.h:201
lwflags_t flags
Definition: postgis_ext_defs.in.h:273
uint32_t ngeoms
Definition: postgis_ext_defs.in.h:276
uint32_t maxgeoms
Definition: postgis_ext_defs.in.h:277
uint8_t type
Definition: postgis_ext_defs.in.h:274
GBOX * bbox
Definition: postgis_ext_defs.in.h:270
LWGEOM ** geoms
Definition: postgis_ext_defs.in.h:271
int32_t srid
Definition: postgis_ext_defs.in.h:272
Definition: postgis_ext_defs.in.h:269
uint32_t maxgeoms
Definition: postgis_ext_defs.in.h:291
lwflags_t flags
Definition: postgis_ext_defs.in.h:287
int32_t srid
Definition: postgis_ext_defs.in.h:286
GBOX * bbox
Definition: postgis_ext_defs.in.h:284
uint32_t ngeoms
Definition: postgis_ext_defs.in.h:290
uint8_t type
Definition: postgis_ext_defs.in.h:288
LWGEOM ** geoms
Definition: postgis_ext_defs.in.h:285
Definition: postgis_ext_defs.in.h:283
int32_t srid
Definition: postgis_ext_defs.in.h:300
GBOX * bbox
Definition: postgis_ext_defs.in.h:298
uint8_t type
Definition: postgis_ext_defs.in.h:302
LWGEOM ** rings
Definition: postgis_ext_defs.in.h:299
lwflags_t flags
Definition: postgis_ext_defs.in.h:301
uint32_t nrings
Definition: postgis_ext_defs.in.h:304
uint32_t maxrings
Definition: postgis_ext_defs.in.h:305
Definition: postgis_ext_defs.in.h:297
void * data
Definition: postgis_ext_defs.in.h:155
uint8_t type
Definition: postgis_ext_defs.in.h:158
GBOX * bbox
Definition: postgis_ext_defs.in.h:154
int32_t srid
Definition: postgis_ext_defs.in.h:156
lwflags_t flags
Definition: postgis_ext_defs.in.h:157
Definition: postgis_ext_defs.in.h:153
lwflags_t flags
Definition: postgis_ext_defs.in.h:181
GBOX * bbox
Definition: postgis_ext_defs.in.h:178
POINTARRAY * points
Definition: postgis_ext_defs.in.h:179
uint8_t type
Definition: postgis_ext_defs.in.h:182
int32_t srid
Definition: postgis_ext_defs.in.h:180
Definition: postgis_ext_defs.in.h:177
uint32_t maxgeoms
Definition: postgis_ext_defs.in.h:319
LWGEOM ** geoms
Definition: postgis_ext_defs.in.h:313
GBOX * bbox
Definition: postgis_ext_defs.in.h:312
lwflags_t flags
Definition: postgis_ext_defs.in.h:315
uint32_t ngeoms
Definition: postgis_ext_defs.in.h:318
int32_t srid
Definition: postgis_ext_defs.in.h:314
uint8_t type
Definition: postgis_ext_defs.in.h:316
Definition: postgis_ext_defs.in.h:311
uint32_t maxgeoms
Definition: postgis_ext_defs.in.h:249
lwflags_t flags
Definition: postgis_ext_defs.in.h:245
GBOX * bbox
Definition: postgis_ext_defs.in.h:242
int32_t srid
Definition: postgis_ext_defs.in.h:244
LWLINE ** geoms
Definition: postgis_ext_defs.in.h:243
uint8_t type
Definition: postgis_ext_defs.in.h:246
uint32_t ngeoms
Definition: postgis_ext_defs.in.h:248
Definition: postgis_ext_defs.in.h:241
uint32_t maxgeoms
Definition: postgis_ext_defs.in.h:235
int32_t srid
Definition: postgis_ext_defs.in.h:230
GBOX * bbox
Definition: postgis_ext_defs.in.h:228
lwflags_t flags
Definition: postgis_ext_defs.in.h:231
uint32_t ngeoms
Definition: postgis_ext_defs.in.h:234
LWPOINT ** geoms
Definition: postgis_ext_defs.in.h:229
uint8_t type
Definition: postgis_ext_defs.in.h:232
Definition: postgis_ext_defs.in.h:227
uint8_t type
Definition: postgis_ext_defs.in.h:260
GBOX * bbox
Definition: postgis_ext_defs.in.h:256
uint32_t maxgeoms
Definition: postgis_ext_defs.in.h:263
uint32_t ngeoms
Definition: postgis_ext_defs.in.h:262
LWPOLY ** geoms
Definition: postgis_ext_defs.in.h:257
lwflags_t flags
Definition: postgis_ext_defs.in.h:259
int32_t srid
Definition: postgis_ext_defs.in.h:258
Definition: postgis_ext_defs.in.h:255
uint8_t type
Definition: postgis_ext_defs.in.h:330
int32_t srid
Definition: postgis_ext_defs.in.h:328
uint32_t maxgeoms
Definition: postgis_ext_defs.in.h:333
GBOX * bbox
Definition: postgis_ext_defs.in.h:326
uint32_t ngeoms
Definition: postgis_ext_defs.in.h:332
lwflags_t flags
Definition: postgis_ext_defs.in.h:329
LWGEOM ** geoms
Definition: postgis_ext_defs.in.h:327
Definition: postgis_ext_defs.in.h:325
POINTARRAY * point
Definition: postgis_ext_defs.in.h:167
uint8_t type
Definition: postgis_ext_defs.in.h:170
lwflags_t flags
Definition: postgis_ext_defs.in.h:169
GBOX * bbox
Definition: postgis_ext_defs.in.h:166
int32_t srid
Definition: postgis_ext_defs.in.h:168
Definition: postgis_ext_defs.in.h:165
POINTARRAY ** rings
Definition: postgis_ext_defs.in.h:215
uint8_t type
Definition: postgis_ext_defs.in.h:218
uint32_t maxrings
Definition: postgis_ext_defs.in.h:221
uint32_t nrings
Definition: postgis_ext_defs.in.h:220
GBOX * bbox
Definition: postgis_ext_defs.in.h:214
lwflags_t flags
Definition: postgis_ext_defs.in.h:217
int32_t srid
Definition: postgis_ext_defs.in.h:216
Definition: postgis_ext_defs.in.h:213
lwflags_t flags
Definition: postgis_ext_defs.in.h:343
uint32_t maxgeoms
Definition: postgis_ext_defs.in.h:347
LWPOLY ** geoms
Definition: postgis_ext_defs.in.h:341
uint32_t ngeoms
Definition: postgis_ext_defs.in.h:346
uint8_t type
Definition: postgis_ext_defs.in.h:344
int32_t srid
Definition: postgis_ext_defs.in.h:342
GBOX * bbox
Definition: postgis_ext_defs.in.h:340
Definition: postgis_ext_defs.in.h:339
uint32_t ngeoms
Definition: postgis_ext_defs.in.h:360
int32_t srid
Definition: postgis_ext_defs.in.h:356
uint8_t type
Definition: postgis_ext_defs.in.h:358
lwflags_t flags
Definition: postgis_ext_defs.in.h:357
LWTRIANGLE ** geoms
Definition: postgis_ext_defs.in.h:355
uint32_t maxgeoms
Definition: postgis_ext_defs.in.h:361
GBOX * bbox
Definition: postgis_ext_defs.in.h:354
Definition: postgis_ext_defs.in.h:353
int32_t srid
Definition: postgis_ext_defs.in.h:192
uint8_t type
Definition: postgis_ext_defs.in.h:194
GBOX * bbox
Definition: postgis_ext_defs.in.h:190
lwflags_t flags
Definition: postgis_ext_defs.in.h:193
POINTARRAY * points
Definition: postgis_ext_defs.in.h:191
Definition: postgis_ext_defs.in.h:189
double x
Definition: postgis_ext_defs.in.h:86
Definition: postgis_ext_defs.in.h:85
double m
Definition: postgis_ext_defs.in.h:104
Definition: postgis_ext_defs.in.h:103
double x
Definition: postgis_ext_defs.in.h:92
Definition: postgis_ext_defs.in.h:91
double x
Definition: postgis_ext_defs.in.h:98
Definition: postgis_ext_defs.in.h:97
double m
Definition: postgis_ext_defs.in.h:110
Definition: postgis_ext_defs.in.h:109
lwflags_t flags
Definition: postgis_ext_defs.in.h:127
uint32_t maxpoints
Definition: postgis_ext_defs.in.h:124
uint32_t npoints
Definition: postgis_ext_defs.in.h:123
uint8_t * serialized_pointlist
Definition: postgis_ext_defs.in.h:130
Definition: postgis_ext_defs.in.h:122
double e_sq
Definition: postgis_ext_defs.in.h:75
double e
Definition: postgis_ext_defs.in.h:74
double radius
Definition: postgis_ext_defs.in.h:76
double a
Definition: postgis_ext_defs.in.h:71
double b
Definition: postgis_ext_defs.in.h:72
double f
Definition: postgis_ext_defs.in.h:73
Definition: postgis_ext_defs.in.h:70