aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorevansiroky <evan.siroky@yahoo.com>2019-03-31 16:31:27 -0700
committerevansiroky <evan.siroky@yahoo.com>2019-03-31 16:31:27 -0700
commitdd37978d40ea74aaba91b246f47d4e0d9d9a80bd (patch)
tree1b835b75b947edc995166e7a948c1dad2cf7f9f2
parent98b199387082ff01cf581a2188aedac1af479690 (diff)
downloadtimezone-boundary-builder-dd37978d40ea74aaba91b246f47d4e0d9d9a80bd.tar.gz
Split Vietnam in two
Fixes #66
-rw-r--r--CHANGELOG.md7
-rw-r--r--osmBoundarySources.json3
-rw-r--r--timezones.json23
3 files changed, 33 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bf53f87..ff6716f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
## Unreleased
+### Zone Changes
+
+* Split Vietnam into 2 zones ([#66](https://github.com/evansiroky/timezone-boundary-builder/issues/66))
+ * Make Northern Vietnam be a part of `Asia/Bangkok`
+ * Southern Vietnam stays `Asia/Ho_Chi_Minh`
+* Update to latest OSM data
+
### Other Changes
* Add standard linter ([#67](https://github.com/evansiroky/timezone-boundary-builder/issues/67))
diff --git a/osmBoundarySources.json b/osmBoundarySources.json
index 88ef3bc..158ad7c 100644
--- a/osmBoundarySources.json
+++ b/osmBoundarySources.json
@@ -1027,6 +1027,9 @@
"Qatar": {
"ISO3166-1": "QA"
},
+ "Quang Tri": {
+ "ISO3166-2": "VN-25"
+ },
"Quebec": {
"ISO3166-2": "CA-QC"
},
diff --git a/timezones.json b/timezones.json
index e61c972..cc6a461 100644
--- a/timezones.json
+++ b/timezones.json
@@ -2659,6 +2659,20 @@
{
"op": "init",
"source": "overpass",
+ "id": "Vietnam",
+ "description": "Northern Vietnam had the same timekeeping method as Thailand, so this is added before adding Thailand. See (https://github.com/evansiroky/timezone-boundary-builder/issues/66)"
+ }, {
+ "op": "intersect",
+ "source": "manual-polygon",
+ "data": [[[100,11],[112,21],[100,30],[100,11]]],
+ "description": "Isolate Northern Vietnam as it is a part of Asia/Bangkok. See (https://github.com/evansiroky/timezone-boundary-builder/issues/66)"
+ }, {
+ "op": "difference",
+ "source": "overpass",
+ "id": "Quang Tri"
+ }, {
+ "op": "union",
+ "source": "overpass",
"id": "Thailand"
}
],
@@ -2806,6 +2820,15 @@
}, {
"op": "difference",
"source": "manual-polygon",
+ "data": [[[100,11],[112,21],[100,30],[100,11]]],
+ "description": "Exclude Northern Vietnam as it is a part of Asia/Bangkok. See (https://github.com/evansiroky/timezone-boundary-builder/issues/66)"
+ }, {
+ "op": "union",
+ "source": "overpass",
+ "id": "Quang Tri"
+ }, {
+ "op": "difference",
+ "source": "manual-polygon",
"data": [[[117.76,16.2],[116,14],[119,14],[117.76,16.2]]],
"description": "Exclude Scarborough Shoal because it's not claimed by Vietnam (https://en.wikipedia.org/wiki/Scarborough_Shoal)"
}