-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding new countries to Map view #3671
Comments
You shouldn't change the installed package, you have to add the changes to the source code, rebuild the package and then install it again to check if it works. |
Notice: this issue has been closed because it has been inactive for 190 days. Feel free to comment and request for this issue to be reopened. |
Bit elaborated solution of this issue in following link |
I'm having problems with adding new countries to the map view in Superset.
I am running superset version 0.19.1 (rather fresh install, never upgraded from an existing older version), python 3.5.3 and debian 9.2
Following the instructions in the documentation, I:
poland.geojson
and placed it insuperset/static/assets/visualizations/countries/
To verify, it contains polygons that are defined as:
I have verified this syntax with geojson syntax from
france.geojson
, and it works perfectly when uploaded to mapshaper.org, so I'm sure that it is not a problem with the syntax of the geojson file.Then, I found the
controls.jsx
file (it was located in another directory,/usr/local/lib/python3.5/dist-packages/superset/static/assets/javascripts/explore/stores/controls.jsx
instead - found it withfind
shell command and it's the onlycontrols.jsx
in the whole install) and added a correpsonding entry there (as specified in step 7).Still, I cannot see the new country in the dropdown list.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: