[MetaCRS] Adding Projection Classes to Proj4js

billinb billinb at nsidc.org
Tue Dec 8 19:36:29 EST 2009


Did this ever get finished? I just came across this problem today. I can work
around it by using AJAX to get to the server and have proj4 do the
transformation, but I would rather get it working in proj4js. Are there any
plans to get it in? Do you need help finishing it? I don't know how to do
the forward and reverse transformation on an ellipsoid but I could
potentially take a look at the proj4 code. I could also take a look at
writing the unit tests.

Thanks,
 Brendan


Richard Marsden wrote:
> 
> Thanks Mike.  I'll have a look when I return (currently on vacation!)
> 
> The problem with the inverse is knowing how to handle the ellipsoid rather
> than the sphere.
> Perhaps with a pen and paper or some web searching, I can find the answer.
> 
> Richard
> 
> 
> On Thu, Jul 30, 2009 at 3:07 PM, Mike Adair <madair at dmsolutions.ca> wrote:
> 
>> Hi Richard,
>>
>> Thanks for this,  I don't know about the math involved here but the
>> coding
>> looks fine.  It's best to have an independent test point to check this
>> against and you could add that to proj4js/test/testdata.js.  I wouldn't
>> want
>> to add this without both the forward and inverse transforms however, can
>> you
>> do that one as well?
>>
>> The best place to put this is as a patch on the Proj4js trac instance at:
>> http://trac.osgeo.org/proj4js/,  create a new ticket and add a patch as
>> an
>> attachment.
>>
>> Mike
>>
>>
> 
> _______________________________________________
> MetaCRS mailing list
> MetaCRS at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/metacrs
> 
> 

-- 
View this message in context: http://n2.nabble.com/Adding-Projection-Classes-to-Proj4js-tp3324145p4136564.html
Sent from the MetaCRS Mailing List mailing list archive at Nabble.com.


More information about the MetaCRS mailing list