[Mapserver-users] Change Output Image Resolution

Stefan Schwarzer stefan.schwarzer at grid.unep.ch
Mon Apr 14 02:12:35 EDT 2003


--=====================_831215965==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Ed et al.,

thanks for the answers. Yes, I know that in increasing the size of the 
image I can increase the printing resolution. That is what I have done 
until now. But there are two problems:
a) as you said I have to make sure that everything on the map is scalable. 
I assume that there is a nicer way to do it then in multiplying the size of 
my symbols with a specific value which would depend on the choosen image 
size, right?
b) I would like to produce a kind of "report", directly ready for printing 
for everybody. Not all of our users have access or the knowledge of 
reducing image sizes to increase print resolution. The alternative of 
producing a pdf (anyway something I wanted to implement) seems to offer a 
solution.

Best wishes,

Stefan





>Stefan -
>
>Those two options are the same thing!
>
>If you take a fixed geographic area (say 10 kilometers square), and 
>generate a 1,000 x 1,000 pixel map, and then "produce a bigger image" by 
>creating a 10,000 x 10,000 pixel map, if you print the two at the same 
>physical size you'll get one that is a "high resolution" map and one 
>that's "low resolution".  There's no difference.  The only thing you need 
>to be careful about is using fixed-sized bitmap fonts or symbols.  You 
>need to make sure everything on the map is scalable, and if you're going 
>to use bitmaps you will need two versions, one to match each resolution.
>
>To put it another way, if you had a 10-cm x 10-cm print of a 2,000-pixel 
>square image, and a 4-cm x 4-cm "high resolution" print of the same image, 
>the first would be 200 pixels per cm, and the second would be a "high 
>resolution" 500 pixels per cm, but the image is the same thing.
>
>     - 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
>-----Original Message-----
>From: Stefan Schwarzer [mailto:stefan.schwarzer at grid.unep.ch]
>Sent: Friday, April 11, 2003 10:33 AM
>To: mapserver-users at lists.gis.umn.edu
>Subject: [Mapserver-users] Change Output Image Resolution
>
>Hi all,
>
>I would like to create images with a higher resolution for printing. But I 
>don't like to just produce a bigger image and then reduce the print-size 
>and thus raise the image resolution with the help of an image processing 
>software.
>
>The only thread I found concerning this subject was this one: 
>http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0104/msg00010.html
>
>Has anything changed since then which facilitates the production of a high 
>resolution images?
>
>Best wishes,
>
>Stefan
>
>
>         _______________________________________
>
>         Stefan Schwarzer
>         Consultant on GEO
>
>         UNEP/DEWA/GRID-Geneva
>         Chemin des Anemones 11
>         CH - 1219 Chatelaine
>         Switzerland
>
>         Tel: (+41) 22.917.83.49
>         Fax: (+41) 22.917.80.29
>
>         Email: stefan.schwarzer at grid.unep.ch
>         Internet: http://geodata.grid.unep.ch/
>         _______________________________________

         _______________________________________

         Stefan Schwarzer
         Consultant on GEO

         UNEP/DEWA/GRID-Geneva
         Chemin des Anemones 11
         CH - 1219 Chatelaine
         Switzerland

         Tel: (+41) 22.917.83.49
         Fax: (+41) 22.917.80.29

         Email: stefan.schwarzer at grid.unep.ch
         Internet: http://geodata.grid.unep.ch/
         _______________________________________ 
--=====================_831215965==.ALT
Content-Type: text/html; charset="us-ascii"

<html>
<body>
<font size=3>Ed et al.,<br><br>
thanks for the answers. Yes, I know that in increasing the size of the
image I can increase the printing resolution. That is what I have done
until now. But there are two problems:<br>
a) as you said I have to make sure that everything on the map is
scalable. I assume that there is a nicer way to do it then in multiplying
the size of my symbols with a specific value which would depend on the
choosen image size, right?<br>
b) I would like to produce a kind of &quot;report&quot;, directly ready
for printing for everybody. Not all of our users have access or the
knowledge of reducing image sizes to increase print resolution. The
alternative of producing a pdf (anyway something I wanted to implement)
seems to offer a solution.<br><br>
Best wishes,<br><br>
Stefan<br><br>
<br><br>
<br><br>
</font><blockquote type=cite class=cite cite><font face="arial" size=2 color="#0000FF">Stefan
-</font><font size=3><br>
&nbsp;<br>
</font><font face="arial" size=2 color="#0000FF">Those two options are
the same thing!</font><font size=3><br>
&nbsp;<br>
</font><font face="arial" size=2 color="#0000FF">If you take a fixed
geographic area (say 10 kilometers square), and generate a 1,000 x 1,000
pixel map, and then &quot;produce a bigger image&quot; by creating a
10,000 x 10,000 pixel map, if you print the two at the same physical size
you'll get one that is a &quot;high resolution&quot; map and one that's
&quot;low resolution&quot;.&nbsp; There's no difference.&nbsp; The only
thing you need to be careful about is using fixed-sized bitmap fonts or
symbols.&nbsp; You need to make sure everything on the map is scalable,
and if you're going to use bitmaps you will need two versions, one to
match each resolution.</font><font size=3><br>
&nbsp;<br>
</font><font face="arial" size=2 color="#0000FF">To put it another way,
if you had a 10-cm x 10-cm print of a 2,000-pixel square image, and a
4-cm x 4-cm &quot;high resolution&quot; print of the same image, the
first would be 200 pixels per cm, and the second would be a &quot;high
resolution&quot; 500 pixels per cm, but the image is the same
thing.</font><font size=3><br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp; </font><font face="arial" size=2 color="#0000FF">-
Ed</font><font size=3><br><br>
</font><font size=2>Ed McNierney<br>
President and Chief Mapmaker<br>
TopoZone.com / Maps a la carte, Inc.<br>
73 Princeton Street, Suite 305<br>
North Chelmsford, MA&nbsp; 01863<br>
ed at topozone.com<br>
(978) 251-4242 <br>
</font>
<dl>
<dd><font face="tahoma" size=2>-----Original Message-----<br>

<dd>From:</b> Stefan Schwarzer
[<a href="mailto:stefan.schwarzer at grid.unep.ch" eudora="autourl">mailto:stefan.schwarzer at grid.unep.ch</a>]<br>

<dd>Sent:</b> Friday, April 11, 2003 10:33 AM<br>

<dd>To:</b> mapserver-users at lists.gis.umn.edu<br>

<dd>Subject:</b> [Mapserver-users] Change Output Image
Resolution<br><br>
</font>
<dd><font size=3>Hi all,<br><br>

<dd>I would like to create images with a higher resolution for printing.
But I don't like to just produce a bigger image and then reduce the
print-size and thus raise the image resolution with the help of an image
processing software.<br><br>

<dd>The only thread I found concerning this subject was this one:
<a href="http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0104/msg00010.html" eudora="autourl">http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0104/msg00010.html</a>
<br><br>

<dd>Has anything changed since then which facilitates the production of a high resolution images?<br><br>

<dd>Best wishes,<br><br>

<dd>Stefan<br><br>
<br>

<dd><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>_______________________________________<br><br>
</font>
<dd><font size=2><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Stefan Schwarzer<br>
</b>
<dd><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Consultant on GEO<br><br>

<dd><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>UNEP/DEWA/GRID-Geneva<br>

<dd><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Chemin des Anemones 11<br>

<dd><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>CH - 1219 Chatelaine<br>

<dd><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Switzerland<br><br>

<dd><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Tel: (+41) 22.917.83.49<br>

<dd><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Fax: (+41) 22.917.80.29<br><br>

<dd><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Email: stefan.schwarzer at grid.unep.ch<br>

<dd><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Internet: <a href="http://geodata.grid.unep.ch/" eudora="autourl">http://geodata.grid.unep.ch/</a><br>
</font>
<dd><font size=3><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>_______________________________________ <br>
</font></blockquote>
<x-sigsep><p></x-sigsep>

</dl><font size=3><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>_______________________________________<br><br>
</font><font size=2><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><b>Stefan Schwarzer<br>
</b><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Consultant on GEO<br><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>UNEP/DEWA/GRID-Geneva<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Chemin des Anemones 11<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>CH - 1219 Chatelaine<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Switzerland<br><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Tel: (+41) 22.917.83.49<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Fax: (+41) 22.917.80.29<br><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Email: stefan.schwarzer at grid.unep.ch<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Internet: <a href="http://geodata.grid.unep.ch/" eudora="autourl">http://geodata.grid.unep.ch/</a><br>
</font><font size=3><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>_______________________________________</font></body>
</html>

--=====================_831215965==.ALT--




More information about the mapserver-users mailing list