[GRASSLIST:4732] Re: problem using s.in.shape

Hamish hamish_nospam at yahoo.com
Sun Nov 7 18:00:58 EST 2004


> I'm trying to import a shapefile of points with some attributes in
> GRASS(Debian version 5.0.3-5.1). 
> 
> The file has 7 attribute fields. I want to use the last one calle
> "z-value" as the elevation. 
> 
> When I call "s.in.shape -zm in=myshapefile.shp attribute=pointId", the
> file is successfully imported but how can I update the z value of the
> x,y site data using my "z-value" attribute coming from my shapefile.


try using 'v.in.shape label=[z column]' and then 'v.to.sites -C'.
?

Of course GRASS 5.7 is much much better at vector attribute management.
You can get some non-official Debian packages for 5.7:
  http://lists.alioth.debian.org/pipermail/pkg-grass-general/2004-October/000032.html




Hamish




More information about the grass-user mailing list