[GRASS5] v.in.ogr with spatial

Markus Neteler neteler at itc.it
Mon Mar 22 10:31:36 EST 2004


Hi Stephan,

the spatial filter in v.in.ogr is fixed in CVS.

Cheers

 Markus

On Wed, Mar 17, 2004 at 08:14:38PM +0100, Stephan Holl wrote:
> Dear developers,
> 
> I am trying to import some vector-datasets into GRASS via v.in.ogr. The
> spatial switch does not work as expected, I guess.
> 
> My trys:
> g.region -p
> projection: 99 (Transverse Mercator)
> zone:       0
> datum:      potsdam
> ellipsoid:  bessel
> north:      5800710
> south:      5788320
> west:       3427050
> east:       3444000
> 
> 
> This is my default region, where the dataset fits inside. I only need
> parts of this shape so I try to import only this giving the 4
> corner-coordinates which include my needed features:
> 
> v.in.ogr -o dsn=PG:dbname=postgis layer=gruen
> spatial=3436830,5794290,3439770,5796780 out=test_spatial
> 
> But after this all featuers including in the dataset were imported.
> 
> Is this the correct usage of the spatial switch ?!
> 
> Thanks for your help
> 
> 	Stephan Holl
> 
> -- 
> Stephan Holl
> 
> Check headers for GnuPG Key!
> http://www.gdf-hannover.de
> 
>  20:06:58 up  3:55,  1 user,  load average: 0.02, 0.07, 0.16



-- 
Markus Neteler     <neteler itc it>       http://mpa.itc.it
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy




More information about the grass-dev mailing list