- 下載本頁面下方的
ntm2geojson.exe
(點選Raw
按鈕) - 將JSON格式檔案和exe檔案放在同一資料夾
- 點兩下exe檔案,產生出新的
.geojson
檔案
可至下列網站點選open
,將GeoJSON格式檔案上傳,以在地圖中檢視
http://geojson.io
可至下列網站將GeoJSON格式檔案進行轉換
ntm2geojson.exe
(點選Raw
按鈕).geojson
檔案可至下列網站點選open
,將GeoJSON格式檔案上傳,以在地圖中檢視
http://geojson.io
可至下列網站將GeoJSON格式檔案進行轉換
FOR %%f IN (*.json) DO ( | |
jq.exe -f ilter.jq %%f | jq.exe -s "{type: \"FeatureCollection\", features: .}" > %%~nf.geojson | |
) |
.[] | | |
select(.latitude != 2147483647) | | |
.properties=.|.type="Feature"| | |
.geometry={type: "Point", coordinates: [.longitude,.latitude]} | | |
{ type: "Feature", properties: .properties, geometry: .geometry } | |
# jq -s '{type: "FeatureCollection", features: .}' > raw.geojson |