[Tilecache] TileCache tile storage questions

Xiaoyu Guan guanxiaoyu at gmail.com
Mon Jan 23 05:13:26 EST 2012


Hi Nguyễn,
Is it possible to share your python code? or Could you point out where
should we change the python script?

grt

Xiaoyu

2012/1/18 Nguyễn Hoàng Nam <hoangnamhumg at gmail.com>

> You should replace default pink tile by a blank tile
> Here is my example. The size of folder to storage tiles on disk is only:
>  3Gb --> http://112.213.86.71/irrigation
> 100 Mb --> http://112.213.86.71/dienbien
>
> We also apply this principle for our website: http://imap.com.vn/map
>
>
> 2012/1/18 Xiaoyuguan <guanxiaoyu at gmail.com>
>
>> 2. You can save your HDD by changing python code to storage only tiles
>> which have data.
>>
>>
>> Good idea. What will happen, if user do request to an extent which is no
>> data or sea? Will tilecache show pink tiles?
>>
>> Grt
>>
>> Xiaoyu
>>
>>
>>
>> Op 18 jan. 2012 om 03:25 heeft Nguyễn Hoàng Nam <hoangnamhumg at gmail.com>
>> het volgende geschreven:
>>
>> 2. You can save your HDD by changing python code to storage only tiles
>> which have data.
>>
>> On Wed, Jan 18, 2012 at 3:46 AM, Xiaoyuguan <guanxiaoyu at gmail.com> wrote:
>>
>>> Thanks for quick reply. It would be nice that someone can update the
>>> doc. And who can answer the following question. Otherwise, I have to dig
>>> into tilecache source code ...
>>>
>>>
>>> " I don't know if TileCache follows the same strategy as MapProxy
>>> regarding tiles with the same RGB (i.e. lake areas) as it reuses tiles
>>> permitting huge disk space savings."
>>>
>>>
>>>
>>> Grt
>>>
>>>
>>> Xiaoyu
>>>
>>>
>>> Op 17 jan. 2012 om 11:12 heeft Pedro Mendes <p.m.g.mendes at gmail.com>
>>> het volgende geschreven:
>>>
>>> I read tilesize doc v2.1. In the doc, it says tilecache support mbtiles
>>>> and amazon cloud storage.
>>>>
>>>
>>> You're right. Sorry, my bad. A cache persistent in MBTiles will not
>>> scale as well as other options. Theoretically, a sqlite db could be
>>> terabyte-sized (http://www.sqlite.org/features.html) but keep in mind
>>> that the access to the tiles would degraded just after a few gigabytes. I
>>> don't know if TileCache follows the same strategy as MapProxy regarding
>>> tiles with the same RGB (i.e. lake areas) as it reuses tiles
>>> permitting huge disk space savings.
>>>
>>>
>>> _______________________________________________
>>> Tilecache mailing list
>>> Tilecache at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/tilecache
>>>
>>>
>>
>


-- 
Xiaoyu Guan (Sam)
http://goo.gl/TpmBs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20120123/9e3c0bbc/attachment.html


More information about the Tilecache mailing list