[Proj] How to Reengineering the cs2cs tool

Benoît Andrieu bea at ixsea.com
Thu Jun 4 01:50:30 PDT 2009


Can't you call directly the proj dll or wrap it in order to use it directly from your php / perl code ?
It seems dangerous to me to recode everything.

Regards,

Benoît Andrieu
bea at ixsea.com
benoit.andrieu at gmail.com

  ----- Original Message ----- 
  From: BalaVignesh Kasinathan 
  To: proj at lists.maptools.org 
  Sent: Thursday, June 04, 2009 10:29 AM
  Subject: [Proj] How to Reengineering the cs2cs tool


  Dear Friends,
            I am very newbie to projection concepts. I am in need to write the cs2cs tool in php/perl language to convert the coordinates from source epsg-2393 to target epsg-4326. Initially i tried to understand the cs2cs tool code. I can't understand the whole structure of the code , as it contains more mathematical functions. So i have started to trace the code linebyline using anjuta debugger. But i dont think this one is the correct way. As the code contains more 'if' checks i may miss some flow of the code.

     Please give some guide lines to understand the concept of cs2cs tool. Where can i get the direct mathematic formulas? So i can directly code it on php or perl without looking the C code.

  Thanks in Advance,
  Bala




------------------------------------------------------------------------------


  _______________________________________________
  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.osgeo.org/pipermail/proj/attachments/20090604/3cd5e995/attachment.html>


More information about the Proj mailing list