Tiling for mapserver.

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Tue May 9 01:56:35 PDT 2006


Hi Ed.

You have to have a location for scale to work mapxy=<x>+<y>&scale=<s>

You might try reading the mapserver cgi documentation if you haven't 
yet. I would also SERIOUSLY go back and consider ka-map. ka-map has many 
development years of effort invested in building a google like mapping 
application using ka-map. It already does many things that one would want.

The question you asked is very basic and there are hundreds more like 
that that you will likely run into trying to build a ka-map like 
application on your own. It would be great to have another application 
like ka-map if you want to do that, but you could learn a lot more by 
first understanding how ka-map works and then asking why they do it that 
way. I'm also sure ka-map would enjoy having someone else add new 
features to it, if it does not do all you want.

Best regards,
   -Steve W.

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