GRASS 8 Programmer's Manual 8.6.0dev(2026)-1d1e47ad9d
Loading...
Searching...
No Matches
Format_info_ogr Struct Reference

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

#include <dig_structs.h>

Collaboration diagram for Format_info_ogr:

Data Fields

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

Detailed Description

Non-native format info (OGR)

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

Definition at line 503 of file dig_structs.h.

Field Documentation

◆ cache

struct Format_info_cache Format_info_ogr::cache

Lines cache for reading feature.

Definition at line 553 of file dig_structs.h.

◆ 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 539 of file dig_structs.h.

◆ driver

OGRSFDriverH Format_info_ogr::driver

Pointer to OGRDriver.

Definition at line 523 of file dig_structs.h.

◆ driver_name

char* Format_info_ogr::driver_name

OGR driver name.

Definition at line 507 of file dig_structs.h.

◆ ds

OGRDataSourceH Format_info_ogr::ds

Pointer to OGRDataSource.

Definition at line 527 of file dig_structs.h.

◆ dsn

char* Format_info_ogr::dsn

OGR datasource name.

Definition at line 511 of file dig_structs.h.

◆ dsn_options

char** Format_info_ogr::dsn_options

Array of OGR DSN options.

Definition at line 544 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 560 of file dig_structs.h.

◆ layer

OGRLayerH Format_info_ogr::layer

Pointer to OGRLayer.

Definition at line 531 of file dig_structs.h.

Referenced by V1_open_old_ogr().

◆ layer_name

char* Format_info_ogr::layer_name

OGR layer name.

Definition at line 515 of file dig_structs.h.

◆ layer_options

char** Format_info_ogr::layer_options

Array of OGR layer options.

Definition at line 548 of file dig_structs.h.

◆ next_line

int Format_info_ogr::next_line

Next line to be read.

Used by V2_read_next_line_ogr()

Definition at line 572 of file dig_structs.h.

◆ offset

struct Format_info_offset Format_info_ogr::offset

Offset list used for building pseudo-topology.

Definition at line 565 of file dig_structs.h.

Referenced by V1_delete_line_ogr(), and V1_read_line_ogr().

◆ where

char* Format_info_ogr::where

SQL where statement (to filter features)

Definition at line 519 of file dig_structs.h.


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