[GRASS5] v.in.ogr with spatial

Stephan Holl sholl at gmx.net
Wed Mar 17 14:14:38 EST 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20040317/5ce556cc/attachment.bin


More information about the grass-dev mailing list