2009/7/21 Ed Kapitein <e...@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

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to