<div dir="ltr"><div><div><div><div>Martin, the InitSpatialMetadat() error is gone, and things are working quite nicely.<br><br></div>For the record, this new OSM support fixed a very irritating bug from the old implementation: closed way roundabouts are imported as lines! Big bonus.<br>
<br></div>Playing around with it, I was wondering whether - for the sake of offering a better user experience - the import topology from XML and export topology to spatialite  should be merged into one action. Realistically, my guess is very few QGIS users will want to _only_ do an import to topology step. Merging both into one would simplify things for the average Joe.<br>
<br></div>In that regard, it might also be good to offer (via a checkbox?) to automatically load the resulting spatialite line / polygon db into the active project. <br><br></div>Beyond that, it's working like a charm.<br>
<br>M<br><div><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 1, 2013 at 2:25 PM, Martin Dobias <span dir="ltr"><<a href="mailto:wonder.sk@gmail.com" target="_blank">wonder.sk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, Mar 1, 2013 at 5:45 AM, Mathieu Pellerin <<a href="mailto:nirvn.asia@gmail.com">nirvn.asia@gmail.com</a>> wrote:<br>

> Martin,<br>
><br>
> Nice, glad the OSM download/import support is being worked on.<br>
><br>
> I've just tried to import two OSM files: one which I had saved through JOSM,<br>
> and the other one downloaded just now via your Download OSM Data dialogue.<br>
> With both files, QGIS fails to import data with this error:<br>
><br>
> Failed to import OSM data:<br>
><br>
> Error executing SQL command:<br>
><br>
> wrong number of arguments to function InitSpatialMetadata()<br>
><br>
> SQL:<br>
><br>
> SELECT InitSpatialMetadata('WGS84')<br>
<br>
</div>That's presumably the problem Borys had - should be fixed in master now.<br>
<span class="HOEnZb"><font color="#888888"><br>
Martin<br>
</font></span></blockquote></div><br></div>