[mapserver-users] Reference obj & image file

Stephen Woodbridge woodbri at swoodbridge.com
Sat Mar 23 08:31:57 EST 2002


Vu,

Your work-a-round to this problem was good, but there is a much easier
way to do this that other might be interested in.

If you want a reference image of say 200 x 200 then edit your map file
and set the image SIZE 200 200 then use shp2img -m <mapfile> -o
reference.gif

and you are all done!

Oh, don't forget to change your SIZE back to its orginal.

-Steve

Vu Pham wrote:
> 
> Hi all,
> 
> I would like to use the Reference object. The doc says I need I gif file
> for the reference image.
> Is there any way to help me to have this image file from the the shape
> file or any similar way without manually drawing ? I am very bad in
> drawing.
> 
> Thanks,
> 
> Vu



More information about the mapserver-users mailing list