<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2">
</HEAD>
<BODY>
I haven't seen this, but then I haven't used proj4j for a while.<BR>
The result you give for proj4j is definitely wrong. Any valid EPSG:28992 coordinate has x<y .<BR>
<BR>
Gertjan<BR>
<BR>
On Wed, 2012-01-11 at 09:09 -0400, jeff fitzgerald wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
Hey Martin,<BR>
<BR>
There just seems to be a big discrepancy for me between proj and proj4j.<BR>
<BR>
Using the string with the tows84 method and 5.387638889,52.156160556 as my test point, <BR>
- Proj gives me 154976.16420640881,463086.51164757559<BR>
- proj4j gives me x = 4761867.817294979 y = 2527483.7229957823<BR>
<BR>
Does anyone else get similar results?<BR>
<BR>
Thanks.<BR>
<BR>
Fitz<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
On Tue, Jan 10, 2012 at 1:13 AM, Martin Davis <<A HREF="mailto:mtnclimb@gmail.com">mtnclimb@gmail.com</A>> wrote:<BR>
<BLOCKQUOTE>
Some more information on this issue.<BR>
<BR>
The addition of the towgs84 parameter happened last August, as a result of this ticket:<BR>
<BR>
<A HREF="http://trac.osgeo.org/proj/ticket/96">http://trac.osgeo.org/proj/ticket/96</A><BR>
<BR>
The SVN version of EPSG:28992 has the +towgs parameter, whereas the version in the PROJ.4 distro archive does not. <BR>
<BR>
Apparently this change was due to user demand, for what is a apparently a more accurate definition. If you search for "EPSG:28992" you'll find lots of discussion about this. This blog post seems to be authoritative on the subject:<BR>
<BR>
<A HREF="http://oegeo.wordpress.com/2008/05/20/note-to-self-the-one-and-only-rd-projection-string/">http://oegeo.wordpress.com/2008/05/20/note-to-self-the-one-and-only-rd-projection-string/</A><BR>
<BR>
Out of curiousity, what are the issues that you're seeing with this new definition?
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
On Mon, Jan 9, 2012 at 8:16 AM, <<A HREF="mailto:jeffery.fitzgerald@gmail.com">jeffery.fitzgerald@gmail.com</A>> wrote:<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BLOCKQUOTE>
Hey,<BR>
<BR>
I noticed that the epsg file that ships with proj4j has a different entry for ESPG:28992 than I have seen in proj.<BR>
<BR>
proj4j epsg<BR>
# Amersfoort / RD New<BR>
<28992> +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +towgs84=565.417,50.3319,465.552,-0.398957,0.343988,-1.8774,4.0725 +units=m +no_defs <><BR>
<BR>
gdal epsg<BR>
# Amersfoort / RD New<BR>
<28992> +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +units=m +no_defs <><BR>
<BR>
Does anyone know why? It was causing me some trouble until I removed the towgs84.<BR>
<BR>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
_______________________________________________<BR>
Proj4j mailing list<BR>
<A HREF="mailto:Proj4j@lists.osgeo.org">Proj4j@lists.osgeo.org</A><BR>
<A HREF="http://lists.osgeo.org/mailman/listinfo/proj4j">http://lists.osgeo.org/mailman/listinfo/proj4j</A><BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<PRE>
_______________________________________________
Proj4j mailing list
<A HREF="mailto:Proj4j@lists.osgeo.org">Proj4j@lists.osgeo.org</A>
<A HREF="http://lists.osgeo.org/mailman/listinfo/proj4j">http://lists.osgeo.org/mailman/listinfo/proj4j</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>