<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi Allesandro,<br>
    <br>
    In fact, Marco is currently working on exactly what you want. He is
    extending QGIS mapserver with a GetPrint command that allows to
    specify the map extent, the layout/template to use, rotation
    parameter, dpi, etc. and you'll get a PDF/SVG/PNG/JPEG as output.
    The templates will be picked up from the QGIS project file.<br>
    <br>
    If you can wait until next year (probably mid to end of January) it
    will be part of QGIS mapserver.<br>
    <br>
    So no need to work on it in parallel - unless you have something
    else in mind.<br>
    <br>
    Andreas<br>
    <blockquote
      cite="mid:AANLkTi=93S+AfUuu2Q3+13kvr-oiUG+XhzO2zn8YDgXv@mail.gmail.com"
      type="cite">
      <div><br>
      </div>
      <div><br>
      </div>
      Thanks Martin,
      <div><br>
      </div>
      <div>I have already found your example, but it is for a plugin,
        isn't it ?</div>
      <div><br>
      </div>
      <div>I remember I tried to make it work from outside qgis
        (standalone) without success.<br>
        <br>
      </div>
      <div>What I would like to achieve is a CGI-style application which
        takes WMS-like parameters (like qgis-mapserver does) and a
        printcomposer template to generate a (vectorial) PDF.</div>
      <div><br clear="all">
        <br>
        -- <br>
        Alessandro Pasotti<br>
        w3:&nbsp;&nbsp; <a moz-do-not-send="true" href="http://www.itopen.it">www.itopen.it</a><br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>