[GRASS5] v.in.ogr with spatial

Hamish hamish_nospam at yahoo.com
Wed May 12 22:00:04 EDT 2004


On Mon, 22 Mar 2004 16:31:36 +0100
Markus Neteler <neteler at itc.it> wrote:

> the spatial filter in v.in.ogr is fixed in CVS.
>
> > Stephan wrote:
> > I am trying to import some vector-datasets into GRASS via v.in.ogr.
> > The spatial switch does not work as expected, I guess.


This still doesn't work for me:

v.in.ogr dsn=. layer=rivers output=rivers \
  spatial=1084000,4847000,1224000,5092000


It imports everything.


G5.7> v.info rivers
 | Layer:    rivers
...
 | Map Scale:  1:1
 | Map format: native
...
 |   Type of Map:  Vector (level: 2)
...
 |   Number of points:     0    Number of areas:    0    |
 |   Number of lines:   749453  Number of islands:  0    |
 |   Number of boundaries: 0    Number of faces:    0    |
 |   Number of centroids:  0    Number of kernels:  0    |
...
 |   Map is 3D:            0
...
 |   Number of dblinks:      1
...
 |   Projection: Transverse Mercator (zone 0)
 |            N: 6221336.075    S: 4748882.679
 |            E: 2088905.215    W: 1090205.719
 |            B: 0.000          T: 0.000


?
Hamish




More information about the grass-dev mailing list