I don't really remember what constants I tweaked (and don't have the code anymore). However, Mercator by definition is square if you take the full x extent and y up to about 85.05 degrees.
Traian > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:mapguide-users- > [EMAIL PROTECTED] On Behalf Of George McLean > Sent: Wednesday, December 19, 2007 1:30 PM > To: MapGuide Users Mail List > Subject: Re: [mapguide-users] Generating tiles for google maps > > Was the customization to make a square projection that ran from 85 > degrees south to 85 degrees north? > > Thanks > > George > > Traian Stanev wrote: > > Yes, you have to use Mercator. To make the tiles match perfectly > across the whole world, you will need to use a custom Mercator rather > than the default one in MapGuide (last time I did it, I had to hardcode > the projection into MapGuide). I think that if you restrict yourself to > a small region, you can get away with the Mercator that already exists > in MapGuide and some tiny translation tweaks to make it all align > perfectly. > > > > > > Traian > > > > > > > >> -----Original Message----- > >> From: [EMAIL PROTECTED] [mailto:mapguide-users- > >> [EMAIL PROTECTED] On Behalf Of George McLean > >> Sent: Wednesday, December 19, 2007 11:26 AM > >> To: MapGuide Users Mail List > >> Subject: Re: [mapguide-users] Generating tiles for google maps > >> > >> I have been trying to get this working as well. My approach has been > to > >> use data between 85 degrees north and 85 degrees south in a Mercator > >> projection since this is what I believe Google maps uses. I am still > >> not > >> sure if this is the right approach as I am still working on it. > >> > >> To get the tiles within your bounding box, I would create the box > and > >> then zoom to the corners. The tiles for that region will be created > and > >> this will help you figure out the rows and columns for each corner > at > >> each zoom level. Once you know the zoom levels and row/column > >> boundaries > >> you can specify these parameters in the call to the tiling engine. > >> > >> George McLean > >> > >> azpublic wrote: > >> > >>> Hi, > >>> > >>> > >>> > >>> I'm looking for a way to generate custom tiles for google maps or > Ms > >>> Live maps / Virtual earth using Mapguide OS. > >>> > >>> > >>> > >>> I've created my map using studio and I'm now thinking about using > the > >>> Automated tiling engine from WSD to generate the tiles. > >>> > >>> > >>> > >>> My main problem is about which scale to use to have my custom tiles > >>> match with google maps tiles. What are the mapguide scales I need > to > >>> use for specific google maps zoom levels? > >>> > >>> > >>> > >>> Moreover I want to generate tiles only for a specific lat/lon > >>> > >> bounding > >> > >>> box. Is this possible using the Tiling engine? > >>> > >>> > >>> > >>> Any help appreciated ! > >>> > >>> > >>> > >>> > >>> > >>> > >>> No virus found in this outgoing message. > >>> Checked by AVG Free Edition. > >>> Version: 7.5.503 / Virus Database: 269.17.4 - Release Date: > >>> > >> 16.12.2007 > >> > >>> 00:00 > >>> > >>> ------------------------------------------------------------------- > -- > >>> > >> --- > >> > >>> _______________________________________________ > >>> mapguide-users mailing list > >>> mapguide-users@lists.osgeo.org > >>> http://lists.osgeo.org/mailman/listinfo/mapguide-users > >>> > >>> ------------------------------------------------------------------- > -- > >>> > >> --- > >> > >>> No virus found in this incoming message. > >>> Checked by AVG Free Edition. > >>> Version: 7.5.503 / Virus Database: 269.17.4/1188 - Release Date: > >>> > >> 12/17/2007 2:13 PM > >> > >> _______________________________________________ > >> mapguide-users mailing list > >> mapguide-users@lists.osgeo.org > >> http://lists.osgeo.org/mailman/listinfo/mapguide-users > >> > > _______________________________________________ > > mapguide-users mailing list > > mapguide-users@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users