geoproj

package
v0.0.0-...-1b6ad0c Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package geoproj contains functions that interface with the PROJ library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProjMetadata

func GetProjMetadata(b geoprojbase.Proj4Text) (bool, *geographiclib.Spheroid, error)

GetProjMetadata returns metadata about the given projection. The return arguments are a bool representing whether it is a latlng, a spheroid object and an error if anything was erroneous was found.

func Project

func Project(
	from geoprojbase.Proj4Text,
	to geoprojbase.Proj4Text,
	xCoords []float64,
	yCoords []float64,
	zCoords []float64,
) error

Project projects the given xCoords, yCoords and zCoords from one coordinate system to another using proj4text. Array elements are edited in place.

Types

This section is empty.

Jump to

Keyboard shortcuts

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