GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
|
Non-native format info (PostGIS) More...
#include <dig_structs.h>
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... | |
dbDriver * | dbdriver |
Open DB driver when writing attributes. More... | |
struct field_info * | fi |
int | inTransaction |
Start/Finish transaction. More... | |
PGconn * | conn |
PGconn object (generated by PQconnectdb) More... | |
PGresult * | 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... | |
Non-native format info (PostGIS)
Definition at line 602 of file dig_structs.h.
struct Format_info_cache Format_info_pg::cache |
Lines cache for reading feature.
Definition at line 683 of file dig_structs.h.
Referenced by V1_close_pg(), V1_rewind_pg(), Vect__get_area_points(), and Vect_get_isle_points().
PGconn* Format_info_pg::conn |
PGconn object (generated by PQconnectdb)
Definition at line 663 of file dig_structs.h.
Referenced by V1_close_pg(), V1_delete_line_pg(), V1_open_old_pg(), V2_open_old_pg(), Vect__clean_grass_db_topo(), Vect__close_cursor_pg(), Vect__insert_face_pg(), Vect__load_map_lines_pg(), Vect__load_map_nodes_pg(), Vect__load_plus_head(), Vect__open_cursor_next_line_pg(), Vect_build_pg(), Vect_get_finfo_geometry_type(), and Vect_sfa_get_num_features().
char* Format_info_pg::conninfo |
Connection string.
Definition at line 607 of file dig_structs.h.
Referenced by dig_read_frmt_ascii(), V1_open_new_pg(), V1_open_old_pg(), Vect_close(), Vect_get_finfo(), Vect_maptype(), and Vect_save_frmt().
int Format_info_pg::coor_dim |
Coordinates dimension (2D or 3D)
Definition at line 639 of file dig_structs.h.
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(), Vect__close_cursor_pg(), and Vect__open_cursor_next_line_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(), 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 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 |
FID column.
Definition at line 627 of file dig_structs.h.
Referenced by dig_read_frmt_ascii(), V1_close_pg(), V1_delete_line_pg(), Vect__load_map_lines_pg(), Vect__open_cursor_next_line_pg(), and Vect_build_pg().
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(), and Vect__open_cursor_next_line_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 |
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(), V2_close_pg(), V2_open_old_pg(), Vect__load_map_lines_pg(), Vect__load_map_nodes_pg(), Vect_build_pg(), and Vect_fidx_dump().
PGresult* Format_info_pg::res |
Definition at line 664 of file dig_structs.h.
Referenced by V1_close_pg(), V1_open_new_pg(), V2_open_old_pg(), Vect__close_cursor_pg(), Vect__get_area_points_pg(), Vect__open_cursor_next_line_pg(), and Vect_get_finfo_geometry_type().
char* Format_info_pg::schema_name |
Schema name.
Definition at line 615 of file dig_structs.h.
Referenced by dig_read_frmt_ascii(), V1_close_pg(), Vect__load_map_lines_pg(), Vect__load_plus_head(), Vect__open_cursor_next_line_pg(), Vect_get_finfo_geometry_type(), Vect_get_finfo_layer_name(), Vect_save_frmt(), and Vect_sfa_get_num_features().
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 Vect__insert_face_pg().
char* Format_info_pg::table_name |
Table name.
Definition at line 619 of file dig_structs.h.
Referenced by dig_read_frmt_ascii(), V1_delete_line_pg(), V1_open_new_pg(), V1_open_old_pg(), Vect__load_map_lines_pg(), Vect__load_plus_head(), Vect__open_cursor_next_line_pg(), Vect_build_pg(), Vect_get_finfo_geometry_type(), Vect_get_finfo_layer_name(), Vect_save_frmt(), and Vect_sfa_get_num_features().
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__load_map_lines_pg(), Vect__load_map_nodes_pg(), and 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(), Vect__load_map_lines_pg(), Vect__load_plus_head(), Vect__open_cursor_next_line_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(), and Vect__load_plus_head().
char* Format_info_pg::toposchema_name |
Topology schema name and id.
Definition at line 699 of file dig_structs.h.
Referenced by V1_close_pg(), V2__write_node_pg(), V2_close_pg(), V2_open_old_pg(), Vect__clean_grass_db_topo(), Vect__get_area_points(), Vect__insert_face_pg(), Vect__load_map_lines_pg(), Vect__load_map_nodes_pg(), Vect__open_cursor_next_line_pg(), Vect_build_partial(), Vect_build_pg(), Vect_fidx_dump(), Vect_get_finfo_topology_info(), Vect_get_isle_points(), and Vect_sfa_get_num_features().
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(), and Vect__open_cursor_next_line_pg().