<font color="#888888">Iván,<br><br></font>I evaluated the use of mapnik but I develop on Windows and setup it on that platform is not easy as on Unix/Linux. Also I develop in delphi, so I have do create the bindings by myself....<br>
I would like to use mapnik in my project as a replacement of my custom render but I have to transform the openstreet data in my own format (I use a relational version of the GDF) because I want not to add another db server. I should have to had a new datasource for mapnik and in order to do that I must be able to recompile it ;-) <br>
My application is a desktop application and my customer have to produce some reports for the local area government in order to plan alternative path in case of hazard in the highway. The deployment term in near so I have no time to try the direct use of mapnk.<br>
<br>The actual solution works but it is not rapid as I would like ( I have to wait for 30 seconds in order to get an a3 bitmap).<br><br>Have you experience of mapnik on windows?<br><br>Regards,<br>Stefano<br><br><br><br><div class="gmail_quote">
2010/6/11 Iván Sánchez Ortega <span dir="ltr"><<a href="mailto:ivan@sanchezortega.es">ivan@sanchezortega.es</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
El día Thursday 10 June 2010 09:49:01, Stefano Moratto dijo:<br>
<div class="im">> I use GDAL to download tiles (jpeg) from OpenstreetMap and to compose a<br>
> bitmap of the area that is being viewed. The resulting bitmap (not<br>
> compressed) is warped and displayed.<br>
<br>
</div>Hhhhmmm. Personally, I think you're doing it wrong.<br>
<br>
If you really need speed for custom reprojections of OSM data, the best thing<br>
to do is to render the data locally with Mapnik. i.e.:<br>
<br>
- Download a planet file<br>
- Put it in PostGIS via osm2pgsql<br>
- Configure Mapnik to use the projection you need<br>
- Use Mapnik to get the desired area rendered<br>
<br>
You might incur in a speed penalty due to the rendering itself, but you<br>
guarantee that there will be no artifacts due to the image warping.<br>
<br>
And also, you might get a boost by reprojecting the vector data inside PostGIS<br>
so Mapnik doesn't have to reproject it on-the-fly.<br>
<br>
<br>
I realise that setting Mapnik is quite a lot of work at first, but it's an<br>
idea that is worth considering in your case.<br>
<br>
<br>
Cheers,<br>
<font color="#888888">--<br>
Iván Sánchez Ortega <<a href="mailto:ivan@sanchezortega.es">ivan@sanchezortega.es</a>><br>
<br>
Un ordenador no es una televisión ni un microondas: es una herramienta<br>
compleja.<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Dr.Eng. Stefano Moratto<br><a href="mailto:stefano.moratto@gmail.com">stefano.moratto@gmail.com</a><br><a href="mailto:stefano.moratto@csiat.it">stefano.moratto@csiat.it</a><br>
<a href="http://www.csiat.it">http://www.csiat.it</a> - Traffic Optimization Software<br>