<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 10, 2015 at 4:56 AM, Luca Delucchi <span dir="ltr"><<a href="mailto:lucadeluge@gmail.com" target="_blank">lucadeluge@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 10 March 2015 at 09:47, Martin Landa <<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>> wrote:<br>
> Hi Adam,<br>
><br>
<br>
Hi Martin,<br>
<span class=""><br>
> 2015-03-09 15:37 GMT+01:00 Adam Laža <<a href="mailto:ad.laza32@gmail.com">ad.laza32@gmail.com</a>>:<br>
>> I study geoinformatics at CTU in Prague and I get interested in some of your<br>
>> topics for GSoC. I have basic knowledge in C/C++ and I've already written<br>
>> some code in Python for GRASS Add-Ons.<br>
>> I'd like to focus on Mapnik engine, actual display drivers and graphic<br>
>> outputs.<br>
><br>
> great! The proposal on the wiki [1] is somehow focused on writing<br>
> alternative rendering engine for ps.map [2] which is currently used by<br>
> wxGUI Cartographic Composer [3]. It would be probably a good idea also<br>
> to investigate whether would be possible to write a new GRASS display<br>
> driver [4] based on Mapnik libraries. In other words replacement for<br>
> Cairo [5] driver focused on cartographic outputs. Such driver would be<br>
> written in C and would require C-API for Mapnik, I found something on<br>
> [6], but I am not sure if it would be possible to use.<br>
><br>
<br>
</span>Good Idea to create a new driver based on Mapnik ;-)<br>
I never heard about the C-API for Mapnik but they should be useful. I<br>
could ask to Dane what is the stability of the C-API.<br>
Is there any way to write the driver in Python (the Mapnik Python API<br>
are probably more stable, used and tested than the C-API)<br>
<br></blockquote><div><br></div><div>Adam, Luca and Martin, I agree that the cartography in GRASS GIS is limited and I always like the idea of using another project to do the hard work for us. However, as I see the discussion here, I would recommend you to be more specific about the advantages, disadvantages and possible implementation of this proposal.<br><br></div><div>For the idea itself, how it would work with Mapnik dependency once it is implemented especially if the dependency would be through C API? What are the chances that it will be actually used. I have in my mind that there are still problems with Cairo on MS Windows and until recently one had to often use PNG driver on MS Windows.<br><br></div><div>Speaking about ps.map + Cartographic Composer versus display drivers + Map Display, I prefer the latter and I think we should specify our priorities. If I need to start another application (or window), I can also start, for cartography purposes, completely different application such as QGIS. Then GRASS-QGIS connection is the think which should be improved.<br></div><div><br></div><div>QGIS map composer also has Python API if I remember correctly and it is highly probable that one has both GRASS GIS and QGIS installed.<br></div><div><br></div><div>It is not out of interest that there was a Mapnik plugin for QGIS [1] but it is no longer maintained [2] (ended before version 2.0 [3]).<br></div><div><br></div><div>Adam, you should also notice not only that more students can apply for one project (idea) but also that one student can submit multiple applications for different projects.<br></div><div><br></div><div>Best,<br></div><div>Vaclav<br></div><div><br>[1] <a href="http://plugins.qgis.org/plugins/quantumnik/">http://plugins.qgis.org/plugins/quantumnik/</a><br>[2] <a href="https://github.com/springmeyer/quantumnik/commits/master">https://github.com/springmeyer/quantumnik/commits/master</a><br>[3] <a href="http://plugins.qgis.org/plugins/quantumnik/version/0.4.1/">http://plugins.qgis.org/plugins/quantumnik/version/0.4.1/</a><br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> Martin<br>
<span class="im">><br>
<br>
<br>
--<br>
ciao<br>
Luca<br>
<br>
<a href="http://gis.cri.fmach.it/delucchi/" target="_blank">http://gis.cri.fmach.it/delucchi/</a><br>
<a href="http://www.lucadelu.org" target="_blank">www.lucadelu.org</a><br>
</span><div class=""><div class="h5">_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a></div></div></blockquote></div><br></div></div>