GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
|
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 "pg_local_proto.h"
#include <ogr_api.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. More... | |
int | Vect_fidx_dump (struct Map_info *Map, FILE *out) |
Dump feature index to file. More... | |
Vector library - Building pseudo-topology for simple feature access.
Higher level functions for reading/writing/manipulating vectors.
Line offset is
(C) 2001-2012 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file build_sfa.c.
int Vect__build_sfa | ( | struct Map_info * | Map, |
int | build | ||
) |
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 700 of file build_sfa.c.
References Plus_head::built, Map_info::format, GV_BUILD_BASE, GV_FORMAT_OGR, GV_FORMAT_OGR_DIRECT, Map_info::plus, and Vect__build_downgrade().
Referenced by Vect_build_ogr(), and Vect_build_pg().
int Vect_fidx_dump | ( | struct Map_info * | Map, |
FILE * | out | ||
) |
Dump feature index to file.
Map | pointer to Map_info struct |
out | file for output (stdout/stderr for example) |
Definition at line 750 of file build_sfa.c.
References _, Format_info_offset::array, Format_info_offset::array_num, Map_info::fInfo, Map_info::format, G_warning(), GV_FORMAT_OGR, GV_FORMAT_POSTGIS, Format_info_ogr::offset, Format_info_pg::offset, Format_info::ogr, Format_info::pg, Format_info_pg::toposchema_name, Vect_get_finfo_geometry_type(), Vect_get_num_lines(), Vect_maptype(), and Vect_maptype_info().