Jody Garnett ha scritto:
> What is confusing for me is this:
> - the uesr guide already documents this code; do you think we have had
> a regression?
> - Emily you needed to change the definition a bit; as far as I know
> the interesting part about supporting the google projection was adding
> support for a perfect sphere; that support should now be present (and
> hence expected the wkt in the user guide to pass).
> 
> We do have the concept of an alias in order to sort out the multiple
> ways in which WKT and the EPSG databsae have to refer to things; do we
> need to add an alias for "Mercator (1SP) (Spherical)". I would expect
> the Spherical to be significant- since previously this additional java
> code to support.
> 
> - http://docs.codehaus.org/display/GEOTDOC/08+Google+Maps+Projection

If you look into the  EPSG wkt that we are using today you'll see
that we use the usual Mercator but there is an extra parameter:
PARAMETER["semi_minor", 6378137.0]
that forces the spherical interpretation.

This was introduced by Martin time ago:
http://jira.codehaus.org/browse/GEOT-1511

Happily enough I do still have my original GeoServer solution
that introduced a custom projection, just like EPSG did:
https://svn.codehaus.org/geoserver/trunk/src/main/src/main/java/org/geotools/referencing/operation/projection/Mercator1SPGoogle.java

I think I can port that back to GeoTools and make sure it
matches with the EPSG name. Then I will have to make sure
the transformation results are really the same as the current
approach (which is known to be working).

Cheers
Andrea






------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to