|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-4bb960b182
|
Vector library - Building pseudo-topology for simple feature access. More...
#include <stdlib.h>#include <grass/gis.h>#include <grass/vector.h>#include <grass/glocale.h>#include <ogr_api.h>#include "pg_local_proto.h"
Go to the source code of this file.
Functions | |
| int | Vect__build_sfa (struct Map_info *Map, int build) |
| Build pseudo-topology (for simple features) - internal use only. | |
| int | Vect_fidx_dump (struct Map_info *Map, FILE *out) |
| Dump feature index to file. | |
Vector library - Building pseudo-topology for simple feature access.
Higher level functions for reading/writing/manipulating vectors.
Line offset is
SPDX-FileCopyrightText: 2001-2012 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later
Definition in file build_sfa.c.
Build pseudo-topology (for simple features) - internal use only.
See Vect_build_ogr() and Vect_build_pg() for implementation issues.
Build levels:
| Map | pointer to Map_info structure |
| build | build level |
Definition at line 694 of file build_sfa.c.
References _, Plus_head::built, G_fatal_error(), GV_BUILD_BASE, GV_FORMAT_OGR, GV_FORMAT_OGR_DIRECT, GV_FORMAT_POSTGIS, and Vect__build_downgrade().
Referenced by Vect_build_ogr(), and Vect_build_pg().
Dump feature index to file.
| Map | pointer to Map_info struct |
| out | file for output (stdout/stderr for example) |
Definition at line 740 of file build_sfa.c.
References _, Format_info_offset::array, Format_info_offset::array_num, G_warning(), GV_FORMAT_OGR, GV_FORMAT_POSTGIS, Vect_get_finfo_geometry_type(), Vect_get_num_lines(), Vect_maptype(), and Vect_maptype_info().