Caching Sea Tiles

Topics: Feature Requests
Mar 6, 2011 at 8:01 PM

Is there a way to detect sea tiles so when caching eg: whole of the UK it can skip the empty tiles ?

Maybe have a flag as no tile needed to save db space ?



Mar 6, 2011 at 8:50 PM

well, current implementation uses rectangle based area, i guess we need more accurate area selection

Mar 6, 2011 at 8:54 PM

If the caching could detect "SEA" or blank tile - maybe by size and then not store binary data ? a flag instead.

Mar 6, 2011 at 9:54 PM
maybe by the size, should be much smaller 
Mar 6, 2011 at 9:59 PM

Would still need to store a blank entry so you know that it has been cached in the database and then possibly return an image from my resources instead ?

Mar 6, 2011 at 10:04 PM
Edited Mar 6, 2011 at 10:06 PM

are you trying to 'save' space ;} 'empty' tiles are only < 1KB

Mar 6, 2011 at 10:09 PM

I want to cache the uk for offline mobile usage but so far just zoom 12 on open street maps is 175Mb

Mar 6, 2011 at 11:02 PM
my cache is ~1GB but with few levels, i doubt you will save much by removing small tiles, 1KB * 10000 sea tiles = only 10MB