[Qgis-developer] QGIS OSM import

dkiselev at osm.me dkiselev at osm.me
Fri Apr 17 02:10:22 PDT 2015


Hi everyone.

There is a great tool in QGIS - import/export OSM data from SpatiaLlite DB.

But there is the one inconvenience:
I can't save layers generation script. 

What I mean. 
When you make Export, QGIS will create new table and layer with selected OSM objects tags and selected geometry type.
And I want to get those queries for creation of these layers and tables to be saved with QGIS project.

Now you have to provide instructions how to create layers witch tags to load and what styles to apply if you want to share project based on OSM data.
Or use one dataset in your projects. And having a script for tables will allows you to open project, add newly converted SpatialLite db with OSM data for yours area of interest. 
Run tables/layers creation script from QGIS project and get a new area with old saved layers.

It've tryed to made this feature by my self but I'm a new one in QGIS development and I fails to find where OSM SpatialLite layers are created. 
So I'll be very thankfull if sombody is interested in this feature or may give me a few datails where I could find layers metadata save/load and OSM to/from SpatiaLite conversion API.

Best regards, Dmitry.


More information about the Qgis-developer mailing list