Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

觀測站發生 name collision #14

Open
yllan opened this issue Aug 22, 2013 · 3 comments
Open

觀測站發生 name collision #14

yllan opened this issue Aug 22, 2013 · 3 comments

Comments

@yllan
Copy link
Contributor

yllan commented Aug 22, 2013

https://github.com/g0v/twgeojson/blob/gh-pages/stations.json

  • "大坑" 有兩個,ID 也相同,但座標不同。
  • "東河" 也是同樣的狀況。

這邊 @clkao 說可能要用觀測站 ID,不過觀測站有些沒有 ID。

也許可以手動加規則處理 script,變成 "台南東河" 和 "台東東河",這樣前端程式就不用改了 XD

@clkao
Copy link
Member

clkao commented Aug 22, 2013

@yllan
Copy link
Contributor Author

yllan commented Aug 23, 2013

目前的問題:

  1. 經、緯度、海拔都一樣,應該可以視為同一個測站,但居然有兩筆不同的 ID。例如 C1O84 和 C0O84 台南市六甲區的 王爺宮
  2. 經緯度一樣,海拔不一樣,例如 C0G62 和 C1G62 的彰化縣芬園鄉的 芬園
  3. 經緯度海拔都不同,但都屬同一縣市,例如 C0A53、L1A83 和 01A17 的新北市坪林區的 坪林

其中 1 也許可以直接 merge,但 2, 3 卻無法用本來 proposed 的「加縣市 prefix」來區別。

yllan added a commit that referenced this issue Aug 23, 2013
至少現在 ID 不會重複了,加入欄位 county(縣市) 和 district(鄉鎮)。

[{
  "altitude": "2568",
  "name": "丹大",
  "latitude": "23.7556",
  "longitude": "121.1328",
  "county": "南投縣",
  "id": "C1I05",
  "district": "信義鄉"
}]
@clkao
Copy link
Member

clkao commented Aug 23, 2013

測站的資料非常混亂。就我了解,氣象局有氣象站跟自動測站兩種。然後單一站點可能會改版(在 id 第六位數字)
另外還有水保局的。所以其實那時候沒有完全整理完。

之後有其他更新的話也 comment 到 http://data.g0v.tw/questions/174

yllan referenced this issue in g0v/env.g0v.tw Feb 11, 2014
至少現在 ID 不會重複了,加入欄位 county(縣市) 和 district(鄉鎮)。

[{
  "altitude": "2568",
  "name": "丹大",
  "latitude": "23.7556",
  "longitude": "121.1328",
  "county": "南投縣",
  "id": "C1I05",
  "district": "信義鄉"
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants