tangogps : updating tiles ?

William Kenworthy billk at iinet.net.au
Fri Jul 24 07:48:07 CEST 2009


Is there any advantage (to the server) of using curl? - is there a
reason why openstreetmap would ban one and not the other (or is it just
someone(s) using wget beating up their server?

BillK


On Fri, 2009-07-24 at 12:25 +0700, Alejandro Sáiz wrote:
>         It might be as easy as this:
>         
>         for TILE in `find /path/to/tiles -type f`; do
>          echo "${TILE}"
>          FILE=`basename "${TILE}"`
>          L1=`dirname "${TILE}" | gawk -F"/" '{ print $NF}'`
>          L2=`dirname "${TILE}" | gawk -F"/" '{ print $(NF-1)}'`
>          curl --output "${TILE}"
>         http://tile.openstreetmap.org/"${L2}"/"${L1}"/"${FILE}"
>         done
>         
>         curl and http are on the same line, you mail program might
>         split in over
>         two lines.
>         
>         Kind regards,
>         Ed
>         
> For some reason I don't understand, all my stored map tiles suddenly
> appeared upside down (rotated 180 degrees) in tangogps, while newly
> downloaded tiles showed correctly. Yaouh didn't seem to correct that
> problem, so I found Ed's script very useful to substitute all the
> stored tiles with fresh versions from osm.org. Thanks Ed.
> Alex 
> 
> 
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
-- 
William Kenworthy <billk at iinet.net.au>
Home in Perth!




More information about the community mailing list