2
/****************************************************************************
6
* AUTHOR(S): Michael Shapiro - CERL
8
* PURPOSE: Interactive tool used to draw and save vector features
9
* on a graphics monitor using a pointing device (mouse)
10
* and save to a raster map.
12
* COPYRIGHT: (C) 2006 by the GRASS Development Team
14
* This program is free software under the GNU General Public
15
* License (>=v2). Read the file COPYING that comes with GRASS
18
***************************************************************************/
24
int create_map(char *name, char *polyfile)
28
sprintf(buf, "r.in.poly rows=512 i=\"%s\" o=\"%s\"", polyfile, name);
29
fprintf(stdout, "Creating raster map %s\n", name);