You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide pyecharts with 138,398 cities of the world with a population of at least 1000 inhabitants (pyecharts#663)
* ✨ OPEN / CLOSE principle - open for extension but closed for modification. Allow the extension of city coordinates so that echarts-cities-pypkg can be installed, hence 138,398 city coordinations is added covering all countries in the world
* 🐛 what if no country data is returned
* 🔥 remove lazy object test
* 🎨 last resort, have to introduce country as a parameter to geo.add() function. no way to search for the coordinates without the country name.
* 📚 documentation update
* 📚 fix typos and add missing docstrings
* 🔬 more unit tests
* 💚 make unit test pass
* 🐛 without unicode_literals but with utf-8, all Chinese strings are utf-8 encoded, hence requires decoding.
* 🎨 🔨 code refacotring and 📚 update documentation
* 🎨 finalized version
* 🔥 remove un-used function
* 🔨 change function parameter name: map_country -> coordinate_country
* 🔨 country -> region
* 🔨 country -> region
* 🚜 rename db file
* 🔨 whitening with black
* 📖 update dataset
* 📖 update data set country
Copy file name to clipboardExpand all lines: README.md
+10
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,16 @@ $ python setup.py install
56
56
57
57
Please note: since version 0.3.2, **NO LONGER** pyecharts comes with any map files. Please read next section for more informations.
58
58
59
+
### Geo Data extensions (0.5.7+)
60
+
61
+
1. From geonames.org, [138,398 cities of the world with a population of at least 1000 inhabitants](https://github.com/echarts-maps/echarts-cities-js): [echarts-cities-pypkg](https://github.com/pyecharts/echarts-cities-pypkg)
62
+
63
+
In order to install them, you can try one or all of them below:
64
+
65
+
```shell
66
+
$ pip install echarts-cities-pypkg
67
+
```
68
+
59
69
### Map extensions
60
70
61
71
Here is a list of map extensions from pyecharts dev team:
0 commit comments