GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
Format_info_ogr Struct Reference

Non-native format info (OGR) More...

#include <dig_structs.h>

Collaboration diagram for Format_info_ogr:

Data Fields

char * driver_name
 OGR driver name. More...
 
char * dsn
 OGR datasource name. More...
 
char * layer_name
 OGR layer name. More...
 
char * where
 SQL where statement (to filter features) More...
 
OGRSFDriverH driver
 Pointer to OGRDriver. More...
 
OGRDataSourceH ds
 Pointer to OGRDataSource. More...
 
OGRLayerH layer
 Pointer to OGRLayer. More...
 
dbDriverdbdriver
 Open DB driver when writing attributes. More...
 
char ** dsn_options
 Array of OGR DSN options. More...
 
char ** layer_options
 Array of OGR layer options. More...
 
struct Format_info_cache cache
 Lines cache for reading feature. More...
 
OGRFeatureH feature_cache
 Cache to avoid repeated reading (level 2) More...
 
struct Format_info_offset offset
 Offset list used for building pseudo-topology. More...
 
int next_line
 Next line to be read. More...
 

Detailed Description

Non-native format info (OGR)

Todo:
Structure size should not change depending on compilation I think, do it better

Definition at line 516 of file dig_structs.h.

Field Documentation

◆ cache

struct Format_info_cache Format_info_ogr::cache

Lines cache for reading feature.

Definition at line 573 of file dig_structs.h.

Referenced by V1_close_ogr(), V1_open_old_ogr(), and V1_rewind_ogr().

◆ dbdriver

dbDriver* Format_info_ogr::dbdriver

Open DB driver when writing attributes.

This driver is open by V2_open_new_ogr() and closed by V1_close_ogr().

Definition at line 559 of file dig_structs.h.

Referenced by V1_close_ogr().

◆ driver

OGRSFDriverH Format_info_ogr::driver

Pointer to OGRDriver.

Definition at line 538 of file dig_structs.h.

Referenced by V1_open_new_ogr().

◆ driver_name

char* Format_info_ogr::driver_name

OGR driver name.

Definition at line 521 of file dig_structs.h.

Referenced by V1_close_ogr(), V1_open_new_ogr(), Vect_get_finfo(), and Vect_maptype().

◆ ds

OGRDataSourceH Format_info_ogr::ds

Pointer to OGRDataSource.

Definition at line 542 of file dig_structs.h.

Referenced by V1_close_ogr(), V1_open_new_ogr(), V1_open_old_ogr(), Vect_build_ogr(), and Vect_get_finfo_format_info().

◆ dsn

◆ dsn_options

char** Format_info_ogr::dsn_options

Array of OGR DSN options.

Definition at line 564 of file dig_structs.h.

◆ feature_cache

OGRFeatureH Format_info_ogr::feature_cache

Cache to avoid repeated reading (level 2)

NULL if no feature is in cache

Definition at line 581 of file dig_structs.h.

Referenced by V1_close_ogr().

◆ layer

OGRLayerH Format_info_ogr::layer

◆ layer_name

char* Format_info_ogr::layer_name

◆ layer_options

char** Format_info_ogr::layer_options

Array of OGR layer options.

Definition at line 568 of file dig_structs.h.

Referenced by V1_close_ogr().

◆ next_line

int Format_info_ogr::next_line

Next line to be read.

Used by V2_read_next_line_ogr()

Definition at line 596 of file dig_structs.h.

Referenced by V2_open_old_ogr().

◆ offset

struct Format_info_offset Format_info_ogr::offset

Offset list used for building pseudo-topology.

Definition at line 589 of file dig_structs.h.

Referenced by V1_delete_line_ogr(), V2_close_ogr(), V2_open_old_ogr(), Vect_build_ogr(), and Vect_fidx_dump().

◆ where

char* Format_info_ogr::where

SQL where statement (to filter features)

Definition at line 533 of file dig_structs.h.

Referenced by dig_read_frmt_ascii().


The documentation for this struct was generated from the following file: