[Xastir] map caching

Dan Brown brown at brauhausdc.org
Wed Jan 5 09:17:42 EST 2005


On Wed, 5 Jan 2005, Curt Mills wrote:
> On Tue, 4 Jan 2005, ke4lkq wrote:
>
>> I wish it worked that way....  Eveytime I zoom to a different level and then
>> use the "last zoom level"  feature, it says in the lower left hand pane.. "
>> Map not found in cache....proceeds to download a new map and then I have
>> multiple maps of the same thing in .xastir/map_cache with different time
>> stamps, and that is all I can see that is different about them...  In fact I
>> have never seen xastir reload from map_cache no matter what I try...
>
> How are you zooming?  Using the mouse, or using the pageup/pagedown
> keys?
>
> If you change the map center or the zoom level, the URL to fetch the
> Tigermap can change.  If you hit upon the same URL again, you get
> the cached map.  Try zooming with the keys and leaving the map
> center the same and you should see cache hits happen.

To check that you're going back to the same map, you can turn on debugging
and watch for the url and compare them. For example:

xastir -v 512 2>&1 |grep map_cache


--
Dan Brown 
brown at brauhausdc.org



More information about the Xastir mailing list