GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71769
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Format_info_pg Struct Reference

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

#include <dig_structs.h>

Collaboration diagram for Format_info_pg:

Data Fields

char * conninfo
 Connection string. More...
 
char * db_name
 Database name (derived from conninfo) More...
 
char * schema_name
 Schema name. More...
 
char * table_name
 Table name. More...
 
char * where
 SQL where statement (fo filter features) More...
 
char * fid_column
 FID column. More...
 
char * geom_column
 Geometry column (simple feature access) More...
 
SF_FeatureType feature_type
 Feature type (simple feature access) More...
 
int coor_dim
 Coordinates dimension (2D or 3D) More...
 
int srid
 Spatial reference system id (see spatial_ref_sys table) More...
 
dbDriverdbdriver
 Open DB driver when writing attributes. More...
 
struct field_infofi
 
int inTransaction
 Start/Finish transaction. More...
 
void * conn
 
void * res
 
char * cursor_name
 Open cursor. More...
 
int cursor_fid
 
int next_line
 Next line to be read. More...
 
struct Format_info_cache cache
 Lines cache for reading feature. More...
 
struct Format_info_offset offset
 Offset list used for building pseudo-topology (simple features access) More...
 
char * topogeom_column
 TopoGeometry column (feature table) More...
 
char * toposchema_name
 Topology schema name and id. More...
 
int toposchema_id
 
int topo_geo_only
 Topology format. More...
 

Detailed Description

Non-native format info (PostGIS)

Definition at line 602 of file dig_structs.h.

Field Documentation

struct Format_info_cache Format_info_pg::cache
char* Format_info_pg::conninfo
int Format_info_pg::coor_dim

Coordinates dimension (2D or 3D)

Definition at line 639 of file dig_structs.h.

Referenced by V1_open_old_pg().

int Format_info_pg::cursor_fid

Definition at line 673 of file dig_structs.h.

char* Format_info_pg::cursor_name

Open cursor.

Definition at line 672 of file dig_structs.h.

Referenced by V1_close_pg().

char* Format_info_pg::db_name

Database name (derived from conninfo)

Definition at line 611 of file dig_structs.h.

Referenced by V1_close_pg(), V1_open_new_pg(), Vect_build_pg(), and Vect_get_finfo_dsn_name().

dbDriver* Format_info_pg::dbdriver

Open DB driver when writing attributes.

This driver is open by V2_open_new_pg() and closed by V1_close_pg().

Definition at line 652 of file dig_structs.h.

Referenced by V1_close_pg().

SF_FeatureType Format_info_pg::feature_type

Feature type (simple feature access)

Definition at line 635 of file dig_structs.h.

Referenced by V1_open_new_pg(), V1_open_old_pg(), V1_write_line_pg(), and Vect_build_pg().

struct field_info* Format_info_pg::fi

Definition at line 653 of file dig_structs.h.

Referenced by V1_close_pg().

char* Format_info_pg::fid_column
char* Format_info_pg::geom_column

Geometry column (simple feature access)

Definition at line 631 of file dig_structs.h.

Referenced by V1_close_pg(), V1_open_new_pg(), and V1_open_old_pg().

int Format_info_pg::inTransaction

Start/Finish transaction.

Definition at line 658 of file dig_structs.h.

Referenced by V1_delete_line_pg(), and Vect_build_pg().

int Format_info_pg::next_line

Next line to be read.

Definition at line 678 of file dig_structs.h.

Referenced by V1_rewind_pg().

struct Format_info_offset Format_info_pg::offset

Offset list used for building pseudo-topology (simple features access)

Definition at line 689 of file dig_structs.h.

Referenced by V1_delete_line_pg(), V1_read_line_pg(), V2_close_pg(), V2_open_old_pg(), V2_read_line_pg(), V2_write_line_sfa(), Vect_build_pg(), and Vect_fidx_dump().

void* Format_info_pg::res
int Format_info_pg::srid

Spatial reference system id (see spatial_ref_sys table)

Definition at line 644 of file dig_structs.h.

Referenced by V1_open_old_pg().

int Format_info_pg::topo_geo_only

Topology format.

TRUE to store only Topo-Geo data in DB otherwise GRASS-like topology is also maintained in DB

Definition at line 707 of file dig_structs.h.

Referenced by Vect_get_finfo_topology_info().

char* Format_info_pg::topogeom_column

TopoGeometry column (feature table)

Definition at line 695 of file dig_structs.h.

Referenced by V1_close_pg(), and Vect_get_finfo_topology_info().

int Format_info_pg::toposchema_id

Definition at line 700 of file dig_structs.h.

Referenced by V2_open_old_pg().

char* Format_info_pg::where

SQL where statement (fo filter features)

Definition at line 623 of file dig_structs.h.

Referenced by dig_read_frmt_ascii().


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