GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
build_ogr.c File Reference

Vector library - Building topology for OGR. More...

#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <grass/gis.h>
#include <grass/Vect.h>
#include <grass/glocale.h>
#include <ogr_api.h>
Include dependency graph for build_ogr.c:

Go to the source code of this file.

Data Structures

struct  GEOM_PARTS
 

Functions

int Vect_build_ogr (struct Map_info *Map, int build)
 Build topology. More...
 

Detailed Description

Vector library - Building topology for OGR.

Higher level functions for reading/writing/manipulating vectors.

(C) 2001-2008 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.

Author
Radim Blazek, Piero Cavalieri
Date
2001-2008

Definition in file build_ogr.c.

Function Documentation

int Vect_build_ogr ( struct Map_info *  Map,
int  build 
)

Build topology.

Parameters
Map_infovector map
buildbuild level
Returns
1 on success
0 on error

Definition at line 325 of file build_ogr.c.

References add_part(), count, G_debug(), G_fatal_error(), G_verbose_message(), G_warning(), int, and NULL.