[Talk-TW] Admin boundary
李昕迪 Lee, Sin-di
mcdlee at gmail.com
Mon Apr 9 15:05:31 BST 2012
Dear mappers:
我最近正在處理高雄市「區」的行政區域,資料來源是運研所 [1] 的,比台灣地理資訊中心提供的 [2] 還多一些細節。
透過 QGIS 將座標由 TWD97 轉成 WGS84,再存成 shp檔。JOSM 加上 Opendata plugin [3] 可以開啟
shp 檔,便可以依此描圖。
Tagging 的部分,依據 OSM wiki [4] 的建議:
「Ways for borders will then only have boundary=administrative and the
admin_level=* for the highest border (when a country, state, county
are on the same way the admin_level would be 2). Old direction
dependent tags like name:left=* / name:right=* can be removed.」
所以 ways 的部份我只有標 boundary = administrative 和 admin_level = 較高者 (如
大寮區面對高雄市與屏東縣的邊界為4,面對高雄市內的其他區為5 ),而且一條 way 在完成之後會屬於兩個 relation (例如 [5]
是鳥松和鳳山的邊界)。
我有把南投縣信義鄉也順便處理成 relation。然而規模實在太大了,無法靠一己之力修正。
另外參考一下日本的模式 [6],除了 boundary 的 level 以外,把 key:place 和台灣本土的習慣連結似乎也是必要的。
[1] http://www.iot.gov.tw/ct.asp?xItem=154948&ctNode=1091
[2] http://www.makoci.com/wsDetail.do?wsUuid=3c16c221459e4e53a0e962b71a860bd8
[3] http://wiki.openstreetmap.org/wiki/JOSM/Plugins/OpenData
[4] http://wiki.openstreetmap.org/wiki/Relation:boundary
[5] http://www.openstreetmap.org/browse/way/157555046
[6] http://wiki.openstreetmap.org/wiki/Japan_tagging
--
李昕迪 Lee, Sin-di | http://www.mcdlee.tw
More information about the Talk-TW
mailing list