[GRASS-SVN] r58265 - grass/trunk/vector/v.what.rast
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 21 07:30:21 PST 2013
Author: martinl
Date: 2013-11-21 07:30:21 -0800 (Thu, 21 Nov 2013)
New Revision: 58265
Modified:
grass/trunk/vector/v.what.rast/main.c
Log:
v.what.rast: vector map must be in the current mapset
Modified: grass/trunk/vector/v.what.rast/main.c
===================================================================
--- grass/trunk/vector/v.what.rast/main.c 2013-11-21 15:18:26 UTC (rev 58264)
+++ grass/trunk/vector/v.what.rast/main.c 2013-11-21 15:30:21 UTC (rev 58265)
@@ -120,7 +120,7 @@
/* Open vector */
Vect_set_open_level(2);
- Vect_open_old2(&Map, opt.vect->answer, "", opt.field->answer);
+ Vect_open_old2(&Map, opt.vect->answer, G_mapset(), opt.field->answer);
field = Vect_get_field_number(&Map, opt.field->answer);
More information about the grass-commit
mailing list