Andrea Aime a écrit :
> I get a good result by using the attached class plus the following
> wkt definiton:
> 100003=(...snip...)SPHEROID["WGS_1984", 6378137.0, 298.257223563]], 
> 
> The attached class seems to do the trick, thought it would
> be probably much more compact if Mercator1SP could be extended
> and had a param to force the sphere version of the transform.


If we want a sphere, why not setting the "inverse flattening factory" to 0, as 
suggested in WKT specification? (not sure where I read that, this is just a 
vague souvenir):

     SPHEROID["WGS_1984", 6378137.0, 0.0]

should work with the ordinary Mercator1SP. The referencing module should select 
automatically the sphere version of the transform without the need for a 
special 
"Mercator google" projection.

        Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to