[MetaCRS] Adding Projection Classes to Proj4js

Richard Marsden winwaed at gmail.com
Tue Dec 8 22:25:06 EST 2009


I submitted the code, but it is only for the spherical Earth - and I believe
it is in the current distribution.

I've also since added code to handle the Gnomonic (+gnom) projection, but
I've only tested the forward projection. Again it is spherical only.


Richard


On Tue, Dec 8, 2009 at 6:36 PM, billinb <billinb at nsidc.org> wrote:

>
> 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.
> _______________________________________________
> MetaCRS mailing list
> MetaCRS at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/metacrs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/metacrs/attachments/20091208/403e6c21/attachment.html


More information about the MetaCRS mailing list