[GRASS-dev] v.in.ogr where

Hallo,
I wonder, how complicated would be to implement option where= in v.in.ogr, so one could import e.g. only part of
postgis table to GRASS.

Currently you have to import the whole table and run v.select on it,
which takes too much time and system resources.

Could anybody point me to example, how to do thing like this or, better,
could anybody implement it :slight_smile: ?

Thanks and have a nice day

Jachym
--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------
OFFICE:
GDF-Hannover
Mengendamm 16d
30177 Hannover
Germany
e-mail: cepicky@gdf-hannover.de
URL: http://gdf-hannover.de
Tel.: +49 511-39088507

On Mon, Jul 03, 2006 at 03:56:52PM +0200, Jachym Cepicky wrote:

Hallo,
I wonder, how complicated would be to implement option where= in v.in.ogr, so one could import e.g. only part of
postgis table to GRASS.

Done. :slight_smile:

Enjoy,

Markus