[GRASS-user] Re: How to extract z-coordiante and write it into attribute table?

Vincent Bain bain at toraval.fr
Wed Mar 23 15:33:19 EDT 2011


no idea of the problem, only suggestions :

* I would try to resample categories (v.category, option=del, then
v.category option=add) before processing v.to.db

* Could it be a db driver issue. In this case, you could try e.g. driver
sqlite.

* test on a subset of your lidar source file

*...

Hang in there !
Vincent.


Le mercredi 23 mars 2011 à 11:35 -0700, TimNorwey a écrit :
> 
> > Your point cloud was imported in 3d vector mode but not yet connected to
> > an attribute table. Do this this way :
> > v.db.addtable map=lidar columns='cat integer,x double precision,y double
> > precision, z double precision'
> > 
> 
> --> worked fine
> 
> 
> 
> > To that point a table is connected to your vector and necessary fields
> > were added to the table. So you can upload x,y,z values to the table :
> > v.to.db map=lidar type=point option=coor columns=x,y,z
> > 
> 
> --> Unfortunately, this executed with an error. Only in the first row of the
> attribute table the coordinates are added. 
> It is said that there are 43 categories that have "more elements" and so the
> coordinates are not loaded (see below)
> 
> http://osgeo-org.1803224.n2.nabble.com/file/n6201431/errorNew.png 
> 
> Thank you very much for your assistance!
> 
> Tim
> 
> 
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-extract-z-coordiante-and-write-it-into-attribute-table-tp6199821p6201431.html
> Sent from the Grass - Users mailing list archive at Nabble.com.
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
> 




More information about the grass-user mailing list