21 static int rew_dummy()
26 #if !defined HAVE_OGR || !defined HAVE_POSTGRES 29 G_fatal_error(
_(
"Requested format is not compiled in this version"));
35 static int (*Rewind_array[][4]) () = {
45 rew_dummy, format, format, rew_dummy}
47 rew_dummy, format, format, rew_dummy}
54 rew_dummy, format, format, rew_dummy}
73 return (*Rewind_array[Map->
format][Map->
level]) (Map);
char * name
Map name (for 4.0)
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
int V2_rewind_nat(struct Map_info *)
Rewind vector map to cause reads to start at beginning on topological level (level 2) - native format...
#define VECT_OPEN(Map)
Check if vector map is open.
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_ogr(struct Map_info *)
Rewind vector map (OGR layer) to cause reads to start at beginning on topological level (level 2) ...
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 V2_rewind_pg(struct Map_info *)
Rewind vector map (PostGIS layer) to cause reads to start at beginning on topological level (level 2)...
int format
Map format (native, ogr, postgis)
int G_debug(int, const char *,...) __attribute__((format(printf
int Vect_rewind(struct Map_info *Map)
Rewind vector map to cause reads to start at beginning.