Skip to content

himotoyoshi/simple-geod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Geod

A Ruby wrapper of geodesic.c

Description

This is a Ruby wrapper of Charles Karney's geodesic.c (Geodesic routines implemented in C), which is a part of GeographicLib and is also included in PROJ.4.

Currently, this library wraps two functions geod_direct and geod_inverse in geodesic.c. It provides the geodesic calculation between two geographic points.

Installation

gem install simple-geod

Todo

  • Implementation of the wrappers for geodesicline routines.
  • Implementation of the wrappers for polygon routines.

gl = geod.directline(lat1,lon1,az12,s12) gl = geod.inverseline(lat1,lon1,lat2,lon2) gl.position()

About

A wrapper library of geodesic.c for Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published