Re: [GRASS-user] db.out.ogr issues [RESOLVED]

2018-08-10 Thread Rich Shepard

On Fri, 10 Aug 2018, Micha Silver wrote:


I was trying to point out that, regardless if the units are meters or
feet, when you transform to a different CRS, you change all three values
of the location, x,y and z. For example:



micha@TP480:~$ echo "35.3 30.8 -180" | cs2cs +init=epsg:4326 +to +init=epsg:2039
228595.08    523262.05 -200.28 



In the EPSG 2039 CRS my elevation has "dropped" by 20 meters (!) compared to 
WGS84


Micha,

  Global warming? :-)

  With my data set the original and converted data for one station have the
same elevation (in meters):

Rhododendron 3.8 NW,45.3596,-121.9742,399.9
Rhododendron 3.8 NW,2384511.31243653,189175.421986476,399.9

Best regards,

Rich
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] db.out.ogr issues [RESOLVED]

2018-08-10 Thread Micha Silver

  
  


On 08/10/2018 05:45 PM, Rich Shepard
  wrote:

On
  Fri, 10 Aug 2018, Micha Silver 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.

  
  
    I must not yet be sufficiently cafinated this morning. When I
  look again
  
  at the input and v.out.ogr files I now see that I had transformed
  the
  
  elevation column to meters when my gawk script extracted columns
  from the
  
  source data.
  
  


I was trying to point out that, regardless if the units are meters
or feet, when you transform to a different CRS, you change all three
values of the location, x,y and z. 
For example:

micha@TP480:~$ echo "35.3 30.8 -180" | cs2cs +init=epsg:4326 +to
  +init=epsg:2039
228595.08    523262.05 -200.28  
  
  
In the EPSG 2039 CRS my elevation has "dropped" by 20 meters
(!) compared to WGS84

Cheers


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

___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] db.out.ogr issues [RESOLVED]

2018-08-10 Thread Rich Shepard

On Fri, 10 Aug 2018, Micha Silver wrote:


Pardon for butting in...


Micha,

  It was not a private conversation.


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.


  I must not yet be sufficiently cafinated this morning. When I look again
at the input and v.out.ogr files I now see that I had transformed the
elevation column to meters when my gawk script extracted columns from the
source data.

Mea culpa!

Rich
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user