Opened 14 years ago
Last modified 13 years ago
#2600 new bug
OSM plugin: layers in temp folders and qgis messages when opening a project that includes osm data
Reported by: | lutra | Owned by: | wonder |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.7.0 |
Component: | Python plugins and bindings | Version: | Trunk |
Keywords: | Cc: | mayeulk | |
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
When you add to a project OSM data, the osm files are placed in tmp/temp folders. If you save the project and reopen it (on both linux and windows), causes qgis to ask about the missing layers.
If the osm layers are placed in tmp/temp folders on purpose then they should not be saved into the project file. If not, then it should be asked where to save the osm data when downloading it.
I would obviously prefer the second option... :)
cheers
Change History (3)
comment:1 by , 14 years ago
Milestone: | Version 1.5.0 → Version 1.6.0 |
---|
comment:2 by , 13 years ago
Cc: | added |
---|
comment:3 by , 13 years ago
Note:
See TracTickets
for help on using tickets.
Lutra,
I think now there is only the second part of the bug left.
In current dev version (qgis 1.7.0 r14978) the default is still a temp file, see:
http://trac.osgeo.org/qgis/browser/trunk/qgis/python/plugins/osm/OsmDownloadDlg.py?rev=14131#L312
However, a dialog offers you to change the path to save your osm data, and it works.
The problem still exist when you save the qgis project and want to reopen it. For instance, it will try to open the fowllowing file but does not know how to handle it:
/home/myaccount/maps/download.osm?type=line&tag=name&style=/usr/share/qgis/python/plugins/osm/styles/small_scale.style
For another pholosophy on OSM rendering, have a look at #3222