[Qgis-developer] Is it possible to re-use print composer code
to build a web service ?
Andreas Neumann
a.neumann at carto.net
Mon Dec 20 15:50:01 EST 2010
Hi Allesandro,
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.
If you can wait until next year (probably mid to end of January) it will
be part of QGIS mapserver.
So no need to work on it in parallel - unless you have something else in
mind.
Andreas
>
>
> Thanks Martin,
>
> I have already found your example, but it is for a plugin, isn't it ?
>
> I remember I tried to make it work from outside qgis (standalone)
> without success.
>
> 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.
>
>
> --
> Alessandro Pasotti
> w3: www.itopen.it <http://www.itopen.it>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20101220/30040adb/attachment.html
More information about the Qgis-developer
mailing list