Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

CUTM

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

CUTM

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

CUTM

緯度/経度とUTM(zone: 54)の距離座標値の相互変換機能を提供する Ruby ライブラリ.

Example

require 'cutm'

lat = 137.553733
lon = 36.10673

x, y = CUTM.conv2UTM(lat, lon)
#=> [0] 189757.60553051817,
#   [1] 4001288.6214147597

lat2, lon2 = CUTM.conv2DEG(x, y)
#=> [0] 137.55373300007014,
#   [1] 36.10673000180303

Build extention

手動でC拡張をビルドする方法(CUTM.so が得られる):

$ cd ext/cutm
$ ruby extconf.rb
$ make

FAQs

Package last updated on 26 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc