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.
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) ...
char * name
Map name (for 4.0)
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
int Vect_save_frmt(struct Map_info *)
Save format definition file for vector map.
void Vect__free_cache(struct Format_info_cache *cache)
void G_free(void *)
Free allocated memory.
struct Format_info fInfo
Format info for non-native formats.
int db_close_database_shutdown_driver(dbDriver *)
Close driver/database connection.
#define GV_MODE_RW
Read-write vector map open mode.
#define VECT_OPEN(Map)
Check if vector map is open.
void Vect__free_offset(struct Format_info_offset *offset)
#define GV_FORMAT_OGR_DIRECT
OGR format (direct access)
int V2_close_ogr(struct Map_info *Map)
Close vector map on topological level (write out fidx file)
char * mapset
Mapset name.
const char * G_mapset(void)
Get current mapset name.
void G_free_tokens(char **)
Free memory allocated to tokens.
void G_warning(const char *,...) __attribute__((format(printf
int format
Map format (native, ogr, postgis)
#define GV_MODE_WRITE
Write vector map open mode.
int Vect__write_head(const struct Map_info *)
Writes head information to text file (GV_HEAD_ELEMENT)
int Vect_save_fidx(struct Map_info *, struct Format_info_offset *)
Save feature index file for vector map.
int G_debug(int, const char *,...) __attribute__((format(printf