Hi list !<br><br>I&#39;ve just submitted a new python plugin to the GeoWeb 2008 student contest. (see <a href="http://www.geoweb.org" target="_blank">http://www.geoweb.org</a> for details)<br>It is called OGR2Layers and enables QGIS user to export active OGR layers to an html OpenLayers map with KML(s) overlay(s).<br>

It&#39;s really cool for &quot;small&quot; layers as javascript can&#39;t load too big KML yet. But big generated KML can be load in Google Earth !<br><br>It&#39;s still in early stage of development and the OGR to KML conversion is done using a QgsCoordinateTransform and a &quot;hard-coded&quot; ogr2ogr commands loop.I already had some bug tickets from friends about the KML generation (only header written, so the OL map crashes), but that works on windows XP ( with latest FWTools installed and its path added in the user variables ). I didn&#39;t try it on Linux yet.<br>

<br>I really had to speed for the contest deadline so the plugin won&#39;t work on every plateform yet, i think. This is just &quot;speed programming&quot; around an useful idea to generate web maps, but it could be really improved by the community.<br>

I&#39;m really thinking about generating KML from python&nbsp; (writting the features geometries in it), instead of calling OGR (from qgis root dir or from fwtools)<br>This way the plugin would be more robust and cross-plateform. If it turn out to be usefull, i&#39;m also thinking about improve the OpenLayers configuration tab.<br>
<br>
Go to <a href="http://www.ogr2layers.org" target="_blank">http://www.ogr2layers.org</a> to download<br>Any help and returns really appreciated !<br><br>Bye<br><br>PikO<br><br><br><br><br>