Skip to content

marconett/mercator_to_equirectangular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Converting Mercator projection to equirectangular

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages