mercator

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package mercator provides transforms for converting geographic coordinates to and from Web Mercator coordinates.

Index

Constants

View Source
const (
	Radius = 6378137
	Edge   = math.Pi * Radius
)

Variables

This section is empty.

Functions

func Forward

func Forward(input []float64) []float64

Forward transforms geographic coordinates to Spherical Mercator.

func Inverse

func Inverse(input []float64) []float64

Inverse transforms Spherical Mercator coordinates to geographic.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL