You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2018/08/22 16:26:00 UTC

[incubator-superset] branch master updated: adds TimorLeste geodata (#5698)

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 1c85192  adds TimorLeste geodata (#5698)
1c85192 is described below

commit 1c85192c6b470c986fe6d686a96c3af5410860f7
Author: Joshua Brooks <jo...@gmail.com>
AuthorDate: Thu Aug 23 00:25:57 2018 +0800

    adds TimorLeste geodata (#5698)
---
 superset/assets/src/explore/controls.jsx             |  1 +
 .../src/visualizations/countries/timorleste.geojson  | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)

diff --git a/superset/assets/src/explore/controls.jsx b/superset/assets/src/explore/controls.jsx
index 917a274..ddf7107 100644
--- a/superset/assets/src/explore/controls.jsx
+++ b/superset/assets/src/explore/controls.jsx
@@ -556,6 +556,7 @@ export const controls = {
       'Singapore',
       'Spain',
       'Thailand',
+      'Timorleste',
       'Uk',
       'Ukraine',
       'Usa',
diff --git a/superset/assets/src/visualizations/countries/timorleste.geojson b/superset/assets/src/visualizations/countries/timorleste.geojson
new file mode 100644
index 0000000..d77fa59
--- /dev/null
+++ b/superset/assets/src/visualizations/countries/timorleste.geojson
@@ -0,0 +1,20 @@
+{
+"type": "FeatureCollection",
+"name": "timorleste",
+"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
+"features": [
+{ "type": "Feature", "properties": { "name": "Aileu", "iso_code": "TL-AL" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 125.7661, -8.571 ], [ 125.7703, -8.5872 ], [ 125.7675, -8.5953 ], [ 125.7605, -8.5988 ], [ 125.7583, -8.6044 ], [ 125.7668, -8.6124 ], [ 125.7673, -8.6168 ], [ 125.7756, -8.6259 ], [ 125.7741, -8.6356 ], [ 125.7817, -8.6489 ], [ 125.7861, -8.65 ], [ 125.7881, -8.6635 ], [ 125.7916, -8.6652 ], [ 125.7939, -8.6732 ], [ 125.8046, -8.6774 ], [ 125.8085, -8.6767 ] [...]
+{ "type": "Feature", "properties": { "name": "Ainaro", "iso_code": "TL-AN" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 125.7233, -8.7822 ], [ 125.7175, -8.7856 ], [ 125.7084, -8.7862 ], [ 125.6984, -8.7961 ], [ 125.6905, -8.7979 ], [ 125.6888, -8.8027 ], [ 125.6824, -8.8099 ], [ 125.6851, -8.8134 ], [ 125.6804, -8.8184 ], [ 125.6854, -8.8281 ], [ 125.6834, -8.8327 ], [ 125.6885, -8.8415 ], [ 125.6826, -8.8464 ], [ 125.6855, -8.8521 ], [ 125.6839, -8.8666 ], [ 125.6902, -8.86 [...]
+{ "type": "Feature", "properties": { "name": "Oecusse", "iso_code": "TL-OE" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 124.4473, -9.1669 ], [ 124.4663, -9.173 ], [ 124.4779, -9.1756 ], [ 124.4808, -9.192 ], [ 124.4761, -9.2032 ], [ 124.4685, -9.2083 ], [ 124.466, -9.2247 ], [ 124.4671, -9.2381 ], [ 124.4645, -9.2429 ], [ 124.4648, -9.251 ], [ 124.4548, -9.2662 ], [ 124.4558, -9.2817 ], [ 124.4622, -9.2991 ], [ 124.4543, -9.3086 ], [ 124.4468, -9.3064 ], [ 124.44, -9.3147 ], [...]
+{ "type": "Feature", "properties": { "name": "Baucau", "iso_code": "TL-BA" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 126.6954, -8.4249 ], [ 126.6977, -8.4343 ], [ 126.7029, -8.437 ], [ 126.7069, -8.4431 ], [ 126.7054, -8.4484 ], [ 126.7077, -8.4586 ], [ 126.7166, -8.4799 ], [ 126.7302, -8.4867 ], [ 126.7367, -8.4873 ], [ 126.741, -8.492 ], [ 126.7331, -8.4952 ], [ 126.7271, -8.5032 ], [ 126.723, -8.5043 ], [ 126.7235, -8.5163 ], [ 126.7305, -8.5212 ], [ 126.7368, -8.5281 ] [...]
+{ "type": "Feature", "properties": { "name": "Bobonaro", "iso_code": "TL-BO" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 125.1899, -8.7536 ], [ 125.1964, -8.7635 ], [ 125.2014, -8.7679 ], [ 125.2106, -8.7655 ], [ 125.2348, -8.7678 ], [ 125.2498, -8.7809 ], [ 125.258, -8.7902 ], [ 125.2716, -8.8127 ], [ 125.2792, -8.8236 ], [ 125.2814, -8.8322 ], [ 125.2827, -8.8508 ], [ 125.2942, -8.8627 ], [ 125.2937, -8.8828 ], [ 125.2993, -8.8937 ], [ 125.3118, -8.8977 ], [ 125.3138, -8.8 [...]
+{ "type": "Feature", "properties": { "name": "Covalima", "iso_code": "TL-CO" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 125.5034, -9.2257 ], [ 125.4956, -9.2286 ], [ 125.4803, -9.2369 ], [ 125.4644, -9.2478 ], [ 125.4497, -9.2553 ], [ 125.4272, -9.2614 ], [ 125.4167, -9.2606 ], [ 125.3933, -9.2636 ], [ 125.3776, -9.2701 ], [ 125.3594, -9.2825 ], [ 125.3483, -9.2928 ], [ 125.3394, -9.2986 ], [ 125.3139, -9.3125 ], [ 125.2967, -9.3272 ], [ 125.292, -9.3327 ], [ 125.2831, -9.3 [...]
+{ "type": "Feature", "properties": { "name": "Dili", "iso_code": "TL-DI" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 125.7661, -8.571 ], [ 125.7607, -8.5663 ], [ 125.7536, -8.5639 ], [ 125.7427, -8.5655 ], [ 125.7315, -8.5654 ], [ 125.723, -8.5636 ], [ 125.7111, -8.5652 ], [ 125.706, -8.5613 ], [ 125.6975, -8.5588 ], [ 125.6901, -8.5689 ], [ 125.6857, -8.5715 ], [ 125.688, -8.5821 ], [ 125.6855, -8.5881 ], [ 125.6758, -8.5873 ], [ 125.6638, -8.5773 ], [ 125.6639, -8.5 [...]
+{ "type": "Feature", "properties": { "name": "Ermera", "iso_code": "TL-ER" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 125.5074, -8.8487 ], [ 125.5223, -8.8722 ], [ 125.5176, -8.8779 ], [ 125.5041, -8.8832 ], [ 125.4984, -8.8936 ], [ 125.4921, -8.8967 ], [ 125.4947, -8.9106 ], [ 125.4912, -8.9159 ], [ 125.4817, -8.9216 ], [ 125.4806, -8.9299 ], [ 125.4727, -8.9362 ], [ 125.4602, -8.9439 ], [ 125.4519, -8.9545 ], [ 125.4565, -8.9644 ], [ 125.4508, -8.9702 ], [ 125.4488, -8.97 [...]
+{ "type": "Feature", "properties": { "name": "Lautem", "iso_code": "TL-LA" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 127.3236, -8.4111 ], [ 127.3314, -8.4147 ], [ 127.3369, -8.4203 ], [ 127.3419, -8.4319 ], [ 127.3392, -8.4428 ], [ 127.3325, -8.4442 ], [ 127.33, -8.4481 ], [ 127.3203, -8.4464 ], [ 127.3086, -8.4356 ], [ 127.3078, -8.4222 ], [ 127.3092, -8.4169 ], [ 127.3169, -8.4114 ], [ 127.3236, -8.4111 ] ] ], [ [ [ 126.7362, -8.7566 ], [ 126.7341, -8.7535 ], [ 12 [...]
+{ "type": "Feature", "properties": { "name": "Liquica", "iso_code": "TL-LI" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 125.4978, -8.5561 ], [ 125.4934, -8.5616 ], [ 125.5068, -8.5746 ], [ 125.5073, -8.5805 ], [ 125.5178, -8.5841 ], [ 125.5202, -8.5913 ], [ 125.5172, -8.5978 ], [ 125.5184, -8.6034 ], [ 125.5164, -8.6099 ], [ 125.5195, -8.613 ], [ 125.5273, -8.6137 ], [ 125.5239, -8.6189 ], [ 125.5157, -8.6228 ], [ 125.5129, -8.6278 ], [ 125.5141, -8.6346 ], [ 125.5039, -8.63 [...]
+{ "type": "Feature", "properties": { "name": "Manatuto", "iso_code": "TL-MT" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 126.161, -8.496 ], [ 126.165, -8.508 ], [ 126.1696, -8.5137 ], [ 126.1843, -8.5252 ], [ 126.1828, -8.5298 ], [ 126.1844, -8.557 ], [ 126.1871, -8.5688 ], [ 126.197, -8.5798 ], [ 126.1924, -8.596 ], [ 126.1961, -8.6061 ], [ 126.1905, -8.6116 ], [ 126.1936, -8.6172 ], [ 126.1942, -8.6279 ], [ 126.1887, -8.6372 ], [ 126.1811, -8.6434 ], [ 126.1771, -8.6511 ], [...]
+{ "type": "Feature", "properties": { "name": "Manufahi", "iso_code": "TL-MF" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 125.8054, -8.745 ], [ 125.8085, -8.7521 ], [ 125.8131, -8.7535 ], [ 125.8168, -8.7492 ], [ 125.8215, -8.7532 ], [ 125.8212, -8.7576 ], [ 125.8147, -8.7678 ], [ 125.8139, -8.7785 ], [ 125.8202, -8.7802 ], [ 125.8159, -8.7901 ], [ 125.8084, -8.8025 ], [ 125.8086, -8.8054 ], [ 125.8005, -8.8128 ], [ 125.8042, -8.8233 ], [ 125.8089, -8.8259 ], [ 125.8066, -8.8 [...]
+{ "type": "Feature", "properties": { "name": "Viqueque", "iso_code": "TL-VI" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 126.7299, -8.6871 ], [ 126.7291, -8.6927 ], [ 126.7307, -8.7089 ], [ 126.7292, -8.7143 ], [ 126.7347, -8.7195 ], [ 126.7339, -8.7298 ], [ 126.7385, -8.731 ], [ 126.7371, -8.746 ], [ 126.7341, -8.7535 ], [ 126.7362, -8.7566 ], [ 126.7081, -8.7572 ], [ 126.6759, -8.764 ], [ 126.6619, -8.7702 ], [ 126.6497, -8.7781 ], [ 126.6441, -8.7798 ], [ 126.6293, -8.790 [...]
+]
+}