Re: [Geotools-devel] Google projection

2007-08-08 Thread Martin Desruisseaux
Andrea Aime a écrit : > I can add a Google citation of course, but I think I have to keep the > OGC one in order for the WKT parser to pick up the projection (I may > be wrong thought). We can have both (Google and pseudo-EPSG) citations for this MapProjection. It is probably worth to have the Goo

Re: [Geotools-devel] Google projection

2007-08-07 Thread Andrea Aime
Jody Garnett ha scritto: > Hi Andrea; looks like you worked out the details with Martin. Would it > be a lot of trouble to list "Google" as the authority on this one? We > can add a static final for them to Citations if needed. > > Or does this definition exactly line up to EPSG:13 ? No, 10

Re: [Geotools-devel] Google projection

2007-08-07 Thread Jody Garnett
Hi Andrea; looks like you worked out the details with Martin. Would it be a lot of trouble to list "Google" as the authority on this one? We can add a static final for them to Citations if needed. Or does this definition exactly line up to EPSG:13 ? Cheers, Jody Andrea Aime wrote: > Hi, > I'

Re: [Geotools-devel] Google projection

2007-08-05 Thread Martin Desruisseaux
Andrea Aime a écrit : >> SPHEROID["WGS_1984", 6378137.0, 0.0] > > If the original dataset is based on WGS84, then the trasformation would > include some compensation for the difference between the original > ellipsoid and the destination sphere, or not? > The "Google Projection" is made so tha

Re: [Geotools-devel] Google projection

2007-08-05 Thread Andrea Aime
Martin Desruisseaux ha scritto: > Andrea Aime a écrit : >> I get a good result by using the attached class plus the following >> wkt definiton: >> 13=(...snip...)SPHEROID["WGS_1984", 6378137.0, 298.257223563]], >> The attached class seems to do the trick, thought it would >> be probably much mo

Re: [Geotools-devel] Google projection

2007-08-05 Thread Martin Desruisseaux
Andrea Aime a écrit : > I get a good result by using the attached class plus the following > wkt definiton: > 13=(...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

[Geotools-devel] Google projection

2007-08-03 Thread Andrea Aime
Hi, I'm here to ask if I can commit a "Google Projection" class to Geotools. The projection used for Google Maps is basically a modified EPSG:41001 ("WGS84 / Simple Mercator"), but coordinates have to be transformed assuming a sphere instead of an ellipsoid. Using the major axis as radius seems to