owned this note changed 5 years ago
Linked with GitHub

離線圖資 DIY

歡迎來到 https://hackmd.io/c/COSCUP2018 共筆

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

點擊本頁上方的 開始用 Markdown 一起寫筆記!
手機版請點選上方 按鈕展開議程列表。

請從這裡開始

https://github.com/OsmHackTW/sync-osmtw

必備工具

  • Docker
  • Osmosis 0.45
  • GDAL 0.45
  • Mapsforge 0.8.0

原始資料

  • 開放皆圖
  • 海岸線輪廓

mapsforge

地雷

  • Alpine > GDAL 裝失敗
  • 沒用 Alpine 還是可能失敗
  • 建議用 Ubuntu

步驟

  • 自動抓最新海岸線
  • shp2osm.py 將海岸線轉為osm 格式
  • 自動抓台灣最新 OSM 局部圖資
  • 海岸線輪廓 和局部圖資合併後轉檔
  • 排進 crontab
tags: COSCUP2018 `gis

`

Select a repo