Skip to content

SVG tool that colors chosen countries in the World Map, and zooms in on relevant regions, maintaining a viewable image ratio

License

Notifications You must be signed in to change notification settings

mikeyhasson/ColorWorldMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ColorWorldMap

SVG tool that colors chosen countries in the World Map, and crop-masks irrelevant areas.

Command line arguments variations are as follows:

  1. python ColorWorldMap.py bilateral country1-country2 State two country names seperated by "-", where country names are corespondent to the index (but generally similar). The first will be colored green and the second orange. output file is "country1-country2 locator.svg"

  2. python ColorWorldMap.py bilateral country1-country2 instructions_file same as bilateral except specifing colors in instructions_file.

  3. python ColorWorldMap.py all filename instructions_file specify as many countries as you'd like in the instructions_file, all will be colored according to the first, or randomized color if wasn't specified.

  4. python ColorWorldMap.py filename instructions_file define coloring freely.

  5. python ColorWorldMap.py index to get index of countries.

instructions_file:

each line contains: country,color color is either #hex or literal css color name.

other language

you can specify a chosen language code by appending "-#CODE" to the mode name. eg. bilateral-he for Hebrew. Will look for match in wikidata to translate the name.

python ColorWorldMap.py bilateral Angola-Italy =

About

SVG tool that colors chosen countries in the World Map, and zooms in on relevant regions, maintaining a viewable image ratio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages