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: Fixed the issue of Zambia country map. (#5516)
Date Mon, 30 Jul 2018 16:15:39 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 8fd8d73  Fixed the issue of Zambia country map. (#5516)
8fd8d73 is described below

commit 8fd8d736133d82052dbdf13ea91b70410a260b06
Author: Vishal Jagtap <jagtap.vishal30@gmail.com>
AuthorDate: Mon Jul 30 21:45:32 2018 +0530

    Fixed the issue of Zambia country map. (#5516)
    
    - Previously after selecting option, got error "Uncaught TypeError: Cannot read property
'length' of undefined"
    - Updated the appropriate geojson.
---
 .../assets/src/visualizations/countries/zambia.geojson    | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/superset/assets/src/visualizations/countries/zambia.geojson b/superset/assets/src/visualizations/countries/zambia.geojson
index 5df1fbc..dd8faf2 100755
--- a/superset/assets/src/visualizations/countries/zambia.geojson
+++ b/superset/assets/src/visualizations/countries/zambia.geojson
@@ -1 +1,14 @@
-{"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
+{"type":"FeatureCollection", "features": [
+{"type":"Feature","geometry":{
+    "type":"Polygon","coordinates":[
+        [[30.45560242820097,-11.50162840536825],[30.452093779850536,-11.507554062631375],[30.45092423040039,-11.510516891262938],[30.45092423040039,-11.514467329438357],[30.45092423040039,-11.525331034420756],[30.449754680950246,-11.53125669168388],[30.44156783479923,-11.552984101648677],[30.440398285349083,-11.56483541617493],[30.440398285349083,-11.570761073438057],[30.442737384249376,-11.575699121157328],[30.44624603259981,-11.579649559332747],[30.447415582049956,-11.583599997508163],
[...]
+{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[32.2309784935211,-9.133340719205426],[32.27074317482603,-9.252841474011808],[32.32103380118227,-9.36147852383579],[32.32922064733328,-9.462214697308937],[32.220452548469794,-9.453326211414248],[32.11987129575732,-9.428635972817888],[32.019290043044855,-9.4197474869232],[31.90233509803035,-9.436536849168723],[31.818127537619908,-9.479004059554462],[31.751463218961646,-9.520483660396346],[31.675442504702218,-9.529372146291037]
[...]
+{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[31.428667570721622,-13.435367892235142],[31.406446131168867,-13.451169644936812],[31.359664153163067,-13.461045740375356],[31.337442713610308,-13.473884664445464],[31.296508482855234,-13.50450056030495],[31.287152087254075,-13.514376655743494],[31.28364343890364,-13.517339484375057],[31.27662614220277,-13.512401436655784],[31.26726974660161,-13.51141382711193],[31.259082900450593,-13.513389046199638],[31.25557425210016,-13.5
[...]
+{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[29.06500813197855,-13.388950243673985],[29.062669033078258,-13.395863510480966],[29.060329934177968,-13.39882633911253],[29.056821285827535,-13.402776777287947],[29.018226153972748,-13.441293549498269],[28.953900934214772,-13.520302313006619],[28.95039228586434,-13.523265141638182],[28.94571408806376,-13.525240360725892],[28.90594940675883,-13.540054503883706],[28.87203247270462,-13.559806694760795],[28.863845626553605,-13.5
[...]
+{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[30.2146752414711,-14.981964437911113],[30.212336142570805,-14.979989218823405],[30.212336142570805,-14.860488464017024],[30.206488395320083,-14.830860177701393],[30.201810197519503,-14.82789734906983],[30.191284252468197,-14.81703364408743],[30.18309740631718,-14.805182329561179],[30.17374101071602,-14.793331015034926],[30.16555416456501,-14.7874053577718],[30.150350021713123,-14.780492090964819],[30.144502274462397,-14.7765
[...]
+{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[30.050938318450797,-14.670867431596982],[30.05444696680123,-14.677780698403962],[30.057955615151666,-14.69061962247407],[30.061464263502103,-14.698520498824905],[30.06848156020297,-14.70444615608803],[30.090702999755727,-14.713334641982721],[30.095381197556307,-14.716297470614283],[30.100059395356887,-14.720247908789702],[30.139824076661817,-14.77160360507013],[30.144502274462397,-14.776541652789401],[30.150350021713123,-14.
[...]
+{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[27.590206275345686,-12.243323172802896],[27.586697626995253,-12.24628600143446],[27.543424297339886,-12.274926678206235],[27.539915648989453,-12.276901897293945],[27.524711506137567,-12.281839945013216],[27.510676912735825,-12.30060452634645],[27.507168264385392,-12.298629307258741],[27.495472769883943,-12.293691259539468],[27.46740358308046,-12.288753211820197],[27.46389493473003,-12.28282755455707],[27.466234033630315,-12.
[...]
+{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[27.75628229726628,-15.648600880012825],[27.799555626921645,-15.647613270468971],[27.822946615924543,-15.651563708644389],[27.841659407126865,-15.663415023170643],[27.839320308226576,-15.671315899521478],[27.841659407126865,-15.679216775872312],[27.847507154377592,-15.68514243313544],[27.85686354997875,-15.69008048085471],[27.889610934582812,-15.673291118609185],[27.929375615887743,-15.664402632714497],[27.970309846642817,-15
[...]
+{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[25.548172935392493,-14.58494540128165],[25.541155638691624,-14.586920620369359],[25.53764699034119,-14.588895839457066],[25.532968792540608,-14.59185866808863],[25.529460144190175,-14.594821496720193],[25.52361239693945,-14.602722373071028],[25.506069155187273,-14.629387830755098],[25.499051858486403,-14.642226754825204],[25.489695462885244,-14.66592938387771],[25.487356363984954,-14.669879822053128],[25.483847715634518,-14.
[...]
+{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[33.30462488875422,-11.643844179683281],[33.256673361298276,-11.656683103753387],[33.216908679993345,-11.673472465998913],[33.19702633934088,-11.701125533226836],[33.19702633934088,-11.748530791331847],[33.13036202068262,-11.858155450699684],[33.088258240477394,-11.950003138278142],[32.95376005371072,-11.99247034866388],[32.726867460382586,-12.059627797645978],[32.60055611976692,-12.067528673996815],[32.54207864725967,-12.067
[...]
+]}
\ No newline at end of file


Mime
View raw message