[GRASS-dev] v.out.ascii features without category

Markus Metz markus.metz.giswork at gmail.com
Wed Apr 10 02:52:50 PDT 2013


On Wed, Apr 10, 2013 at 11:44 AM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi all,
>
> `v.out.ascii` (G7) doesn't export features without categories.
>
> v.random out=n n=10 --o
> v.category in=n out=n1 opt=del cat=-1 --o
> v.out.ascii n1
> WARNING: No points found, nothing to be exported
>
> Is there any reason why `v.out.ascii` ignores features without
> category? I would suggest to export also features without categories.
> Probably also to add new flag "Export only features with category".

Try v.out.ascii n1 layer=-1

Default is layer=1 which means only features with a category in layer
1 are exported.

Markus M

>
> What do you think?
>
> Martin
>
> --
> Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev


More information about the grass-dev mailing list