[GRASS-stats] rgrass7 read/write SpatialPolygonsDataFrames errors
Roger Bivand
Roger.Bivand at nhh.no
Mon Oct 12 04:14:15 PDT 2015
On Sat, 10 Oct 2015, Markus Neteler wrote:
> On Sat, Oct 10, 2015 at 5:45 PM, Eduardo Diez <eduardodiez at gmx.com> wrote:
>>
>> Apparently "v.info" through execGRASS is expecting the "layer" argument to be a string rather than an integer.
>
>
> Yes, layer is a string:
But not in v.db.addtable:
<parameter name="layer" type="integer" required="no"
multiple="no">
<description>
Layer number where to add new attribute table
</description>
<default>
1
</default>
<guisection>
Definition
</guisection>
</parameter>
though I'm not aware of others (this in 7.0.1).
Roger
>
> v.info --interface-description
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE task SYSTEM "grass-interface.dtd">
> <task name="v.info">
> <description>
> Outputs basic information about a vector map.
> </description>
> ...
> <parameter name="layer" type="string" required="no" multiple="no">
> <label>
> Layer number or name
> </label>
>
>
> Best
> Markus
>
--
Roger Bivand
Department of Economics, Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 91 00
e-mail: Roger.Bivand at nhh.no
More information about the grass-stats
mailing list