han190 / plotting-the-world-re-revisited

gnuplot scripts to plot the map of the world

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plotting the world re-revisited

Although with no actual data, I'm pretty sure that the blog Plotting the world and Plotting the world revisited have been visited and used by many many gnuplot users. However, the shell script provided by the blog to convert downloaded .shp file is a bit outdated (the original blog was posted 13 years ago). Thus, I wrote a python script to download data from Natural Earth, and convert .shp file to gnuplot-ready binary files. You could download the gnuplot-ready binary files from the releases. If you want to modify the python script, clone this repo, navigate to the repository and

python ./src/shapefile_converter.py

Examples

Map of the world.

About

gnuplot scripts to plot the map of the world

License:MIT License


Languages

Language:Python 66.5%Language:Gnuplot 33.5%