[OSM-newbies] Downloading only updated tiles
Risto H. Kurppa
risto at kurppa.fi
Fri Aug 15 14:01:06 BST 2008
On Tue, Aug 12, 2008 at 1:58 PM, GeoJ <geoj at quantentunnel.de> wrote:
> Andy Allan wrote:
>> You can use the ETag HTTP header from the tiles to see if they have
>> been changed, so long as your application keeps track of them.
>
> Is the ETag mechanism better that the "LastModified" mechanism?
>
> IMHO for custom applications/scripts maintaining a etag database is very
> complicated therefore it is easier to just redownload a tile instead of
> dealing with the ETags...
>
> BTW: The tiles at home tiles server use the LastModified header and they
> support the IfModifiedSince header...
>
> GeoJ
There's now a python script that can now update the local files:
http://stetson.frozenhat.fi/~tpr/temp/osmupdater-20080814.tar.bz2
run: python osmupdater.py --help
r
--
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi
More information about the newbies
mailing list