[Proj] How to Reengineering the cs2cs tool

Benoît Andrieu bea at ixsea.com
Thu Jun 4 07:37:45 PDT 2009


Hi,

I wouldn't call the binary because, yes, it would load the dlls for each call and it would take some time.
But by using the proj dll you wouldn't have this problem. Maybe it is not possible, I don't know.

I am quite surprised that no one had to this before...

Regards,

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

  ----- Original Message ----- 
  From: BalaVignesh Kasinathan 
  To: PROJ.4 and general Projections Discussions 
  Cc: benoit.andrieu at gmail.com 
  Sent: Thursday, June 04, 2009 3:14 PM
  Subject: Re: [Proj] How to Reengineering the cs2cs tool




  On Thu, Jun 4, 2009 at 2:20 PM, Benoît Andrieu <bea at ixsea.com> wrote:

    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.

  Hi Andrieu,

    Yes i can call the cs2cs binary directly from php code but it gives some performance issues. 
    I need to do 100 s of convertion at the time. So that only i am trying to develop on the native language (php code).

  Regards,
  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/d05e4201/attachment.html>


More information about the Proj mailing list