JTSK
Convert from JTSK to WGS84.
Based on JTSK Converter by @josefzamrzla.
Installation
Add this line to your application's Gemfile:
gem 'jtsk'
And then execute:
$ bundle
Or install it yourself as:
$ gem install jtsk
Usage
converter = JTSK::Converter.new
x = 1043033.89
y = 738371.58
result = converter.to_wgs84(x, y) #=> #<struct JTSK::Wgs84Result latitude=50.092696246901404, longitude=14.482746557404647>
result.latitude #=> 50.092696246901404
result.longitude #=> 14.482746557404647
Contributing
- Fork it ( https://github.com/[my-github-username]/jtsk/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request