[Tilecache] tilecache for GMaps
Christopher Schmidt
crschmidt at metacarta.com
Fri Aug 31 09:06:34 EDT 2007
On Fri, Aug 31, 2007 at 03:28:15PM +0300, Alper Din?er wrote:
> Hi,
>
> I have installed Mapserver and publish my maps on WMS, but the performance
> is very poor. I want to export the tiles which are compatible with google
> maps but I didn't find any tutorial. Is there anyone who setup such kind of
> system?
There's no tutorial yet. However:
# The following is a demonstration of a layer which would be generated
# according to the 'Google projection'. Note that EPSG:900913 is a play
# on a lowercase 'google' in "leet-speak" -- it is not an official EPSG
# code. More information on the projection available at:
# http://spatialreference.org/ref/user/google-projection/
#[google-tiles]
#type=WMSLayer
#url=http://localhost/cgi-bin/mapserv?map=/mapdata/world.map
#layers=world
#bbox=-20037508.3427892,-20037508.3427892,20037508.3427892,20037508.3427892
#maxResolution=156543.0339
#srs=EPSG:900913
-- http://svn.tilecache.org/trunk/tilecache/tilecache.cfg
tms_type
Setting this to "google" will cause tiles to switch vertical order
(that is, following the Google style x/y pattern).
-- http://svn.tilecache.org/trunk/tilecache/README
so, you want the above, plus
tms_type=google
And you'll want to get the SRS for EPSG:900913 from the
spatialreference.org link.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Tilecache
mailing list