[Talk-TW] 答复: 答复: 答复: 答复: 答复: 答复: 答复: 地圖中文字亂碼的问题

Rex Tsai rex.cc.tsai於gmail.com
Thu 3月 20 05:16:26 UTC 2014


here you go

$ sudo su - www-data -c /bin/bash
www-data$ renderd -f

-Rex


Jacarri Chan <jacarrichan at live.com> 於 2014年3月20日 上午8:34 寫道:

> 我首先把系統給reboot了,發現還不行,然後apache&renderd重啟了,仍然不行,我懷疑是renderd服務沒有許可權寫
> /var/lib/mod_tile/default目錄,但改成777許可權並且重啟後還是不能生成png圖片,要是能看到renderd
> 的調試日誌就好了。
>
>
>
>
>
>
>
>  ============================================================
>
> Jacarri Chan(陈健)
>
> Tel:15827340360
>
> ============================================================
>
>
>
> *发件人:* Rex Tsai [mailto:rex.cc.tsai at gmail.com]
> *发送时间:* 2014年3月20日 2:13
> *收件人:* Jacarri Chan
> *抄送:* OSM Taiwan
> *主题:* Re: 答复: 答复: [Talk-TW] 答复: 答复: 答复: 答复: 地圖中文字亂碼的问题
>
>
>
> 刪了之後要重新跑 apache&renderd or just reboot.
>
> -Rex
>
>
>
> Jacarri Chan <jacarrichan at live.com> 於 2014年3月19日 下午6:03 寫道:
>
>          當我執行最後一個刪除緩存操作後,一些檔找不到了,怎麼樣才能重新生成這些檔啊?
>
>
>
> 下圖的右邊是我從apache的error.log日誌中看到的
>
>  ============================================================
>
> Jacarri Chan
>
> ============================================================
>
>
>
> *发件人:* Rex Tsai [mailto:rex.cc.tsai at gmail.com]
>
> *发送时间:* 2014年3月19日 17:37
>
> *收件人:* Jacarri Chan
> *抄送:* OSM Taiwan
>
> *主题:* Re: 答复: [Talk-TW] 答复: 答复: 答复: 答复: 地圖中文字亂碼的问题
>
>
>
>
> 修改的部份,稍早都已經回應了
>
> 1. 改 cascadenik xml - font config
> /etc/mapnik-osm-data/inc/fontset-settings.xml.inc
>
> <FontSet name="book-fonts">
>   <Font face-name="DejaVu Sans Book" />
>   <Font face-name="unifont Medium" />
> </FontSet>
>
> 2. 改 /etc/renderd.conf
> [mapnik]
> plugins_dir=/usr/lib/mapnik/2.0/input
> # font_dir=/usr/share/fonts/truetype/ttf-dejavu # 預設
> font_dir=/usr/share/fonts/truetype
> font_dir_recurse=true
>
> 3. 砍掉 mod_tile/renderd cache 重練
> sudo rm -rf /var/lib/mod_tile/default/*
>
> Cheers
>
> -Rex
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-tw/attachments/20140320/30d5a7a3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 417503 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk-tw/attachments/20140320/30d5a7a3/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 403877 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk-tw/attachments/20140320/30d5a7a3/attachment-0003.png>


More information about the Talk-TW mailing list