[GRASS-dev] How to check if a vector map is multi-layer?
markus.metz.giswork at gmail.com
Tue Oct 28 12:40:20 PDT 2014
On Tue, Oct 28, 2014 at 4:49 PM, Markus Neteler <neteler at osgeo.org> wrote:
> On Tue, Oct 28, 2014 at 4:25 PM, Markus Metz
> <markus.metz.giswork at gmail.com> wrote:
>> On Tue, Oct 28, 2014 at 3:49 PM, Markus Neteler <neteler at osgeo.org> wrote:
>>> it would be nice to have in v.info or v.category the possibility to
>>> check if a vector map comes with multiple layers.
>>> I didn't figure out how to add that in these or one of these modules.
>>> Perhaps I am missing something.
>> v.category option=layers
>> not help?
> v.category k_buffer1000m option=layers
> Right that works but at this point I have to rephrase my question :-)
> We have the issue of overlapping polygons (v.buffer done on points)
> which are a separate issue in itself, hence the resulting print report
> for the categories is as such:
> That's a set of categories g.gui.rlisetup cannot handle.
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?
> 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.
More information about the grass-dev