[Mapserver-users] image qyuality
Ed McNierney
ed at topozone.com
Mon Feb 3 12:06:35 PST 2003
This is a multi-part message in MIME format.
------_=_NextPart_001_01C2CBBF.C114185E
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
The scale bar won't have any problems. If you generate the map and the =
scale bar the same way, they will be correctly proportioned to each =
other. If you print them both at the same output resolution, they will =
look fine, no matter what that resolution is.
=20
- Ed
-----Original Message-----
From: Juanse [mailto:georef at tie.cl]
Sent: Friday, January 31, 2003 2:33 PM
To: Ed McNierney
Cc: mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] image qyuality
Right, but how do you take care of the scale?
=20
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.
=20
If I double (say from 72 to 144) the size of the map, I should do the =
same with the scale size?
=20
Juanse
temuko-Chile
=20
=20
----- Original Message -----=20
From: Ed McNierney <mailto:ed at topozone.com> =20
To: Juanse <mailto:georef at tie.cl> ; mapserver-users at lists.gis.umn.edu=20
Sent: Monday, February 03, 2003 3:08 PM
Subject: RE: [Mapserver-users] image qyuality
Juanse -
=20
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.
=20
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
ed at topozone.com
(978) 251-4242=20
-----Original Message-----
From: Juanse [mailto:georef at tie.cl]
Sent: Friday, January 31, 2003 12:53 PM
To: mapserver-users at 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
=20
---
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_001_01C2CBBF.C114185E
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=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1126" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D101330520-03022003><FONT face=3DArial color=3D#0000ff =
size=3D2>The=20
scale bar won't have any problems. If you generate the map and the =
scale=20
bar the same way, they will be correctly proportioned to each =
other. If=20
you print them both at the same output resolution, they will look fine, =
no=20
matter what that resolution is.</FONT></SPAN></DIV>
<DIV><SPAN class=3D101330520-03022003><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D101330520-03022003> <FONT =
face=3DArial=20
color=3D#0000ff size=3D2>- Ed</FONT></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 at tie.cl]<BR><B>Sent:</B> Friday, January 31, 2003 2:33=20
PM<BR><B>To:</B> Ed McNierney<BR><B>Cc:</B>=20
mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> RE: =
[Mapserver-users]=20
image qyuality<BR><BR></FONT></DIV>
<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> </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> </DIV>
<DIV><FONT face=3DArial size=3D2>If I double (say from 72 to 144) the =
size of the=20
map, I should do the same with the scale size?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </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> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </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 at topozone.com href=3D"mailto:ed at topozone.com">Ed =
McNierney</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dgeoref at tie.cl=20
href=3D"mailto:georef at tie.cl">Juanse</A> ; <A=20
title=3Dmapserver-users at lists.gis.umn.edu=20
=
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at 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> </DIV>
<DIV><SPAN class=3D437360618-03022003><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>You don't need to do anything at all. MapServer =
generates=20
raster output images that are X pixels wide by Y pixels high. =
When you=20
print them, if you print them at a high resolution, you will get a =
small,=20
high-quality image. If you print them at a low resolution you =
will get=20
a large, low-quality image. If you need an 8.5 inch by 11 inch =
300-dpi=20
image, make one that is 2550 pixels (8.5 x 300) by 3300 pixels (11 x =
300),=20
print it 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> </DIV>
<DIV><SPAN class=3D437360618-03022003> <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=20
Chelmsford, MA 01863<BR>ed at topozone.com<BR>(978) 251-4242=20
</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 at tie.cl]<BR><B>Sent:</B> Friday, January 31, 2003 =
12:53=20
PM<BR><B>To:</B> =
mapserver-users at 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 for generating printed maps.</DIV>
<DIV><BR>Juanse<BR>temuko-Chile<BR></DIV>
<DIV> </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></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C2CBBF.C114185E--
More information about the MapServer-users
mailing list