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

Markus Neteler neteler at osgeo.org
Tue Oct 28 08:08:45 PDT 2014


On Tue, Oct 28, 2014 at 4:01 PM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi,
>
> 2014-10-28 15:49 GMT+01:00 Markus Neteler <neteler at osgeo.org>:
>> it would be nice to have in v.info or v.category the possibility to
>> check if a vector map comes with multiple layers.
>
> v.category op=report


Well, it outputs a lot of information like
...
25/28/29/26/27/138/137/136/139/23/133/135
28/26/27/138/137/136
...

Needed is a way to parse it and turn into a yes/no multilayer information.
Or, better, an additional line in
v.info -e myvector
?

Markus


More information about the grass-dev mailing list