Using Mapserver to generate google like tiles

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Tue May 3 23:58:57 EDT 2005


Hi,

Is anyone out there writing a Perl or PHP/mapscript utility to generate
google like tiles using mapserver? What are the problems and issues you
have run into? What is the status of your work?

On the surface it seems pretty straight forward. Just iterate a bounding
box for your tile size over your map extents and save the tiles based on
row/column index as its name. Do this for each zoom scale you need.

You need to deal with labels across tile boundaries.
Should this be done using a projection? Which?
Projections probably make this more complicated? How?

I was thinking that generating BIG image files and then generating tiles
from the raster images might be better, because it will reduce the
number of tile edge artifacts. I was think that Perl and the ImageMagic
might work well for this?

Any thoughts?

-Steve W.



More information about the mapserver-users mailing list