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

Incorporate data from OpenStreetMap #30

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open

Conversation

daohoangson
Copy link
Owner

@daohoangson daohoangson commented Apr 20, 2023

Our GIS dataset is incomplete because the source only provides data up to level 2 entities. This PR aims to replace the official data source with OSM. The idea is to download the Vietnam file from geofabrik.de then map each OSM relation with an entity using our own parser module.

Unfortunately, the OSM data appears to have some inconsistency, I'm submitting edits to OSM to rectify those https://www.openstreetmap.org/user/Dao%20Hoang%20Son/history

Working with the Vietnam OSM community to update data for this PR, in progress Google Docs at https://docs.google.com/spreadsheets/d/1ee0BJ_5YoERbxBPm3nTj82FuQsLOvBwsAgKGxA0QiDA/

@vercel
Copy link

vercel bot commented Apr 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dvhcvn ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 6, 2023 2:04pm

@daohoangson
Copy link
Owner Author

daohoangson commented Apr 20, 2023

001 "Quận Ba Đình" drawn together. Red = existing official data. Green = new OSM data. Green = existing official data. Red = new OSM data.

Screen Shot 2023-04-20 at 16 54 36

@github-actions
Copy link

github-actions bot commented Sep 21, 2023

Statistics

7c8ee93

Tỉnh Thái Bình: 1+8+0 of 269 = 3.35%
Tỉnh Nam Định: 1+10+0 of 237 = 4.64%
Tỉnh Nghệ An: 1+21+2 of 482 = 4.98%
Tỉnh Bắc Giang: 1+10+1 of 220 = 5.45%
Tỉnh Yên Bái: 1+9+0 of 183 = 5.46%
Tỉnh Phú Thọ: 1+13+0 of 239 = 5.86%
Tỉnh Hà Tĩnh: 1+13+0 of 230 = 6.09%
Tỉnh Cao Bằng: 1+10+0 of 172 = 6.40%
Tỉnh Sơn La: 1+12+1 of 217 = 6.45%
Tỉnh Hoà Bình: 1+10+0 of 162 = 6.79%
Tỉnh Bình Định: 1+11+0 of 171 = 7.02%
Tỉnh Gia Lai: 1+16+0 of 238 = 7.14%
Tỉnh Quảng Ngãi: 1+13+0 of 187 = 7.49%
Tỉnh Bắc Kạn: 1+8+0 of 117 = 7.69%
Tỉnh Hà Nam: 1+6+2 of 116 = 7.76%
Tỉnh Đắk Lắk: 1+15+0 of 200 = 8.00%
Tỉnh Quảng Nam: 1+18+2 of 260 = 8.08%
Tỉnh Bắc Ninh: 1+8+2 of 135 = 8.15%
Tỉnh Vĩnh Phúc: 1+9+2 of 146 = 8.22%
Tỉnh Phú Yên: 1+9+0 of 120 = 8.33%
Tỉnh Quảng Ninh: 1+13+3 of 191 = 8.90%
Tỉnh Điện Biên: 1+10+3 of 140 = 10.00%
Tỉnh Hà Giang: 1+11+12 of 205 = 11.71%
Tỉnh Thanh Hóa: 1+27+42 of 587 = 11.93%
Tỉnh Đắk Nông: 1+8+1 of 80 = 12.50%
Tỉnh Quảng Trị: 1+10+6 of 136 = 12.50%
Tỉnh Lào Cai: 1+9+11 of 162 = 12.96%
Tỉnh Kon Tum: 1+10+4 of 113 = 13.27%
Tỉnh Lạng Sơn: 1+11+18 of 212 = 14.15%
Tỉnh Hải Dương: 1+12+25 of 248 = 15.32%
Tỉnh Quảng Bình: 1+8+17 of 160 = 16.25%
Tỉnh Hưng Yên: 1+10+17 of 172 = 16.28%
Tỉnh Ninh Bình: 1+8+25 of 152 = 22.37%
Tỉnh Thái Nguyên: 1+9+34 of 187 = 23.53%
Tỉnh Lâm Đồng: 1+12+26 of 155 = 25.16%
Tỉnh Bình Thuận: 1+10+30 of 135 = 30.37%
Tỉnh Thừa Thiên Huế: 1+9+37 of 151 = 31.13%
Tỉnh Ninh Thuận: 1+7+16 of 73 = 32.88%
Tỉnh Khánh Hòa: 1+9+44 of 149 = 36.24%
Tỉnh Lai Châu: 1+8+43 of 115 = 45.22%
Tỉnh Tuyên Quang: 1+7+65 of 146 = 50.00%
Thành phố Hà Nội: 1+30+285 of 610 = 51.80%
Thành phố Hải Phòng: 1+15+178 of 233 = 83.26%
Thành phố Đà Nẵng: 1+7+56 of 65 = 98.46%
Tỉnh Bạc Liêu: 1+7+64 of 72 = 100.00%
Tỉnh Hậu Giang: 1+8+75 of 84 = 100.00%
Tỉnh Bà Rịa - Vũng Tàu: 1+8+82 of 91 = 100.00%
Thành phố Cần Thơ: 1+9+83 of 93 = 100.00%
Tỉnh Bình Dương: 1+9+91 of 101 = 100.00%
Tỉnh Tây Ninh: 1+9+94 of 104 = 100.00%
Tỉnh Cà Mau: 1+9+101 of 111 = 100.00%
Tỉnh Trà Vinh: 1+9+106 of 116 = 100.00%
Tỉnh Vĩnh Long: 1+8+107 of 116 = 100.00%
Tỉnh Sóc Trăng: 1+11+109 of 121 = 100.00%
Tỉnh Bình Phước: 1+11+111 of 123 = 100.00%
Tỉnh Đồng Tháp: 1+12+143 of 156 = 100.00%
Tỉnh Kiên Giang: 1+15+144 of 160 = 100.00%
Tỉnh Bến Tre: 1+9+157 of 167 = 100.00%
Tỉnh An Giang: 1+11+156 of 168 = 100.00%
Tỉnh Đồng Nai: 1+11+170 of 182 = 100.00%
Tỉnh Tiền Giang: 1+11+172 of 184 = 100.00%
Tỉnh Long An: 1+15+188 of 204 = 100.00%
Thành phố Hồ Chí Minh: 1+22+312 of 335 = 100.00%
Việt Nam: 63+703+3475 of 11366 = 37.31%

Repository owner deleted a comment from sonarcloud bot Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant