|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-4bb960b182
|
Vector library - Building topology for PostGIS layers. More...
#include <grass/vector.h>#include <grass/glocale.h>#include "local_proto.h"#include "pg_local_proto.h"
Go to the source code of this file.
Macros | |
| #define | NOPG_UNUSED |
Functions | |
| int | Vect_build_pg (struct Map_info *Map, int build) |
| Build topology for PostGIS layer. | |
| int | Vect__clean_grass_db_topo (struct Format_info_pg *pg_info) |
| Clean-up GRASS Topology tables. | |
Vector library - Building topology for PostGIS layers.
Higher level functions for reading/writing/manipulating vectors.
Line offset (simple features only) is
SPDX-FileCopyrightText: 2012-2013 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later
Definition in file build_pg.c.
| #define NOPG_UNUSED |
Definition at line 40 of file build_pg.c.
| int Vect__clean_grass_db_topo | ( | struct Format_info_pg * | pg_info | ) |
Clean-up GRASS Topology tables.
| pg_info | pointer to Format_info_pg pg_info |
Definition at line 999 of file build_pg.c.
References DB_SQL_MAX, and Vect__execute_pg().
Referenced by Vect__open_topo_pg().
Build topology for PostGIS layer.
Build levels:
| Map | pointer to Map_info structure |
| build | build level |
Definition at line 61 of file build_pg.c.
References _, Plus_head::built, FALSE, G_debug(), G_fatal_error(), G_free(), G_message(), G_warning(), G_zero(), GV_BUILD_BASE, GV_BUILD_NONE, SF_GEOMETRY, Vect__build_sfa(), Vect__execute_pg(), Vect_get_finfo_format_info(), and Vect_get_finfo_geometry_type().