I have the following user guide page: - http://docs.codehaus.org/display/GEOTDOC/08+Google+Maps+Projection
As you can read on the page it looks like a specific Mercator1SPGoogle file is no longer needed; can you confirm this works so I can update the page? > Hello everybody! > > I am trying to render maps in google mercator projection. > I use geotools 2.4.1 so this must not be a problem. > I found google mercator wkt > ( > > PROJCS["WGS84 / Google Mercator", GEOGCS["WGS 84", DATUM["World > Geodetic System 1984", SPHEROID["WGS 84", 6378137.0, > 298.257223563, AUTHORITY["EPSG","7030"]], > AUTHORITY["EPSG","6326"]], PRIMEM["Greenwich", 0.0, > AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295], > AXIS["Longitude", EAST], AXIS["Latitude", NORTH], > AUTHORITY["EPSG","4326"]], PROJECTION["Mercator_1SP"], > PARAMETER["semi_minor", 6378137.0], PARAMETER["latitude_of_origin", > 0.0], PARAMETER["central_meridian", 0.0], PARAMETER["scale_factor", > 1.0], PARAMETER["false_easting", 0.0], PARAMETER["false_northing", > 0.0], UNIT["m", 1.0], AXIS["x", EAST], AXIS["y", NORTH], > AUTHORITY["EPSG","900913"]] > > ) > Geotools parses wkt without exceptions. > > I attached example code which renders Russia map and some lines grid > on it (The code is minimized as possible). Grid step is 25 degrees. > Render resulting image can be found here: > http://ds.azcltd.com/quickStart/compareProjections.gif glued with > google map tile with same area ( latitude between 0 and 85 longitude > between 0 and 180). Image size is also similar (256 x 256) > Why google and geotools does not give similar results ? > Why grid on my image is having equal vertical distances between grid > lines? Isn't mercator projection result in larger distances when > approaching to south pole? > If google maps would have a grid we will be seeing this effect on > google's tiles. Am I wrong? > > What do I have to do with attached code to get same result as google > gives? > > Somebody, please, help me. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
