Go to the documentation of this file.
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
66 #define GAIA_VECTORS_LIST_FAST 0
69 #define GAIA_VECTORS_LIST_OPTIMISTIC 1
72 #define GAIA_VECTORS_LIST_PESSIMISTIC 2
77 #define GAIA_VECTOR_UNKNOWN -1
79 #define GAIA_VECTOR_TABLE 1
81 #define GAIA_VECTOR_VIEW 2
83 #define GAIA_VECTOR_VIRTUAL 3
88 #define GAIA_VECTOR_GEOMETRY 0
90 #define GAIA_VECTOR_POINT 1
92 #define GAIA_VECTOR_LINESTRING 2
94 #define GAIA_VECTOR_POLYGON 3
96 #define GAIA_VECTOR_MULTIPOINT 4
98 #define GAIA_VECTOR_MULTILINESTRING 5
100 #define GAIA_VECTOR_MULTIPOLYGON 6
102 #define GAIA_VECTOR_GEOMETRYCOLLECTION 7
107 #define GAIA_SPATIAL_INDEX_NONE 0
109 #define GAIA_SPATIAL_INDEX_RTREE 1
111 #define GAIA_SPATIAL_INDEX_MBRCACHE 2
116 #define GAIA_TYPE_NONE 0
118 #define GAIA_TYPE_POINT 1
120 #define GAIA_TYPE_LINESTRING 2
122 #define GAIA_TYPE_POLYGON 3
126 #define GAIA_BIG_ENDIAN 0
128 #define GAIA_LITTLE_ENDIAN 1
132 #define GAIA_MARK_START 0x00
134 #define GAIA_MARK_END 0xFE
136 #define GAIA_MARK_MBR 0x7C
138 #define GAIA_MARK_ENTITY 0x69
142 #define GAIA_UNKNOWN 0
146 #define GAIA_LINESTRING 2
148 #define GAIA_POLYGON 3
150 #define GAIA_MULTIPOINT 4
152 #define GAIA_MULTILINESTRING 5
154 #define GAIA_MULTIPOLYGON 6
156 #define GAIA_GEOMETRYCOLLECTION 7
158 #define GAIA_POINTZ 1001
160 #define GAIA_LINESTRINGZ 1002
162 #define GAIA_POLYGONZ 1003
164 #define GAIA_MULTIPOINTZ 1004
166 #define GAIA_MULTILINESTRINGZ 1005
168 #define GAIA_MULTIPOLYGONZ 1006
170 #define GAIA_GEOMETRYCOLLECTIONZ 1007
172 #define GAIA_POINTM 2001
174 #define GAIA_LINESTRINGM 2002
176 #define GAIA_POLYGONM 2003
178 #define GAIA_MULTIPOINTM 2004
180 #define GAIA_MULTILINESTRINGM 2005
182 #define GAIA_MULTIPOLYGONM 2006
184 #define GAIA_GEOMETRYCOLLECTIONM 2007
186 #define GAIA_POINTZM 3001
188 #define GAIA_LINESTRINGZM 3002
190 #define GAIA_POLYGONZM 3003
192 #define GAIA_MULTIPOINTZM 3004
194 #define GAIA_MULTILINESTRINGZM 3005
196 #define GAIA_MULTIPOLYGONZM 3006
198 #define GAIA_GEOMETRYCOLLECTIONZM 3007
202 #define GAIA_COMPRESSED_LINESTRING 1000002
204 #define GAIA_COMPRESSED_POLYGON 1000003
206 #define GAIA_COMPRESSED_LINESTRINGZ 1001002
208 #define GAIA_COMPRESSED_POLYGONZ 1001003
210 #define GAIA_COMPRESSED_LINESTRINGM 1002002
212 #define GAIA_COMPRESSED_POLYGONM 1002003
214 #define GAIA_COMPRESSED_LINESTRINGZM 1003002
216 #define GAIA_COMPRESSED_POLYGONZM 1003003
220 #define GAIA_GEOSWKB_POINTZ -2147483647
222 #define GAIA_GEOSWKB_LINESTRINGZ -2147483646
224 #define GAIA_GEOSWKB_POLYGONZ -2147483645
226 #define GAIA_GEOSWKB_MULTIPOINTZ -2147483644
228 #define GAIA_GEOSWKB_MULTILINESTRINGZ -2147483643
230 #define GAIA_GEOSWKB_MULTIPOLYGONZ -2147483642
232 #define GAIA_GEOSWKB_GEOMETRYCOLLECTIONZ -2147483641
236 #define GAIA_NULL_VALUE 0
238 #define GAIA_TEXT_VALUE 1
240 #define GAIA_INT_VALUE 2
242 #define GAIA_DOUBLE_VALUE 3
246 #define GAIA_START_POINT 1
248 #define GAIA_END_POINT 2
250 #define GAIA_POINTN 3
254 #define GAIA_MBR_CONTAINS 1
256 #define GAIA_MBR_DISJOINT 2
258 #define GAIA_MBR_EQUAL 3
260 #define GAIA_MBR_INTERSECTS 4
262 #define GAIA_MBR_OVERLAPS 5
264 #define GAIA_MBR_TOUCHES 6
266 #define GAIA_MBR_WITHIN 7
270 #define GAIA_FILTER_MBR_WITHIN 74
272 #define GAIA_FILTER_MBR_CONTAINS 77
274 #define GAIA_FILTER_MBR_INTERSECTS 79
276 #define GAIA_FILTER_MBR_DECLARE 89
280 #define GAIA_SVG_DEFAULT_RELATIVE 0
282 #define GAIA_SVG_DEFAULT_PRECISION 6
284 #define GAIA_SVG_DEFAULT_MAX_PRECISION 15
288 #define GAIA_NET_START 0x67
290 #define GAIA_NET64_START 0x68
292 #define GAIA_NET64_A_STAR_START 0x69
294 #define GAIA_NET_END 0x87
296 #define GAIA_NET_HEADER 0xc0
298 #define GAIA_NET_CODE 0xa6
300 #define GAIA_NET_ID 0xb5
302 #define GAIA_NET_NODE 0xde
304 #define GAIA_NET_ARC 0x54
306 #define GAIA_NET_TABLE 0xa0
308 #define GAIA_NET_FROM 0xa1
310 #define GAIA_NET_TO 0xa2
312 #define GAIA_NET_GEOM 0xa3
314 #define GAIA_NET_NAME 0xa4
316 #define GAIA_NET_A_STAR_COEFF 0xa5
318 #define GAIA_NET_BLOCK 0xed
324 #define GAIA_XY_Z 0x01
326 #define GAIA_XY_M 0x02
328 #define GAIA_XY_Z_M 0x03
358 #define GAIA_US_IN 13
360 #define GAIA_US_FT 14
362 #define GAIA_US_YD 15
364 #define GAIA_US_CH 16
366 #define GAIA_US_MI 17
368 #define GAIA_IND_YD 18
370 #define GAIA_IND_FT 19
372 #define GAIA_IND_CH 20
374 #define GAIA_MIN_UNIT GAIA_KM
376 #define GAIA_MAX_UNIT GAIA_IND_CH
380 #define GAIA_SHP_NULL 0
382 #define GAIA_SHP_POINT 1
384 #define GAIA_SHP_POLYLINE 3
386 #define GAIA_SHP_POLYGON 5
388 #define GAIA_SHP_MULTIPOINT 8
390 #define GAIA_SHP_POINTZ 11
392 #define GAIA_SHP_POLYLINEZ 13
394 #define GAIA_SHP_POLYGONZ 15
396 #define GAIA_SHP_MULTIPOINTZ 18
398 #define GAIA_SHP_POINTM 21
400 #define GAIA_SHP_POLYLINEM 23
402 #define GAIA_SHP_POLYGONM 25
404 #define GAIA_SHP_MULTIPOINTM 28
408 #define GAIA_SAME_ORDER 0
410 #define GAIA_REVERSE_ORDER -1
412 #define GAIA_LHR_ORDER -2
428 #define gaiaGetPoint(xy,v,x,y) \
430 *y = xy[(v) * 2 + 1];}
445 #define gaiaSetPoint(xy,v,x,y) \
447 xy[(v) * 2 + 1] = y;}
463 #define gaiaGetPointXYZ(xyz,v,x,y,z) \
464 {*x = xyz[(v) * 3]; \
465 *y = xyz[(v) * 3 + 1]; \
466 *z = xyz[(v) * 3 + 2];}
482 #define gaiaSetPointXYZ(xyz,v,x,y,z) \
484 xyz[(v) * 3 + 1] = y; \
485 xyz[(v) * 3 + 2] = z;}
501 #define gaiaGetPointXYM(xym,v,x,y,m) \
502 {*x = xym[(v) * 3]; \
503 *y = xym[(v) * 3 + 1]; \
504 *m = xym[(v) * 3 + 2];}
520 #define gaiaSetPointXYM(xym,v,x,y,m) \
522 xym[(v) * 3 + 1] = y; \
523 xym[(v) * 3 + 2] = m;}
540 #define gaiaGetPointXYZM(xyzm,v,x,y,z,m) \
541 {*x = xyzm[(v) * 4]; \
542 *y = xyzm[(v) * 4 + 1]; \
543 *z = xyzm[(v) * 4 + 2]; \
544 *m = xyzm[(v) * 4 + 3];}
561 #define gaiaSetPointXYZM(xyzm,v,x,y,z,m) \
562 {xyzm[(v) * 4] = x; \
563 xyzm[(v) * 4 + 1] = y; \
564 xyzm[(v) * 4 + 2] = z; \
565 xyzm[(v) * 4 + 3] = m;}