<div dir="ltr"><div><div><div><div><div>Hi all,<br><br></div>Thanks Paolo for openining this topic. I would like to add some context around it. <br><br></div>* Anita has also a great repository to style OSM data : <a href="https://github.com/anitagraser/QGIS-resources/">https://github.com/anitagraser/QGIS-resources/</a><br>
<br></div>* The work I did in osm-in-qgis repo is based on OSM data from Geofabrik (on purpose, to facilitate the use for users). The styles in this repo are a proof of concept and really need improvements (and simplification when possible).<br>
</div><div>A quick link to see what it looks like : <a href="http://demo.lizmap.3liz.com/index.php/view/map/?repository=rep2&project=baselayer">http://demo.lizmap.3liz.com/index.php/view/map/?repository=rep2&project=baselayer</a><br>
</div><div><br></div>I agree with you that we should now base this kind of wokr on the "new" osm importer in QGIS. This could be a 4th step (1- download OSM data, 2- put them in a sqlite db , 3-extract some data into tables). We could think of a way to store more than one style and let the user choose one among those available. A little bit like the "Color Ramp Manager" let the user download and update color palettes.<br>
<br></div>Michael<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-07 Paolo Cavallini <span dir="ltr"><<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all.<br>
I think an automatic styling of freshly downloaded OSM data would be a<br>
big plus for QGIS, especially for courses (I do a lot of them all<br>
around, and it is always painful to customize them, and embarrassing to<br>
reuse data from my region).<br>
I know of two approaches to the problem:<br>
* <a href="https://github.com/3liz/osm-in-qgis" target="_blank">https://github.com/3liz/osm-in-qgis</a><br>
* Mayeul work e.g. on <a href="http://www.outdoormaps.org/simple_map.htm" target="_blank">http://www.outdoormaps.org/simple_map.htm</a><br>
I think with a minimal effort we could incorporate that in QGIS:<br>
* the user downloads the data from OSM and loads them into spatialite,<br>
with the new tool<br>
* he adds the styles (please note we have implemented a way to<br>
automatically store and load from spatialite).<br>
Could we smooth out the path for this, and add the above mentioned<br>
styles as default ones for QGIS?<br>
Could we document this as an early entry for the course material under<br>
preparation?<br>
All the best, and thanks.<br>
<span class="HOEnZb"><font color="#888888">--<br>
Paolo Cavallini - <a href="http://www.faunalia.eu" target="_blank">www.faunalia.eu</a><br>
QGIS & PostGIS courses: <a href="http://www.faunalia.eu/training.html" target="_blank">http://www.faunalia.eu/training.html</a><br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</font></span></blockquote></div><br></div>