Can I create a zoomed map image {Scanned}

Siki Zoltan siki at AGT.BME.HU
Fri Oct 13 03:16:53 PDT 2006


Hi,

I suppose you use cgi mapserver.
You can change the width and height of the mapserver generated 
image using MAPSIZE parameter.
You need some javascript to calculate the new image size.
You can read the actual extent of your image from IMGEXT,
the actual image size from IMGSIZE.
You should set MAPSIZE and MAPEXTENT for the next generated image.
AFAIK the MAPSIZE is limited, so you can't increase it to any number.

Zoltan


On Fri, 13 Oct 2006, Sandeep Kumar Jakkaraju wrote:

> Hi  All
> 
> Can I create Images of Maps from Shapefiles for different scales ??
> 
> For example:
> 
> I have a shape file with scale 1:20937
> I have created an image of size 1031-801.
> I can see the whole region in this scale.
> 
> Now when I change the scale to say 1:5234.
> 
> I want to create the image of the Map which covers the whole region ...at
> this scale ...
> The width and height of the image are blow up now !!
> 
> Can i create the image of the map at this scale which will show me the whole
> region...
> 
> Thanks in advance
> 



More information about the MapServer-users mailing list