Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1.03 KB

README.md

File metadata and controls

22 lines (13 loc) · 1.03 KB

Converting between mercator and equirectangular projections

This is not a scientific tool.

It is a simplified version of the tool described by: http://paulbourke.net/panorama/webmerc2sphere/index.html

usage: main.py [--invert] input_image output_image

Default is to convert from mercator to equirectangular.

The option --invert does equirectangular to mercator.

Source for input.png is Wikipedia (unmodified, Author: Justin Kunimune, License: CC BY-SA 4.0).

Comparing the output of this script with the image of a equirectangular projection on Wikipedia, the output looks good enough for my use case.

Input Output
Input Output