25 #include "local_proto.h"
60 OGR_DS_Destroy(ogr_info->
ds);
104 G_warning(
_(
"Unable to save feature index file for vector map <%s>"),
int V1_close_ogr(struct Map_info *Map)
Close vector map (OGR dsn & layer) on level 1.
int V2_close_ogr(struct Map_info *Map)
Close vector map on topological level (write out fidx file)
int db_close_database_shutdown_driver(dbDriver *)
Close driver/database connection.
void G_free(void *)
Free allocated memory.
const char * G_find_file2(const char *, const char *, const char *)
Searches for a file from the mapset search list or in a specified mapset. (look but don't touch)
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
void G_warning(const char *,...) __attribute__((format(printf
const char * G_mapset(void)
Get current mapset name.
void G_free_tokens(char **)
Free memory allocated to tokens.
int G_debug(int, const char *,...) __attribute__((format(printf
int Vect_save_frmt(struct Map_info *)
Save format definition file for vector map.
int Vect_save_fidx(struct Map_info *, struct Format_info_offset *)
Save feature index file for vector map.
int Vect__write_head(struct Map_info *)
Writes head information to text file (GV_HEAD_ELEMENT)
#define VECT_OPEN(Map)
Check if vector map is open.
#define GV_MODE_WRITE
Write vector map open mode.
#define GV_FORMAT_OGR_DIRECT
OGR format (direct access)
#define GV_MODE_RW
Read-write vector map open mode.
char * mapset
Mapset name.
char * name
Map name (for 4.0)
int format
Map format (native, ogr, postgis)
struct Format_info fInfo
Format info for non-native formats.
void Vect__free_offset(struct Format_info_offset *offset)
void Vect__free_cache(struct Format_info_cache *cache)