superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Added Zambia geojson up to district level. (#5436)
Date Fri, 20 Jul 2018 22:46:44 GMT
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 c545fdf  Added Zambia geojson up to district level. (#5436)
c545fdf is described below

commit c545fdf5897444a5e1ae0bab27faf3cc98ceecb7
Author: Andre Lesa <andre@andrelesa.com>
AuthorDate: Sat Jul 21 00:46:41 2018 +0200

    Added Zambia geojson up to district level. (#5436)
---
 superset/assets/src/explore/controls.jsx                    | 1 +
 superset/assets/src/visualizations/countries/zambia.geojson | 1 +
 2 files changed, 2 insertions(+)

diff --git a/superset/assets/src/explore/controls.jsx b/superset/assets/src/explore/controls.jsx
index d5d94fd..b6b23a0 100644
--- a/superset/assets/src/explore/controls.jsx
+++ b/superset/assets/src/explore/controls.jsx
@@ -522,6 +522,7 @@ export const controls = {
       'Uk',
       'Ukraine',
       'Usa',
+      'Zambia',
     ].map(s => [s, s]),
     description: t('The name of country that Superset should display'),
   },
diff --git a/superset/assets/src/visualizations/countries/zambia.geojson b/superset/assets/src/visualizations/countries/zambia.geojson
new file mode 100755
index 0000000..5df1fbc
--- /dev/null
+++ b/superset/assets/src/visualizations/countries/zambia.geojson
@@ -0,0 +1 @@
+{"type":"Topology","objects":{"subunits":{"type":"GeometryCollection","geometries":[{"type":"Polygon","properties":{"name":"Luapula"},"arcs":[[0,1,2]]},{"type":"Polygon","properties":{"name":"Northern"},"arcs":[[3,-3,4]]},{"type":"Polygon","properties":{"name":"Central"},"arcs":[[5,6,7,8,9,10,11,12]]},{"type":"Polygon","properties":{"name":"Copperbelt"},"arcs":[[-11,13,14]]},{"type":"Polygon","properties":{"name":"Eastern"},"arcs":[[15,-6,16,17]]},{"type":"Polygon","properties":{"name":"
[...]
\ No newline at end of file


Mime
View raw message