Generating reference map image
Daniele Margotti
margottid at COMUNE.LUGO.RA.IT
Thu Jul 14 07:30:17 PDT 2005
I suggest you to manually resize the image you copied (from the full
extent map) to widht & height you specified in your mapfile.
Or, if you want the image resized by the browser, you should modify the
values of the reference image size in the mapfile.
In any case, width and height declared in the mapfile should reflect the
real values of the "real" reference image (I mean, the .GIF, .PNG or
.JPG file used by Mapserver to generate the reference map), and have the
same proportion as the mapsize.
Daniele
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Gambin Dejan
Sent: Thursday, July 14, 2005 8:20 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Generating reference map image
Hi,
I have a problem that my reference map position is not identical to the
position on the main map. The difference is not big but I would like to
know why. Adn I would like to know what is the best and simplest way to
create the reference map image?
I have created it as follows:
1. I opened my main map, selecting some layers I would like to be seen
on the reference map (such as my city borders) 2. I have zoomed out to
the full extent 3. I have copied this last created image from mapserver
image folder
(IMAGEPATH) to the folder where the reference map image resides and
renamed it to the name of reference image. So I let the browser reduce
the reference image size to that set in mapfile.
Any suggestions?
thanks
dg
More information about the MapServer-users
mailing list