<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Clement,<br>
    <br>
    There aren't any plans to support grid shift files currently.&nbsp; The
    main issue is downloading some potentially large files to the
    client. <br>
    <br>
    Mike<br>
    <br>
    <br>
    On 9/10/2010 3:29 AM, Cl&eacute;ment Ronzon wrote:
    <blockquote
      cite="mid:AANLkTik_5Kips-zfwPjET3MUMGELNQuinr6nZrrAQfuJ@mail.gmail.com"
      type="cite">Hi Mike,<br>
      <br>
      I'm going to check the PROJ.4 files to reproduce the geocent
      behavior you described.<br>
      I'll keep you in touch.<br>
      <br>
      I've another question about "nadgrids" this time: do you know if
      Proj4js could be able to handle nadgrids files ? May be using Ajax
      requests... <br>
      <br>
      Thanks for your help!<br>
      Sincerely,<br clear="all">
      Cl&eacute;ment Ronzon<br>
      151 Av. F&eacute;lix Faure<br>
      69003 LYON, FRANCE<br>
      Tel. # : +33 (0)9 54 43 12 20<br>
      Fax # : +33 (0)9 59 43 12 20<br>
      Cell. # : +33 (0)6 08 21 23 27<br>
      <a moz-do-not-send="true" href="http://twcc.free.fr"
        target="_blank">http://twcc.free.fr</a><br>
      <a moz-do-not-send="true" href="http://www.grottocenter.org"
        target="_blank">http://www.grottocenter.org</a><br>
      <a moz-do-not-send="true" href="http://www.zakbag.com"
        target="_blank">http://www.zakbag.com</a><br>
      <br>
      <br>
      <div class="gmail_quote">On Thu, Sep 9, 2010 at 8:51 PM, Mike
        Adair <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:madair@dmsolutions.ca">madair@dmsolutions.ca</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div bgcolor="#ffffff" text="#000000"> Hi Clement,<br>
            <br>
            The contents of the old geocent.js file is now contained in
            the main proj4js.js file and it mainly handled conversions
            to/from geocentric/geodetic coordinates.&nbsp; <br>
            <br>
            I assume you are trying to convert from geocentric to
            Lat/long coords?&nbsp; I see that PROJ.4 handles that case where
            the geocent 'projection' is defined with the identity
            transform (like you have done) but i don't think that will
            work in Proj4js.&nbsp; You may be able to step through a
            transformation and see where the geocentric - geodetic
            transform occurs and where any errors may be introduced.<br>
            <br>
            Mike
            <div>
              <div class="h5"><br>
                <br>
                <br>
                <br>
                On 9/8/2010 6:54 AM, Cl&eacute;ment Ronzon wrote: </div>
            </div>
            <blockquote type="cite">
              <div>
                <div class="h5">Hi everyone!<br>
                  <br>
                  I'm new on this mailing list, so I'll introduce myself
                  in a few words: my name is Cl&eacute;ment Ronzon, I'm living
                  in France but I'm going to move to Mexico in a few
                  months, I'm working in Informatics design and
                  development for France Telecom, and I'm the developer
                  of TWCC (<a moz-do-not-send="true"
                    href="http://twcc.free.fr" target="_blank">http://twcc.free.fr</a>).<br>
                  <br>
                  I have a question about geocent projections.<br>
                  I have the following definition :<br>
                  <i>Proj4js.defs["IGNF:AMST63"] = "+title=Ile
                    d'Amsterdam 1963 +proj=<b>geocent</b>
                    +towgs84=109.7530,-528.1330,-362.2440
                    +a=6378388.0000 +rf=297.0000000000000 +units=m
                    +no_defs";</i><br>
                  <br>
                  But when proj4js tries to load the geocent proj file
                  it fails because there is no geocent.js file. Actually
                  I found that this file has been removed (<a
                    moz-do-not-send="true"
                    href="http://trac.osgeo.org/proj4js/ticket/16"
                    target="_blank">http://trac.osgeo.org/proj4js/ticket/16</a>).<br>
                  <br>
                  So I tried to create /lib/projCode/geocent.js with
                  this content:<br>
                  <i>Proj4js.Proj.geocent = {<br>
                    &nbsp;&nbsp;&nbsp; GEOCENT_LAT_ERROR:0x0001,<br>
                    &nbsp; init: function() {<br>
                    &nbsp;&nbsp;&nbsp; //no-op<br>
                    &nbsp; },<br>
                    &nbsp; forward: function(pt) {<br>
                    &nbsp;&nbsp;&nbsp; //identity transform<br>
                    &nbsp;&nbsp;&nbsp; return pt;<br>
                    &nbsp; },<br>
                    &nbsp; inverse: function(pt) {<br>
                    &nbsp;&nbsp;&nbsp; //identity transform<br>
                    &nbsp;&nbsp;&nbsp; return pt;<br>
                    &nbsp; }<br>
                    };</i><br>
                  <br>
                  But it seems that the result of transformations is
                  wrong (some meters on X and Y).<br>
                  Could someone tell me how can I solve this issue
                  please ?<br>
                  <br>
                  Thanks in advance! And, by the way, congratulations
                  for those metaCRS projects!!!<br clear="all">
                  Cl&eacute;ment Ronzon<br>
                  151 Av. F&eacute;lix Faure<br>
                  69003 LYON, FRANCE<br>
                  Tel. # : +33 (0)9 54 43 12 20<br>
                  Fax # : +33 (0)9 59 43 12 20<br>
                  Cell. # : +33 (0)6 08 21 23 27<br>
                  <a moz-do-not-send="true" href="http://twcc.free.fr"
                    target="_blank">http://twcc.free.fr</a><br>
                  <a moz-do-not-send="true"
                    href="http://www.grottocenter.org" target="_blank">http://www.grottocenter.org</a><br>
                  <a moz-do-not-send="true" href="http://www.zakbag.com"
                    target="_blank">http://www.zakbag.com</a><br>
                </div>
              </div>
              <pre><fieldset></fieldset>
_______________________________________________
MetaCRS mailing list
<a moz-do-not-send="true" href="mailto:MetaCRS@lists.osgeo.org" target="_blank">MetaCRS@lists.osgeo.org</a>
<a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/metacrs" target="_blank">http://lists.osgeo.org/mailman/listinfo/metacrs</a>
</pre>
            </blockquote>
            <br>
            <pre cols="72">-- 
   Michael Adair
   Senior Software Architect
   DM Solutions Group Inc.

   Office: (613) 565-5056 x26
   <a moz-do-not-send="true" href="mailto:madair@dmsolutions.ca" target="_blank">madair@dmsolutions.ca</a>
   <a moz-do-not-send="true" href="http://www.dmsolutions.ca" target="_blank">http://www.dmsolutions.ca</a>
   <a moz-do-not-send="true" href="http://research.dmsolutions.ca" target="_blank">http://research.dmsolutions.ca</a>

</pre>
          </div>
          <br>
          _______________________________________________<br>
          MetaCRS mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:MetaCRS@lists.osgeo.org">MetaCRS@lists.osgeo.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.osgeo.org/mailman/listinfo/metacrs"
            target="_blank">http://lists.osgeo.org/mailman/listinfo/metacrs</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
MetaCRS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:MetaCRS@lists.osgeo.org">MetaCRS@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/metacrs">http://lists.osgeo.org/mailman/listinfo/metacrs</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
   Michael Adair
   Senior Software Architect
   DM Solutions Group Inc.

   Office: (613) 565-5056 x26
   <a class="moz-txt-link-abbreviated" href="mailto:madair@dmsolutions.ca">madair@dmsolutions.ca</a>
   <a class="moz-txt-link-freetext" href="http://www.dmsolutions.ca">http://www.dmsolutions.ca</a>
   <a class="moz-txt-link-freetext" href="http://research.dmsolutions.ca">http://research.dmsolutions.ca</a>

</pre>
  </body>
</html>