[mapserver-users] Reference obj & image file
Vu Pham
vu at sivell.com
Sat Mar 23 11:17:25 PST 2002
Thanks, Steve. Is there any free app allow me to resize the shape and
save ?
Other questions :
1. when I use a gif file, I got this error msg:
msDrawReferenceMap(): General error message. Unable to load GIF
reference image.
[ The path is correct, because if I change the filename, I get another
error
msDrawReferenceMap(): Unable to access file. (ilkane_ref.gif)].
What may cause this ?
2. Then I tried a .png file, it does display the reference picture, but
the reference is not correct. I don't know if it is because .png is not
usable as the doc states, or because my wrong parameter somewhere else ?
Thanks,
Vu
-----Original Message-----
From: owner-mapserver-users at lists.gis.umn.edu
[mailto:owner-mapserver-users at lists.gis.umn.edu] On Behalf Of Stephen
Woodbridge
Sent: Saturday, March 23, 2002 7:32 AM
To: Vu Pham
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [mapserver-users] Reference obj & image file
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