2016年04月のメモ帳


2016/04/30

#1 Garmin地図の変換設定ファイル修正(1)

まだ途中なんだけど、4月分のネタを埋めるためだけに記事作成。

いつもの地図変換スクリプトを走らせると、何やらエラーログが出てるっぽい。

Time started: Mon Apr 25 22:55:09 JST 2016
重大 (StyledConverter): 63310003.osm.pbf.roman: At least one 'lines' rule in the style contains the expression mkgmap:dest_hint=true, it should be changed to mkgmap:dest_hint=*
重大 (StyledConverter): 63310002.osm.pbf.roman: At least one 'lines' rule in the style contains the expression mkgmap:dest_hint=true, it should be changed to mkgmap:dest_hint=*
重大 (StyledConverter): 63310004.osm.pbf.roman: At least one 'lines' rule in the style contains the expression mkgmap:dest_hint=true, it should be changed to mkgmap:dest_hint=*

ファイル名が順番じゃないのはマルチスレッドで順序が入れ替わってるだけで、全ファイルで警告が出てる模様。前回公開分の変換時からmkgmapも更新してないので、公開済みのも警告が出た状態で公開してるらしい。mkgmapの最近の変更を見ても直接的な原因に結びつきそうな記載はないし、styleファイルをデフォルトのに差し替えるしかないと判断。現状のはr2934ベースをカスタマイズしたようなので、差分を抽出し、最新版(r3676)にマージしていく。ただ、デフォルトの記載もかなり変わっておりマージは困難。必要性の分からない差分は諦めることにして。今日のところは作業中。


count: [an error occurred while processing this directive]