Registry / utility / proj4rb

proj4rb

JSON →
library5.0.0rbrubygemsunverified

Ruby bindings for the Proj coordinate transformation library.

gem install proj4rb
INSTALL
IMPORT
SIG · PROJ4RB
P
proj4rb
utilityrubyv5.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Proj4rb
require 'proj4rb'

Transform coordinates from lat/lon to UTM.

require 'proj4rb' src = Proj4rb::Projection.new('+proj=latlong +datum=WGS84') dst = Proj4rb::Projection.new('+proj=utm +zone=33 +datum=WGS84') point = Proj4rb::Point.new(12.0, 55.0) transformed = src.transform(dst, point) puts transformed.x, transformed.y
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
proj4rb — gem install proj4rb · libregistry