26 #if !defined HAVE_OGR || !defined HAVE_POSTGRES
29 G_fatal_error(
_(
"Requested format is not compiled in this version"));
34 static int (*Rewind_array[][4])(
struct Map_info *) = {
69 return (*Rewind_array[Map->
format][Map->
level])(Map);
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
int G_debug(int, const char *,...) __attribute__((format(printf
int V2_rewind_ogr(struct Map_info *)
Rewind vector map (OGR layer) to cause reads to start at beginning on topological level (level 2)
int V2_rewind_nat(struct Map_info *)
Rewind vector map to cause reads to start at beginning on topological level (level 2) - native format...
int V1_rewind_nat(struct Map_info *)
Rewind vector map to cause reads to start at beginning on non-topological level (level 1) - native fo...
int V1_rewind_pg(struct Map_info *)
Rewind vector map (PostGIS layer) to cause reads to start at beginning (level 1)
int V1_rewind_ogr(struct Map_info *)
Rewind vector map (OGR layer) to cause reads to start at beginning (level 1)
int V2_rewind_pg(struct Map_info *)
Rewind vector map (PostGIS layer) to cause reads to start at beginning on topological level (level 2)
#define VECT_OPEN(Map)
Check if vector map is open.
#define UNUSED
A macro for an attribute, if attached to a variable, indicating that the variable is not used.
char * name
Map name (for 4.0)
int format
Map format (native, ogr, postgis)
int Vect_rewind(struct Map_info *Map)
Rewind vector map to cause reads to start at beginning.