Pardon for butting in...

On 08/10/2018 04:45 PM, Rich Shepard wrote:
On Thu, 9 Aug 2018, Daniel Victoria wrote:

Try using to add the coordinates of each point to the attribute
table and then export it using DB.out.ogr.


  The points have an elevation -- in feet -- associated with the geographic
location. Is there a grass module that will convert that attribute table
column to meters (the location's lenth units)? Or, should I do this on the
source data and re-import/re-project these data?

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 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 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.



grass-user mailing list

Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918

grass-user mailing list

Reply via email to