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 0a701d6 Corrected name of an area and fixed major grammatical errors (#6250) 0a701d6 is described below commit 0a701d6115e731c7b0f8afad6feae6003ea32281 Author: Rakshit Kumar <32777813+rakshitkumar...@users.noreply.github.com> AuthorDate: Thu Nov 1 01:59:36 2018 +0530 Corrected name of an area and fixed major grammatical errors (#6250) --- docs/visualization.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/visualization.rst b/docs/visualization.rst index 45cd76c..7b974fb 100644 --- a/docs/visualization.rst +++ b/docs/visualization.rst @@ -1471,7 +1471,7 @@ List of Countries +-------+------------------------------+ |GB-MRY | Moray | +-------+------------------------------+ -|GB-NAY | North Ayshire | +|GB-NAY | North Ayrshire | +-------+------------------------------+ |GB-NLK | North Lanarkshire | +-------+------------------------------+ @@ -1712,23 +1712,23 @@ List of Countries +------+------------------------------+ -You need to add a new Country ? +Need to add a new Country? ------------------------------- -To add a new country in country map tools, we need follow next steps : +To add a new country in country map tools, we need to follow the following steps : -1. You need shapfiles why contains data of your map. - You can get this file in this site : http://www.diva-gis.org/gdata +1. You need shapefiles which contain data of your map. + You can get this file on this site: http://www.diva-gis.org/gdata 2. You need to add ISO 3166-2 with column name ISO for all record in your file. - It's important because, it's a norm for mapping your data with geojson file + It's important because it's a norm for mapping your data with geojson file -3. You need to convert shapfile to geojson file. - This action can make with ogr2ogr tools : http://www.gdal.org/ogr2ogr.html +3. You need to convert shapefile to geojson file. + This action can make with ogr2ogr tools: http://www.gdal.org/ogr2ogr.html 4. Put your geojson file in next folder : superset/assets/visualizations/countries with the next name : nameofyourcountries.geojson -5. You can to reduce size of geojson file ont this site : http://mapshaper.org/ +5. You can to reduce size of geojson file on this site: http://mapshaper.org/ 6. Go in file superset/assets/javascripts/explorev2/stores/controls.jsx