geojson

package
v0.0.0-...-aa45adf Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func ConvertCoordinates

func ConvertCoordinates(geoStr string, from, to string) string

func FindGeoFeature

func FindGeoFeature(lng, lat float64, adCode int) *geojson.Feature

func FindGeoFeatureByAddCode

func FindGeoFeatureByAddCode(adCode int) *geojson.Feature

func Preload

func Preload(jsonDir string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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