HackMD
    • Sharing Link copied
    • /edit
    • View mode
      • Edit mode
      • View mode
      • Book mode
      • Slide mode
      Edit mode View mode Book mode Slide mode
    • Note Permission
    • Read
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • Write
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • More (Comment, Invitee)
    • Publishing
    • Commenting Enable
      Disabled Forbidden Owners Signed-in users Everyone
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Invitee
    • No invitee
    • Options
    • Versions
    • Transfer ownership
    • Delete this note
    • Template
    • Save as template
    • Insert from template
    • Export
    • Google Drive Export to Google Drive
    • Gist
    • Import
    • Google Drive Import from Google Drive
    • Gist
    • Clipboard
    • Download
    • Markdown
    • HTML
    • Raw HTML
Menu Sharing Help
Menu
Options
Versions Transfer ownership Delete this note
Export
Google Drive Export to Google Drive Gist
Import
Google Drive Import from Google Drive Gist Clipboard
Download
Markdown HTML Raw HTML
Back
Sharing
Sharing Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
More (Comment, Invitee)
Publishing
More (Comment, Invitee)
Commenting Enable
Disabled Forbidden Owners Signed-in users Everyone
Permission
Owners
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Invitee
No invitee
   owned this note    owned this note      
Published Linked with
Like BookmarkBookmarked
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# 護樹開開放資料協作地圖 ## 緣起 [樹下沒有陰影:揭開城市樹木修剪的隱憂](https://www.canva.com/design/DAGpomHu6do/w8b6bIKu0TZP4CxoTnYKtA/edit?utm_content=DAGpomHu6do&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton) ## 使用者體驗流程 - 手機mobile UI為主 圖文說明: [我有一棵樹P37-P91](https://www-ws.gov.taipei/Download.ashx?u=LzAwMS9VcGxvYWQvNjg2L3JlbGZpbGUvNTU0MzcvODMzODI5MC9lZmJhODgwNC1hM2NiLTRjN2EtODZkMC1iNjg4N2Q4ZDhlMGIucGRm&n=5qqU5qGIMS5wZGY%3d&icon=..pdf) 操作: 1. 看到被不當修剪的樹 2. 可以拍照、定位(使用GPS定位功能)、上傳資料庫 3. 提供樹木修剪、問題環境的選項 4. 可能染病的圖片參考介紹 ## 類似專案 ### 無麩質餐廳地圖 介面初稿:https://gf-tw.pages.dev/ 原始碼: https://github.com/bestian/gf-tw (差異點:需要上傳圖, 故比較適合用cloudFlare R2 + D1) ## 目前使用者流程與資料集中點 ### facebook護樹的爆料公社 [facebook護樹的爆料公社](https://www.facebook.com/groups/treefighter/?locale=zh_TW) 問題點:facebook沒有開放API,資料難以直接抓取 ## 另開資料集中點 工程架構: ## 1. **Cloudflare R2 + D1** (自建 API) > 適合熟悉 Cloudflare Workers、希望長期擴展的專案。 | 項目 | 說明 | | ---------- | ------------------------------------------------------- | | **文字資料** | 存在 **Cloudflare D1** (SQLite-based serverless DB)。 | | **圖片檔案** | 存在 **Cloudflare R2** (S3 相容 Object Storage)。 | | **API 介面** | 自己寫 Cloudflare Worker 提供 JSON API,例如: `/api/posts` | | **成本** | R2 免費 10 GB / 月傳輸,100,000 次操作/月;D1 免費 5M rows。 | | **難度** | **中高**:需要自己寫 Worker,處理認證、API 規格、R2 簽名網址(presigned URL)。 | **優點** * 免費額度夠中小型專案使用。 * 整合度高:同一個 Cloudflare 帳號完成。 * Workers 可做 serverless API,擴充空間大。 **缺點** * **必須自己寫後端程式**。 * 前期設定比較複雜,尤其是圖片上傳(R2 簽名 URL 流程)。 **簡單架構** ``` 前端(Vue) <--> Worker API <--> D1 (文字) <--> R2 (圖片) ``` --- ## 開源專案 前端專案(開發中): https://github.com/vneverz/streettrees_frontend 後端專案(開發中): https://github.com/vneverz/streettrees-backend --- ## 人力需求: 1. 前端工程(Vue) 2. 後端工程(cloudFlare R2+D1) --- ## 說明文件: 1. VueJS: https://vuejs.org/ 2. cloudFlare: https://www.cloudflare.com/zh-tw/ ## 路由 GET&POST https://streettrees-backend.vneverz.workers.dev/trees

Import from clipboard

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lost their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.


Upgrade

All
  • All
  • Team
No template.

Create a template


Upgrade

Delete template

Do you really want to delete this template?

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

Sign in via GitHub

New to HackMD? Sign up

Help

  • English
  • 中文
  • 日本語

Documents

Tutorials

Book Mode Tutorial

Slide Example

YAML Metadata

Resources

Releases

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions

Versions

Upgrade now

Version named by    

More Less
  • Edit
  • Delete

Note content is identical to the latest version.
Compare with
    Choose a version
    No search result
    Version not found

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.