[mapserver-users] PDF output, what about?

Michael Anderson m_anderson14 at hotmail.com
Thu May 24 14:14:46 PDT 2001


Andrew,

I use a Python module called Reportlab (www.reportlab.com) to make pdfs. 
There is an example of the functionality at cegis1.cas.psu.edu/Centre. Hit 
the print button to print the map currently in the browser. You can enter a 
title, a short description, a legend, north arrow, and reference map. I'm 
not too good with graphics so it's not the prettiest map, but you can change 
the look with a template. I've gotten to the point where I know how to do 
everything but the map as vectors and the map is possible (except for 
imagery) but don't know when I'll get time to implement it.

PHP also has a module for creating pdfs, but I've never used it.


Mike Anderson
Spatial Information Technologies, Inc.


>From: "ANDREW WOOLEY" <AWOOLEY at mountainland.org>
>To: <mapserver-users at lists.gis.umn.edu>
>Subject: RE: [mapserver-users] PDF output, what about?
>Date: Wed, 23 May 2001 07:18:36 -0600
>
>I am looking for this very solution.  The ToMo example is exactly what I 
>would like to try on my site.  I am new to mapserver, but part of the 
>reason I am doing any map serving is to allow some of my planners that are 
>offsite print maps that they can customize.  Up to this point, I had 
>resigned myself to the supposition that they would have to print a web map, 
>but if a PDF or some other vector format is possible, I would really love 
>to learn more.  I am still working on learning how mapserver works and if 
>someone could send me some example code that shows how to create a PDF with 
>mapserver on Linux instead of a bitmap of some sort, I would really 
>appreciate it.  I am pretty familiar with PHP but am willing to learn 
>anything.
>
>Thanks very much,
>
>Andrew
>
>Andrew Wooley
>GIS Operations Manager
>Mountainland Association of Governments
>Orem, UT
>
>phone:  801.229.3844
>fax:       801.229.3801
>email:   awooley at mountainland.org
>
> >>> Andréas M. Winter <winter at freytagberndt.at> 05/22 7:43 AM >>>
>PDF is fine, SVG would be better when dealing with vector graphics on
>the web.
>
>have al look at http://www.karto.ethz.ch/cgi-bin/projection.pl and
>http://www.carto.net/papers/svg . first is a projection tool with pdf
>AND svg output, second a paper about the benefits of svg for
>cartography!
>
>regards
>
>andré
>
>____________________________________________
>andréas m. winter - freytag & berndt
>content management - new media & internet
>austria a1230 wien brunner str 69
>tel +43.1.869.90.90.38
>fax +43.1.869.90.90.62
>mailto:winter at freytagberndt.at
>
>-----Ursprüngliche Nachricht-----
>Von: Carlo A. Bertelli [mailto:bertelli at charta.acme.com]
>Gesendet: Dienstag, 22. Mai 2001 12:45
>An: mapserver-users at lists.gis.umn.edu
>Betreff: [mapserver-users] PDF output, what about?
>
>
>Hello fellows,
>
>GIF and PNG output are very good for mapserver, as the browser does not
>ask
>for a plug-in to see maps, but when you need printing, screen-resolution
>pictures are not so good.
>
>I think mapserver should use a PDF library to provide PDF output for
>printing purposes. Say, when you have the map you need (thematic
>mapping,
>scale, and so on), you would click on a 'PDF' button and presto! you get
>a
>print-ready image you could enhance or incorporate in documents.
>
>Ciao
>	Carlo
>
>------------------------------------------------------------------------
>--
>Carlo A. Bertelli
>    Charta   servizi e sistemi per il territorio e la storia ambientale
>srl
>             Dipendenze del palazzo di Clemente Doria,
>             vc. alla Chiesa della Maddalena 9/2 16124      Genova
>(Italy)
>             tel. +39 010 2475439  fax +39 010 2475439  cell: 0333
>2298345
>     e-mail: bertelli at charta.acme.com      http://www.charta.acme.com
>------------------------------------------------------------------------
>--
>
>
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com




More information about the MapServer-users mailing list