mirror of
https://github.com/apache/superset.git
synced 2026-04-11 04:15:33 +00:00
[fix] Use HTTPS, not HTTP wherever practical (#7040)
* Download RAT binary via HTTPS, not HTTP * Merge branch 'patch-1' of github.com:hajdbo/incubator-superset into patch-1
This commit is contained in:
committed by
Maxime Beauchemin
parent
f5274a9c7f
commit
5137539a86
@@ -1837,17 +1837,17 @@ Need to add a new Country?
|
||||
To add a new country in country map tools, we need to follow the following steps :
|
||||
|
||||
1. You need shapefiles which contain data of your map.
|
||||
You can get this file on this site: http://www.diva-gis.org/gdata
|
||||
You can get this file on this site: https://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
|
||||
|
||||
3. You need to convert shapefile to geojson file.
|
||||
This action can make with ogr2ogr tools: http://www.gdal.org/ogr2ogr.html
|
||||
This action can make with ogr2ogr tools: https://www.gdal.org/ogr2ogr.html
|
||||
|
||||
4. Put your geojson file in next folder : superset/assets/src/visualizations/CountryMap/countries with the next name : nameofyourcountries.geojson
|
||||
|
||||
5. You can to reduce size of geojson file on this site: http://mapshaper.org/
|
||||
5. You can to reduce size of geojson file on this site: https://mapshaper.org/
|
||||
|
||||
6. Go in file superset/assets/src/explore/controls.jsx
|
||||
|
||||
|
||||
Reference in New Issue
Block a user