[FWTools] cs2cs problem

Mikhail Tchernychev misha at mail.geometrics.com
Fri Jan 14 20:34:42 EST 2011


  Hello FWTools users,

First of all, thank you for these wonderful tools.

Here is my question: if I use cs2cs program from FWTools (2.4.7) shell

C:\Program Files\FWTools2.4.7>cs2cs -I -f "%.10f" +from +proj=latlong 
+datum=WGS84
+to +proj=latlong +ellps=krass 
+towgs84=43.82,-108.842,119.585,+1.455,-0.761,+0.737,+0.548

I get the following (input / output)

50.7334137 45.5004868
50.7322097853   45.5020745895 158.7042389987

If I use previous version

C:\Program Files\FWTools2.4.3>cs2cs -I -f "%.10f" +from +proj=latlong 
+datum=WGS84
+to +proj=latlong +ellps=krass 
+towgs84=43.82,-108.842,-119.585,+1.455,-0.761,+0.737,+0.548

The results are:

50.7334137 45.5004868
50.7322097853   45.5005663276 -11.8877343033

As you could see longitude is the same.

I also tried proj which comes with QGis, as well as stand alone cygwin 
version. Second result appeared to be
correct.

Am I doing something wrong?

I hope this would help improving FWTools.

Thank you,

Mikhail






More information about the FWTools mailing list