Tiling for mapserver.

Stephen Gornick sgornick at DIGICOAST.COM
Tue May 9 10:56:54 PDT 2006


If you are referring to tiles to be layered over existing Google tiles, 
see Ducky Sherwood's census mashup site:
  http://maps.webfoot.com/

She did that as a project for one of her courses:
  http://www.cs.ubc.ca/~tmm/courses/infovis/projects.html#ducky

Specifically, she writes:
"I used the gd library[3] to draw the polygons (as given in the 
shapefiles), filled with a color chosen based on the population (as 
given population datafiles) divided by the area (as given in the shape 
file). I wrote files out as PNG images."

I was trying to figure out how to get the output from shp2img to create 
tile layers, but now am looking at using gd as well.

- Regards,

- Stephen

Edlinoor Syahril Ramlan wrote:
> Hi guys,
>  
> I don't know whether this is a stupid question or what but I really 
> need some advice, opinions, or whatever since I am stuck with this 
> problem for so many days already.
>  
> Anyway what I am trying to do is to create map images that I can use 
> to implement my application like Google Maps.  I know that within 
> Mapserver there is ka-map but as stupid as I am, I would like to 
> create my own.  The details of ka-map and the lack of documentation 
> making ka-map a bit confusing to me.
>  
> I need to make tiles for all map images that I generated from .map 
> file.  The problem I have is that I don't know how to generate images 
> for zooming in and out the map.  I've tried changing and using EXTEND 
> variable but EXTEND only displayed a certain area of the map and not 
> the entire data.  So basically if the user drag the map they will only 
> see data on that extend and not the entire map.  How can I solve this 
> problem?  I tried using and changing the SCALE value but nothing 
> changed?  I tried to changed the SIZE also nothing changed except the 
> pixel size of the map.
>  
> So anybody out there that can help me with the best approach?  I need 
> to generate the image and then cut it to tiles.  I think I have a 
> solution on how to cut the image but producing the image is now the 
> problem.  I hope you guys get the picture.
>  
> Thanks.
>  
> Ed.



More information about the MapServer-users mailing list