-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
feat(country-map): add map for France with all overseas territories #31037
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bb01bc4
to
a55d260
Compare
Hi! I appreciate the change, but the change needs to be made in the Jupyter notebook. I hope this helps :) |
Hello @rusackas thanks for your feedback. The GeoJSON has been made by hand in order to simplify some geometries (e.g. French Polynesia has a lot of islands, but I only kept the main one which is Tahiti). |
a55d260
to
a54d9fb
Compare
@rusackas I adapted my PR with your recommendations.
I added a step to plot all countries from the "altmaps" in order to preview all maps that are a little more customized. We can see the new France Overseas results right here :). |
Hi! Sorry. Just a bit swamped... I'll have to get back to it soon. Ideally, the Jupyter notebook would make the same edits you're doing by hand... then Natural Earth can update their source data, and modifications are applied. Pulling the data from an externally hosted json file is kind of a workaround, but we lose the benefit of having a maintained upstream data provider... that geojson is likely going to be static forever. We probably shouldn't have let that happen with India, honestly. If you look at how the notebook was pulling in the other islands for France, we should do the same with any other islands that weren't already included. |
a54d9fb
to
e368fc8
Compare
e368fc8
to
816c650
Compare
Looking significantly better! I'm getting pulled away at the end of my work day, but plan to revisit this in the morning... what I intend to check is whether we still need the cells above the ones you added... they seem to be doing similar things, and I'm not sure (as a non-French person) if we need all these variants of the map, or if yours should replace the existing ones. |
Well, when we talk about France without adding more precision, we most of the time talk about France with its 5 overseas departments (called DROM for Départements et Régions d'Outre-Mer) which are Guadeloupe, Mayotte, Guyane, La Réunion, and Mayotte. These 5 items are actually listed by Natural Earth Data as part of France ( Then, when we talk about "France with overseas", we want to add the overseas authorities (called COM for Collectivité d'Outre-Mer) which are French Polynesia, Wallis and Futuna, Saint Pierre and Miquelon, Saint Barthélémy, Saint Martin, New Caledonia, French Southern and Antarctic Lands and sometime even Clipperton (less studied as it is uninhabited). The difference between DROM and COM is that COM have more local power and autonomy. For example, French Polynesia has its own local government, its own president, etc. In my opinion, both use case are different as the "France with overseas" only concerns people that want to do more advanced requests on the whole French territories whereas most of the time people would focus on Metropolitan France or France with DROM. So honestly, I would keep both France, France (regions), and France (with overseas) maps. |
816c650
to
e24760a
Compare
After discussions with @rusackas here are some additional considerations. The old map for France is actually the one with only French departments, including islands that are considered as departments As is, this PR adds a 3rd map for France which might be considered as "la lot" of maps for only one country! I think we have two options: Option A: we add my map as a third map of France
Option B: we merge maps of France to keep only two. I could for example replace the existing 'France' map with mine, and re-generate the 'France (regions)' map based on mine.
I can do both options. Please let me know which option would be the best for the Apache Superset community. |
e24760a
to
b1e4316
Compare
Running CI... thanks again for your help here! |
…pache#31037) Co-authored-by: Maxime ALAY-EDDINE <[email protected]>
SUMMARY
This PR adds a GeoJSON map for France with all overseas territories in the "Country maps" charts.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION
viz:charts:map