[GRASS-dev] [GRASS GIS] #1744: v.out.ascii: export all columns

Markus Neteler neteler at osgeo.org
Fri Sep 28 02:46:14 PDT 2012


On Fri, Sep 28, 2012 at 11:31 AM, Alexander Muriy <amuriy at gmail.com> wrote:
>>  I'd like that v.out.ascii export all columns in a simple way. This could
>>  be fixed using '''*''' in columns option or adding a flag to export all
>>  columns.
>
> If in Linux, the simplest way is:
>
> v.out.ascii in=test col=$(v.db.select test | head -n1 | tr '|' ',')
>
> without any code modification.

yes, but we would need a portable solution...

Markus


More information about the grass-dev mailing list