Ultimate-geography: Vectorized ocean maps

Created on 29 Aug 2019  ยท  3Comments  ยท  Source: anki-geo/ultimate-geography

I noticed that most ocean and sea maps were low quality, and wanted to see if I could help. The oceanic maps seem to already be on Wikipedia except Polynesia, and so I added them to my fork, which your can see here (still need to adjust colors for consistency):
https://github.com/axelboc/anki-ultimate-geography/compare/master...OldOxygen:vector-maps

I would like to vector all the other ocean maps, but had some questions.

  • Currently, the only svg files in the media directory are flags, why is this? Is it because it is suppose to be that way, or that nobody has vectored them yet?
  • For each svg file, there is an associated exported png file. Are the vector files required to be exported for some reason?
  • The oceanic svg files I added are around 110KB each, which is relatively large. Is this a problem?

Most helpful comment

Do we ideally want to switch to the latter style for all the water body maps, or is the current split desirable?

My vote goes to highlighting. ๐Ÿ”†

All 3 comments

Hi there! ๐Ÿ‘‹ Thanks for offering to help out. ๐Ÿฅ‡ Sorry I took so long to get back to you.

The maps of the sub-regions of Oceania you found on Wikimedia and tweaked to remove labels are amazing, thank you! If you open a PR that I can modify, I'll do the necessary work to convert them to 500px-wide PNGs, optimise them with TinyPNG and add them to the sources.csv document (unless you'd like to do all this yourself! ๐Ÿ˜„).


The reason most maps are in PNG format is for file size. I want to keep the deck as small as possible so it can be synced quickly, and stored on low-end smartphones. The limit for SVG files is currently 50 kB after SVGO optimisation. Anything below this has to be converted to PNG and then optimised again. For this reason, vectorization is not an end goal in itself for this deck. Vecotrization is, however, a necessary step to achieve visual consistency between all of the maps. Before you jump into it, though, let me fill you in on where we're up to.

The current maps of oceans, seas and water bodies (gulf, bays, lakes, etc.) suffer from two major problems: quality and consistency.

  • In terms of quality โœจ, the maps are neither accurate nor up to date, and their sources are mostly unknown. This means that we can't vectorize them directly. We have to use more up-to-date maps. As an example, nowadays the Aral Sea is no way near as big as it is pictured in the deck. Some types of water bodies, like gulfs, might not be easy to delimit, and the borders of many seas are highly contested. We would need a way to represent contested areas (like for sovereign states), and perhaps even areas the water bodies have shrunk or expanded by in recent times (e.g. for the Aral Sea).
  • In terms of consistency ๐Ÿ‘“, the maps look nothing like most of the other maps in the deck, which follow the style guide of the SVG locator map project. Unfortunately, the locator map style guide does not take into consideration water bodies. @aplaice did come up with a very nice style for inland seas when he made the maps for the Dead Sea and the Sea of Galile, so it's a good place to start from.

All in all, updating the maps of the water bodies is going to take a whole lot of work... So you're help is more than welcome!! ๐Ÿ˜Š If I didn't scare you away and you want to get your hands dirty ๐Ÿ™Œ, I'd say a good way to start would be to pick a well-delimited water body (e.g. like the Black Sea). Once you've picked one, find the SVG source file of an existing 16/9 country locator map at the same zoom level as the sea (check out sources.csv), modify it to put the water body in the center and to highlight it, and then show us the result!

IHO

Some types of water bodies, like gulfs, might not be easy to delimit, and the borders of many seas are highly contested.

In terms of defining the exact extent of the water bodies, I think that the best source would be the IHO's (International Hydrographic Organisation's) 1953 Limits of Oceans and Seas, 3rd edition. It seems to be what Wikipedia uses for the purpose (for example, see the articles on the Norwegian sea or the Celtic sea). There's a PDF of the report on the IHO's own website, an OCRed (but, other than an additional final 3 pages, identical) version here and a representation of the data in machine-readable form here. Alternatively, the 4th edition draft might be used instead โ€” I have no idea how, or whether it differs significantly from the 3rd edition.

There's a global SVG map purporting to represent the IHO data on the commons here, but unfortunately, while it's thorough and detailed, it doesn't really fit our conventions, and it seems to have a couple of errors (for instance, in it, the Celtic Sea doesn't have a western border, even though the IHO does specify one, and the eastern border also doesn't seem right). I can't find anything that's particularly better, though.

Question marks?

In terms of conventions and styles for the UG maps, currently we have two main conventions:
having a question mark within some of the more "open" seas, and a highlighting of the extent of the water body, for some of the more "enclosed" ones.

Do we ideally want to switch to the latter style for all the water body maps, or is the current split desirable? (i.e. for the maps that currently have a question mark placed within the sea, rather than a highlight of the sea, do we want to (aim to) replace them with maps with a question mark, or ones with the extent of the sea highlighted?)

Prior work

As I mentioned in the 137, there are two existing Anki decks: "Rivers, Lakes, Seas, and Oceans", and "International waters: Ocean, Sea etc.", but while quite comprehensive, none of their maps fit our conventions, and in the case of the second deck, the license of the images isn't specified anywhere.

Do we ideally want to switch to the latter style for all the water body maps, or is the current split desirable?

My vote goes to highlighting. ๐Ÿ”†

Was this page helpful?
0 / 5 - 0 ratings

Related issues

josealberto4444 picture josealberto4444  ยท  3Comments

axelboc picture axelboc  ยท  7Comments

flaheathrenn picture flaheathrenn  ยท  3Comments

siriak picture siriak  ยท  3Comments

aplaice picture aplaice  ยท  3Comments