tangxiaodao / gmapcatcher

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

The tiles in jpg format are saved incorrectly with extension .png #341

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
"tilesRepoFS.py"

    def coord_to_path(self, tile_coord, layer):
    def coord_to_path_checkdirs(self, tile_coord, layer):

Ignores the original format of the tiles and incorrectly renaming all to .png

Original issue reported on code.google.com by jmiob...@gmail.com on 8 Oct 2012 at 1:02

GoogleCodeExporter commented 8 years ago
For the purpose of this application the extensions are irrelevant,  We do not 
use extensions to identify file type of the map tile.
The map tiles could be .png .mgm or .whatever 
As long as the content of the map tile is an image

Original comment by heldersepu on 8 Oct 2012 at 1:28

GoogleCodeExporter commented 8 years ago
Those who only use GMapCatcher to download tiles that be used in another 
application is forced to rename all tiles.

Original comment by jmiob...@gmail.com on 8 Oct 2012 at 10:18