[Mapserver-users] printing a map with a defined scale
fx gamoy
fx.gamoy at mapxplore.com
Fri Aug 15 06:57:40 PDT 2003
thanks
i ve used 96 on my window plateform and the printed map was well scaled
best regards
fx
----- Original Message -----
From: "Pericles Nacionales" <nacional at cbs.umn.edu>
To: "Ellis Robin (Bundaberg)" <Robin.Ellis at nrm.qld.gov.au>
Cc: "fx gamoy" <fx.gamoy at mapxplore.com>; <mapserver-users at lists.gis.umn.edu>
Sent: Wednesday, July 30, 2003 1:59 AM
Subject: RE: [Mapserver-users] printing a map with a defined scale
> Well, if using a Mac it should be 72 (unless that's changed in OS X) or if
> you're using Windows then it would be 96. If you're in *NIX it could be
> 75 or 100 (or higher?) I don't know if those screen resolutions are
> set in stone. It's possible that it changes from computer to computer.
> If your function is in Javascript, is there a way for you to obtain the
> client's screen resolution so that you could take it into account when
> calculating your scale?
>
> Cheers!
> Perry
>
> On Wed, 30 Jul 2003, Ellis Robin (Bundaberg) wrote:
>
> > I think the problem occurs because the screen resolution of the user's
system is different ot that assumed to be the default by Mapserver, and is
related i think to the dots per inch used to build and display the image
(I'm sure somebody else can supply all the technical details). I have found
that to overcome this for our internal tools I add the following line to the
map file:
> >
> > RESOLUTION 96
> >
> > >From memory of earlier discussions Mapserver assumes a resolution of 72
unless told otherwise.
> >
> > Rob
> >
> > -----Original Message-----
> > From: fx gamoy [mailto:fx.gamoy at mapxplore.com]
> > Sent: Tuesday, 29 July 2003 8:57 PM
> > To: mapserver-users at lists.gis.umn.edu
> > Subject: [Mapserver-users] printing a map with a defined scale
> >
> >
> > hello world,
> > i would like to add a print function with a defined scale. The results i
obtain for the moment are bad and the scale given by mapserver is not the
same as the document source. The mapserver printed map image (scale =
1/1000) is smaller than for example the same printed map with mapinfo
(scale=1/1000).
> >
> > I hope this is understandable.
> > thanks
> > fx
> >
> >
> >
> > ************************************************************************
> > The information in this e-mail together with any attachments is
> > intended only for the person or entity to which it is addressed
> > and may contain confidential and/or privileged material.
> > Any form of review, disclosure, modification, distribution
> > and/or publication of this e-mail message is prohibited.
> > If you have received this message in error, you are asked to
> > inform the sender as quickly as possible and delete this message
> > and any copies of this message from your computer and/or your
> > computer system network.
> > ************************************************************************
> >
> >
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>
More information about the MapServer-users
mailing list