Pardon for butting in...|
On 08/10/2018 04:45 PM, Rich Shepard wrote:
On Thu, 9 Aug 2018, Daniel Victoria wrote:If I understand, you have a vector of points with x,y and z in the attribute table, and you want to transform to some different coordinate system, while also transforming the elevation.
In that case it might make sense to save the attribute table as an ASCII (csv) file, then use v.in.ascii with the -z flag to create a 3D vector (pointing to the elev column as "z=...").
Then when you transform to the new CRS, v.proj will also transform the elevation. In the new LOCATION, add three new columns to the vector: east,west,new_elev. Then use v.to.db to uploads the values with the "option=coor" and "columns=east,north,new_elev".
That should give you the new x coords, y_coords and new elevation.
-- Micha Silver Ben Gurion Univ. Sde Boker, Remote Sensing Lab cell: +972-523-665918
_______________________________________________ grass-user mailing list firstname.lastname@example.org https://lists.osgeo.org/mailman/listinfo/grass-user