question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

superset new country map

See original GitHub issue

A clear and concise description of what the bug is. hello , i wanted to create a map for my country to add to the country maps the map is created and here is the result of it (Algeria) image rather than recompiling the frontend , i changed the Germany geojson compiled file i tested one with no internal polygons and it worked normally

Expected results

i’m expecting it to work normally and showing the full country map

Actual results

the result is that i get a giant rectangle surrounding my country image algeria is situated at the right corner of the rectangle ans it is really small, i started removing some polygones , but nothing changed

How to reproduce the bug

try to export a geojson file with qgis and put it in a geojson file in assets folder

Environment

  • superset version: 0.999dev
  • python version: python3.7
  • node is not installed it is a docker version

Checklist

  • [x ] I have checked the superset logs for python stacktraces and included it here as text if there are 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.
  • i found one talking about the uk , removing a polygon solved the problem , not for me

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
angel1369commented, Apr 27, 2021

i think i found where is the problem , the problem , i assume, was a small non finished segment, that causes this i think superset tried to limit the size of the area by finishing the non-finished segment by a rectangle that takes a huge space thank you Hi @SAVE-POlNT , could you put the new map of Algeria , i had some troubles with your simple-data.json

PS: i call the map with amcharts 4 map properties

1reaction
angel1369commented, Apr 26, 2021

Hi @SAVE-POlNT , first, thank you for sharing your work simplified data.json. when i call your map in php using amcharts 4 (map.js) i had a big square colored and one province “adrar” too small in the square?

how can i fixe it to show all province and fill the polygone with my color not square

Read more comments on GitHub >

github_iconTop Results From Across the Web

Country Map Tools - Apache Superset
The Country Map visualization allows you to plot lightweight choropleth maps of your countries by province, states, or other subdivision types. It does...
Read more >
Apache Superset / Preset Country Map - YouTube
This video preset how to build a country map using the 3166-2 codes defined here ...
Read more >
Apache Superset - Preset World map - YouTube
This video shows how to build a world map using full country name.
Read more >
HowTo: Add a new country to the country map · Wiki - GitLab
GitLab.com.
Read more >
How can I get all regions of the country in the country map ...
I want to get all regions of the country in the country map. Does Superset provide any function to get it? enter image...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found