Skip to content

fix(country-map): update Nepal from obsolete 14 zones to current 7 provinces - #43343

Open
1yuv wants to merge 3 commits into
apache:masterfrom
1yuv:fix/nepal-country-map-7-provinces
Open

fix(country-map): update Nepal from obsolete 14 zones to current 7 provinces#43343
1yuv wants to merge 3 commits into
apache:masterfrom
1yuv:fix/nepal-country-map-7-provinces

Conversation

@1yuv

@1yuv 1yuv commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

SUMMARY

Nepal's map used the pre-2015 14 zones with ISO codes that were removed from ISO 3166-2; replaced with the current 7 provinces (NP-P1 Koshi … NP-P7 Sudurpashchim). Source: geoBoundaries gbOpen NPL/ADM1 (CC BY 3.0 IGO, Nepal government data via data.humdata.org), following the existing Kenya pattern in the generator notebook. Notebook updated (alt_maps + simplify_factors + Nepal cell) so regeneration preserves the fix. Fixes #43342 .

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:
nepal_before

After:

nepal_after

Example with populated data:

image

TESTING INSTRUCTIONS

create a Country Map chart, select Nepal, use NP-P1…NP-P7 as the region column values. Check here for mapping of code and province.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@1yuv
1yuv requested review from rusackas and villebro as code owners August 19, 2026 20:45
@dosubot dosubot Bot added the viz:charts:map Related to Map charts label Aug 19, 2026
@bito-code-review

bito-code-review Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Bito Review Skipped - No Changes Detected

Bito didn't review this pull request because we did not detect any changes in the pull request to review.

@netlify

netlify Bot commented Aug 19, 2026

Copy link
Copy Markdown

Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit 325b5eb
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/6a8831f37fdcc60008973ff3
😎 Deploy Preview https://deploy-preview-43343--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.84%. Comparing base (65910ab) to head (325b5eb).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #43343   +/-   ##
=======================================
  Coverage   66.84%   66.84%           
=======================================
  Files        2876     2876           
  Lines      164069   164069           
  Branches    37866    37866           
=======================================
  Hits       109666   109666           
  Misses      52228    52228           
  Partials     2175     2175           
Flag Coverage Δ
javascript 74.12% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nepal map has outdated administrative areas

1 participant