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

Jachym Cepicky jachym.cepicky at gmail.com
Thu Oct 16 01:32:34 EDT 2008


Hi,

2008/10/14 José María Michia <jose.maria.michia at 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


More information about the grass-user mailing list