[GRASS-dev] How to check if a vector map is multi-layer?

Luca Delucchi lucadeluge at gmail.com
Wed Oct 29 00:44:06 PDT 2014

On 28 October 2014 20:40, Markus Metz <markus.metz.giswork at gmail.com> wrote:

> So the question is how to handle multiple categories per feature and
> layer instead of multiple layers per vector?


> Would it be so difficult to enable g.gui.rlisetup to handle these cases?

Yes, it should but we was looking for a generic method

>> In order to
>> avoid that it dies with ugly messages we want to catch such situations
>> and exit with a proper error message...
> Alternatively, g.gui.rlisetup and the r.li.* logic could be changed to
> accept such situations.

I think that r.li.* should work, the problem right now is in
g.gui.rlisetup because "/" is a character not allowed for the name of
new vectors.
g.gui.rlisetup creates a new vector for any selected features and it
add the cat as suffix for the name of the new vectors

> Markus M



More information about the grass-dev mailing list