On Mon, May 6, 2013 at 1:14 AM, Carla Rebelo <[email protected]> wrote: > Hello, > > I'm a user of GRASS7 in UBUNTU 12.04. > > I tried to import a PLY File to a GRASS vector points cloud - "cat2.ply". > v.in.ply input=/home/xxxx/cat2.ply output=cat2xyz > Load: > ply > format ascii 1.0 > comment GRASS GIS generated > element vertex 8139 > property float x > property float y > property float z > element face 0 > property list uchar int vertex_indices > end_header > -96808.46704 -99911.92501 140.613663 > -96808.25806 -99912.06045 140.449142 > -96597.86902 -99913.83076 146.655823 > -96599.28461 -99913.11427 146.4449 > -96599.08022 -99913.21988 146.298218 > ................. > > FIRST PROBLEM in results: Only appears the column "Cat" in the table > attributes of cat2xyz. But, within the GRASS6.4.2 this action writing the > columns x,y,z.
If you want the coordinates also in the table, you can upload coordinates with v.to.db. v.in.ply for GRASS 7 is designed for large point clouds with the possibility to have only coordinates, no attribute table (for speed reasons). > ................................................................................................ > > > So, I repeat this action with the following statement : v.in.ply > input=/home/xxxxx/cat2.ply output=cat2xyz_v1 x=4 y=5 z=6 > > cat2xyz_v1: The four columns cat,x,y,z in results. But, the GRASS vector > missed the region parameters... Because of x=4 y=5 z=6. The default x=1 y=2 z=3 should work just fine, i.e. just v.in.ply input=/home/xxxxx/cat2.ply output=cat2xyz_v1 Markus M > v.info -g map=cat2xyz_v1@PERMANENT > north=0 > south=0 > east=0 > west=0 > top=0.000000 > bottom=0.000000 > > I would like to get a correct file with the x,y,z coordinates. Is there any > solution for this? > > Thanks a lot. > > Best regards, > Carla > > _______________________________________________ > grass-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-user > _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
