[OSM-dev] Online/offline slippy map finished.
Nick Black
nickblack1 at gmail.com
Fri May 9 14:03:45 BST 2008
Cool - its all working now.
Is there any cache expiry for tiles or is it a case of deleting the
tile directory?
Cheers,
On Fri, May 9, 2008 at 1:01 PM, Sebastian Spaeth <Sebastian at sspaeth.de> wrote:
> Nick Black wrote:
>> Great idea - this could be really useful.
>>
>> I get lots of errors running on OS X 10.5.2 though:
>
>> File "./pymap", line 47, in do_GET
>> if e.errno == os.errno.ENOENT:
>> AttributeError: 'module' object has no attribute 'errno'
>> ----------------------------------------
>
> I guess this should work on all (unixy) OS then:
>
> -import urllib,re,os,sys,stat
> +import urllib,re,os,sys,stat,errno
> - if e.errno != os.errno.EEXIST
> + if e.errno != errno.EEXIST
> - if e.errno == os.errno.ENOENT
> + if e.errno == errno.ENOENT
>
>
> I updated the tar ball on dev.openstreetmap.org as well.
>
> spaetz
>
--
Nick Black
--------------------------------
http://www.blacksworld.net
More information about the dev
mailing list