On Wed, Feb 8, 2012 at 7:51 AM, Andres Kuusk <and...@aai.ee> wrote: >> On Thu, Jan 19, 2012 at 9:55 AM, Andres Kuusk <and...@aai.ee> wrote: >>> >>> There is a small error in the GRASS-7 HTML-manual v.what.rast, >>> http://grass.fbk.eu/grass70/manuals/html70_user/v.what.rast.html >>> >>> The required parameter is vector=name, >>> >>> ERROR: Sorry, <map> is not a valid parameter >>> ERROR: Required parameter <vector> not set
Perhaps you need to recompile the code if you did it yourself (clean with "make distclean" first)... I recompiled GRASS 7 from scratch, it works as stated in the manual: GRASS 7.0.svn (nc_spm_08):~/grass70/lib/gis > v.random pnts n=100 Generating points... 100% Building topology for vector map <pnts@neteler>... Registering primitives... 100 primitives registered ... Number of points: 100 ... GRASS 7.0.svn (nc_spm_08):~/grass70/lib/gis > v.db.addtable pnts column="heights double precision" Reading features... 100% ... GRASS 7.0.svn (nc_spm_08):~/grass70/lib/gis > v.what.rast map=pnts raster=elevation column=heights Reading features from vector map... 100% Update vector attributes... 100% v.what.rast complete. 100 records updated. GRASS 7.0.svn (nc_spm_08):~/grass70/lib/gis > v.db.select pnts cat|heights 1|130.2686462402 2|124.2121124268 3|105.6689529419 4|120.3233795166 ... AH, I got it: you are using GRASS 6 while reading the GRASS 7 manual.. the parameter name changed! So please read here instead for GRASS 6: http://grass.osgeo.org/grass64/manuals/html64_user/v.what.rast.html Hope this helps, Markus _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user