2019年3月18日 星期一

LESSON-002 2019-03-19


Unit 1 Python Console

1.1 QGIS Python Console
1.2 QGIS Python Edit
1.3 Install Thrid-party Python Modules
      run command mode as administrator
      cd OSGeo4W64\apps\Python37
      python -m pip install (3d-Module)

Unit 2 Python Script
2.1 python indent
2.2 import module
2.3 for loop
2.4 if condition

Unit 3 Pandas (Python module)
3.1 read excel
3.2 access
3.3 write to excel/SpatiaLite

課程範例檔案(下載專區)

這個範例,是以中央氣象局的 地震公告資料為範例。
向大家說明如何利用 python 自動讀取網頁的資料。
如何轉換成 EXECEL存檔。
是的,不用60行的程式碼。

  • 就可以自動從網站下載。
  • 存檔。 
  • 轉換格式。
  • 轉存成EXCEL。
  • 再加上使用者的簡易計算。 請參考。

明日參與的夥伴 需要攜帶notebook pc /系統內安裝 qgis(osgeo4w64) (vs2017community) 及自行下載本範例檔案。
其他範例檔案(下載專區)


沒有留言: