[Mapserver-users] image qyuality

Juanse georef@tie.cl
Fri, 31 Jan 2003 16:33:28 -0300


This is a multi-part message in MIME format.

------=_NextPart_000_0074_01C2C946.7C2FDB40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Right, but how do you take care of the scale?

I am generating the map, the scale and the reference map as different =
png, with the png names stored in a database. On other process I am =
generating a pdf output with all the images.

If I double (say from 72 to 144) the size of the map,  I should do the =
same with the scale size?

Juanse
temuko-Chile


  ----- Original Message -----=20
  From: Ed McNierney=20
  To: Juanse ; mapserver-users@lists.gis.umn.edu=20
  Sent: Monday, February 03, 2003 3:08 PM
  Subject: RE: [Mapserver-users] image qyuality


  Juanse -

  You don't need to do anything at all.  MapServer generates raster =
output images that are X pixels wide by Y pixels high.  When you print =
them, if you print them at a high resolution, you will get a small, =
high-quality image.  If you print them at a low resolution you will get =
a large, low-quality image.  If you need an 8.5 inch by 11 inch 300-dpi =
image, make one that is 2550 pixels (8.5 x 300) by 3300 pixels (11 x =
300), print it at 300 dpi, and you will get what you want.

      - Ed
  Ed McNierney
  President and Chief Mapmaker
  TopoZone.com / Maps a la carte, Inc.
  73 Princeton Street, Suite 305
  North Chelmsford, MA  01863
  ed@topozone.com
  (978) 251-4242=20

    -----Original Message-----
    From: Juanse [mailto:georef@tie.cl]
    Sent: Friday, January 31, 2003 12:53 PM
    To: mapserver-users@lists.gis.umn.edu
    Subject: [Mapserver-users] image qyuality


    Is it possible to change image resolution other way than changing =
the constant value (72 DPI) and recompiling mapserver? I need to =
increase it  for generating printed maps.

    Juanse
    temuko-Chile



    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/03

------=_NextPart_000_0074_01C2C946.7C2FDB40
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Right, but how do you take care of the=20
scale?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am generating the map, the scale and =
the=20
reference map as different png, with the png names stored in a database. =
On=20
other process I am generating a pdf output with all the =
images.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If I double (say from 72 to 144) the =
size of the=20
map,&nbsp; I should do the same with the scale size?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Juanse</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>temuko-Chile</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Ded@topozone.com href=3D"mailto:ed@topozone.com">Ed =
McNierney</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dgeoref@tie.cl=20
  href=3D"mailto:georef@tie.cl">Juanse</A> ; <A=20
  title=3Dmapserver-users@lists.gis.umn.edu=20
  =
href=3D"mailto:mapserver-users@lists.gis.umn.edu">mapserver-users@lists.g=
is.umn.edu</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, February 03, 2003 =
3:08=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Mapserver-users] =
image=20
  qyuality</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=3D437360618-03022003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Juanse -</FONT></SPAN></DIV>
  <DIV><SPAN class=3D437360618-03022003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D437360618-03022003><FONT face=3DArial =
color=3D#0000ff size=3D2>You=20
  don't need to do anything at all.&nbsp; MapServer generates raster =
output=20
  images that are X pixels wide by Y pixels high.&nbsp; When you print =
them, if=20
  you print them at a high resolution, you will get a small, =
high-quality=20
  image.&nbsp; If you print them at a low resolution you will get a =
large,=20
  low-quality image.&nbsp; If you need an 8.5 inch by 11 inch 300-dpi =
image,=20
  make one that is 2550 pixels (8.5 x 300) by 3300 pixels (11 x 300), =
print it=20
  at 300 dpi, and you will get what you want.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D437360618-03022003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D437360618-03022003>&nbsp;&nbsp;&nbsp; <FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>- Ed</FONT></SPAN></DIV>
  <DIV><SPAN class=3D437360618-03022003>
  <P><FONT size=3D2>Ed McNierney<BR>President and Chief =
Mapmaker<BR>TopoZone.com /=20
  Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North =
Chelmsford,=20
  MA&nbsp; 01863<BR>ed@topozone.com<BR>(978) 251-4242 =
</FONT></P></SPAN></DIV>
  <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
    <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
    size=3D2>-----Original Message-----<BR><B>From:</B> Juanse=20
    [mailto:georef@tie.cl]<BR><B>Sent:</B> Friday, January 31, 2003 =
12:53=20
    PM<BR><B>To:</B> =
mapserver-users@lists.gis.umn.edu<BR><B>Subject:</B>=20
    [Mapserver-users] image qyuality<BR><BR></FONT></DIV>
    <DIV>Is it possible to change image resolution other way than =
changing the=20
    constant value (72 DPI) and recompiling mapserver? I need to =
increase=20
    it&nbsp; for generating printed maps.</DIV>
    <DIV><BR>Juanse<BR>temuko-Chile<BR></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><BR>---<BR>Outgoing mail is certified Virus Free.<BR>Checked by =
AVG=20
    anti-virus system (<A=20
    =
href=3D"http://www.grisoft.com">http://www.grisoft.com</A>).<BR>Version: =

    6.0.445 / Virus Database: 250 - Release Date:=20
21/01/03</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0074_01C2C946.7C2FDB40--

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users