TristanZS / gmapcatcher

Automatically exported from code.google.com/p/gmapcatcher
0 stars 0 forks source link

Download operation don't update the existing tiles #390

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello

What steps will reproduce the problem?
 1. Downloading tiles (for example Virtual Earth Sat) using "Operations" "Download" for a defined area
 2. The tiles that were already downloaded in the past don't update
 3. Problem occurs with all combinations of ticks in the boxes "Offline" and "Force update"

What is the expected output? What do you see instead?
After downloading the tiles from an area for a range of zoom levels, I expect 
to see the updated tiles when I use the map offline on all the zoom levels 
downloaded.
Instead, the tiles that existed before are not updated: I see the old tiles.

What version of the product are you using? On what operating system?
GMapCatcher v 0.8.0.5
Windows XP SP3

Please provide any additional information below.
Some map services do update their tiles. For example, Virtual Earth Satellite 
has been updating their maps on most zoom levels.
When screening the map on line using the "Force update" option , the tiles do 
update, but of course only for the zoom level being viewed and for the tiles 
included in the area being viewed on screen.
I want to update the tiles on a larger area, for a range of zoom levels, so I 
don't have to screen through the map on all different zoom levels to update the 
tiles (it is possible but very time consuming and impractical). To do that I 
have tried to download the tiles for the area using the "Operations" "Download" 
menu. I was expecting to see the updated tiles, but instead I see the old ones. 
I tried the different combinations of "Offline" and "Force update" without 
success.
Tiles that didn't exist before are downloaded as expected, so no actual 
download issue there.
The problem is that the tiles that exist don't get updated during the download 
even when using the "Force update" option before starting the download (the 
tiles on the zoom level viewed on screen are updated as soon as the "Force 
update" option is selected, but the tiles of the other zoom levels selected for 
download are not updated after download).
The attached pictures show:
- 1: An area before update, zoom level 2. Some tiles are missing and the tiles 
on the upper side are old tiles (yellowish color).
- 2: Area centered on the previous area, zoom level 3. Some tiles are missing 
and the tiles on the upper left corner are old tiles (yellowish color).
- 3: Same area than picture 2. Changing the options to be online and "Force 
update". Missing tiles appear. Old tiles are updated.
- 4: Same area than pictures 2 and 3. Online and "Force update" selected. 
Launching the operation download on the area shown on screen for zoom levels 2 
and 3. After download, "Offline" selected and "Force update" deselected.
- 5: Same area than picture 1. The missing tiles were downloaded. But the old 
tiles have not been updated.

Thanks and regards

Original issue reported on code.google.com by alfonic...@gmail.com on 13 Aug 2013 at 2:32

Attachments:

GoogleCodeExporter commented 9 years ago
I just tested this, it worked just fine when checking the "Force update".
The Force update depends on the date of the map tiles, by default anything 
older than 1 day will be replaced.

Original comment by heldersepu on 13 Aug 2013 at 2:48

GoogleCodeExporter commented 9 years ago
I think I was a bit to fast on discarding this issue, I was able to reproduce 
it after some more testing...

Original comment by heldersepu on 13 Aug 2013 at 2:52

GoogleCodeExporter commented 9 years ago
I think I found the problem:
http://code.google.com/p/gmapcatcher/source/browse/trunk/gmapcatcher/widgets/DLW
indow.py#190
Calling the bulk_download with the force_update hardcoded to False

Original comment by heldersepu on 15 Aug 2013 at 7:37

GoogleCodeExporter commented 9 years ago
Fix added to trunk, see r1594

Original comment by heldersepu on 15 Aug 2013 at 7:55

GoogleCodeExporter commented 9 years ago

Original comment by heldersepu on 15 Aug 2013 at 7:56