locaxis

package
v1.5.24 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	XPi    = math.Pi * 3000.0 / 180.0
	OFFSET = 0.00669342162296594323
	AXIS   = 6378245.0
)

Variables

This section is empty.

Functions

func BD2GCJ

func BD2GCJ(lon float64, lat float64) (float64, float64)

BD2GCJ 百度坐标系->火星坐标系

func BD2WGS

func BD2WGS(lon float64, lat float64) (float64, float64)

BD2WGS 百度坐标系->WGS84坐标系

func GCJ2BD

func GCJ2BD(lon, lat float64) (float64, float64)

GCJ2BD 火星坐标系->百度坐标系

func GCJ2WGS

func GCJ2WGS(lon float64, lat float64) (float64, float64)

GCJ2WGS 火星坐标系->WGS84坐标系

func WGS2BD

func WGS2BD(lon float64, lat float64) (float64, float64)

WGS2BD WGS84坐标系->百度坐标系

func WGS2GCJ

func WGS2GCJ(lon float64, lat float64) (float64, float64)

WGS2GCJ WGS84坐标系->火星坐标系

Types

This section is empty.

Jump to

Keyboard shortcuts

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