Orcasa-Platform / orcasa

A Horizon Europe project to restore soil earth
https://orcasa-client.vercel.app
MIT License
2 stars 0 forks source link

[To do] Display labels of relevant countries on the map #30

Open EmilieVrot opened 1 year ago

EmilieVrot commented 1 year ago

It is the same problem in the 3 modules: the name of the countries display at first sight is not always relevant. We do not see "Brazil" for instance.

Suggestion: maybe we can display the name of countries that are the most populated?

carlabiscotti commented 11 months ago

Hi Emilie, in order to better define this need, I'd like to clarify a bit:

When you say "the name of the countries display at first sight is not always relevant"

  1. These are not relevant for who?
  2. What defines the relevance of a country?
  3. When you say "at first sight", do you mean at the default zoom level?

I appreciate it if you could add clarifications to the description. Thank you!

carlabiscotti commented 11 months ago

Also, I suggest re-evaluating the priority level of this item. From my perspective, it feels that we could live with the solution we have implemented now. Most users will know where the countries that are relevant to them are, and they will be able to see the label as soon as they zoom in.

EmilieVrot commented 11 months ago

we can put a medium priority on this one.

carlabiscotti commented 11 months ago

Thank you, Emilie. I changed the priority. Before this is ready to implement we'll need to discuss these https://github.com/Orcasa-Platform/orcasa/issues/30#issuecomment-1798351402

CV-Gate commented 8 months ago

@EmilieVrot ,

This issue stems from the inherent complexities of dynamic map rendering technologies designed to optimize the readability and performance of maps at various zoom levels.

Maps automatically adjust which labels to display based on several factors, including label collision avoidance, the relative importance of geographical features, and the desired clarity at different scales. This dynamic labeling system ensures a clean, uncluttered user interface that remains responsive across all devices. However, it also means that the prioritization and visibility of specific labels, such as country names, can vary and are largely determined by the mapping service's algorithms. The situation is even more difficult because we use a custom JSON with the list of names to comply with your previous database.

Adjusting these priorities manually or altering the built-in logic of the map service presents significant challenges. It requires in-depth customization beyond standard map service capabilities and could impact the map's overall performance and user experience. This may involve leveraging advanced features of our map service provider or implementing very costly custom solutions where feasible.

EmilieVrot commented 8 months ago

Bonjour François,

Je te partage cette réponse de Vizzuality sur les labels des pays sur les cartes. Est-ce que tu partages leur analyse sur le fait de masquer les noms de pays non pertinents?

Merci pour ton avis, Emilie