[GRASS-user] Export of a subset of a vector map

Hi,

I wish to export a subset with something like:

v.out.ascii.db input=localidades columns=PROVINCIA,DARTAMENTO,LOCALIDAD,TIPO

But I wish to export only vectors from within current region. So, I
can use v.overlay. This option uses a intermediate map. I wish to know
what other alternatives exist to make this. Is there a way to export
the subset without using a intermediate map?

Hi,

2008/10/14 José María Michia <jose.maria.michia@gmail.com>:

Hi,

I wish to export a subset with something like:

v.out.ascii.db input=localidades columns=PROVINCIA,DARTAMENTO,LOCALIDAD,TIPO

But I wish to export only vectors from within current region. So, I
can use v.overlay. This option uses a intermediate map. I wish to know
what other alternatives exist to make this. Is there a way to export
the subset without using a intermediate map?

AFAIK, to create new vector layer with the region you want to export
is the best way. You can write a small script, which does the work for
you automatically [1].

Jachym

[1] http://grass.osgeo.org/wiki/GRASS_and_Python#Example

--
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub