[Proj] bug in cs2cs or what?

Jose Gonçalves jagoncal at gmail.com
Fri Jan 30 07:24:56 EST 2009


The problem is that your first coordinate system does not have a datum
information. Use for instance:

cs2cs -f "%.4f" +ellps=WGS84 +proj=geocent +towgs84=0,0,0 +to ......

or

cs2cs -f "%.4f" +datum=WGS84 +proj=geocent +to ......

Regards

Jose' Gonçalves



2009/1/30 <vanzach at survey.ntua.gr>

>
> Hi all.
>
> I'm trying to convert 3 points from WGS84 to local datum and I noticed that
> during the datum change phase the coordinates are the same.
>
> $ cs2cs -f "%.4f" +ellps=WGS84 +proj=geocent +to +towgs84=-199.0,74.0,246.0
> +ellps=GRS80 +proj=geocent < WGS84_XYZ.txt ; more WGS84_XYZ.txt
> 4587235.7556    1964114.8816 3959354.7313
> 4584814.5890    1951028.4660 3968408.6021
> 4589128.8900    1935365.8050 3971034.4841
> 4587235.7556    1964114.8816    3959354.7312
> 4584814.589     1951028.466     3968408.602
> 4589128.890     1935365.805     3971034.484
>
> Any ideas?
> Thanks in advance,
> Vangelis
>
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/proj/attachments/20090130/aa7726e7/attachment.htm 


More information about the Proj mailing list