superset icon indicating copy to clipboard operation
superset copied to clipboard

New Map Not Showing in List

Open csc5k opened this issue 8 years ago • 3 comments

I created a map of Mozambique in geojson format with the ISO codes per the instructions here: https://superset.incubator.apache.org/visualization.html#you-need-to-add-a-new-country

I added the file mozambique.geojson to the path here: superset/assets/visualizations/countries

and updated the "select_country" component of this file to include "Mozambique" superset/assets/javascripts/explorev2/stores/controls.jsx

But I do not see Mozambique as an option when I view the list of maps.

Make sure these boxes are checked before submitting your issue - thank you!

  • [x ] I have checked the superset logs for python stacktraces and included it here as text if any
  • [x ] I have reproduced the issue with at least the latest released version of superset
  • [x ] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

{"GIT_SHA": "", "version": "0.20.4"}

Expected results

I see Mozambique as a country to select with the Country Map visualization type

Actual results

I do not see Mozambique as a country to select with the Country Map visualization type

csc5k avatar Jan 09 '18 07:01 csc5k

Have you rebuilt the javascript frontend (or using num run dev) ?

xrmx avatar Jan 09 '18 09:01 xrmx

Disclaimer: I don't know much about technical things. We have not run num run dev, where do we run it?

Thanks for your reply and help

csc5k avatar Jan 09 '18 09:01 csc5k

Bit elaborated solution of this issue in following link https://stackoverflow.com/questions/50045966/add-a-new-map-to-apache-superset/51035333#51035333

sohelsarder avatar Jun 26 '18 05:06 sohelsarder