Skip to content

JuliaEarth/CoordGridTransforms.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

64039f5 · Dec 13, 2024

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoordGridTransforms.jl

This package adds datum conversions with offset grids to the CoordRefSystems.jl package.

It is developed as a separate package because of its additional dependencies.

Installation

Get the latest stable release with Julia's package manager:

] add CoordGridTransforms

Usage

To use the conversions defined in CoordGridTransforms.jl, use it together with CoordRefSystems.jl in the same environment:

julia> using CoordRefSystems, CoordGridTransforms

julia> c = LatLon{SAD96}(-15, -45)
GeodeticLatLon{SAD96} coordinates
├─ lat: -15.0°
└─ lon: -45.0°

julia> convert(LatLon{SIRGAS2000}, c)
GeodeticLatLon{SIRGAS2000} coordinates
├─ lat: -15.000451566492272°
└─ lon: -45.00042666174454°