tangogps : updating tiles ?

Robin Paulson robin.paulson at gmail.com
Fri Jul 24 12:25:01 CEST 2009

2009/7/21 Ed Kapitein <ed at kapitein.org>:
> 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.

this updates the tiles on the moko regardless of whether or not they
have been re-rendered, right?

very useful, yaouh won't update tiles from the NoName layer, so having
this is great

it was going very slowly, so i added a '-s' to the curl command, and i
think things go a lot quicker now. no feedback, of course

More information about the community mailing list