GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - geoscript/geoscript-ruby: GeoScript for JRuby

BranchesTags
Open more actions menu

Latest commit

 

History

59 Commits
59 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
lib
lib
 
 
.gitignore
.gitignore
 
 
Gemfile
Gemfile
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
Rakefile
Rakefile
 
 
geoscript.gemspec
geoscript.gemspec
 
 

Repository files navigation

geoscript-ruby

GeoScript for JRuby

If in development, run mvn install to get GeoTools dependencies

# installed gem
# %> geoscript

# development
# %> rake console
# or
# %> bin/geoscript

require 'geoscript'
# => true
include GeoScript::Geom
# => Object

p = Point.new -111.0, 45.7
# => #<GeoScript::Geom::Point:0x636c4fcb>
p.to_wkt
# => "POINT (-111 45.7)"

p2 = GeoScript::Projection.reproject p, 'epsg:4326', 'epsg:26912'
# => #<GeoScript::Geom::Point:0x6a55c240>
p2.to_wkt
# => "POINT (500000 5060716.313515949)"

poly = p2.buffer 100
# => #<GeoScript::Geom::Polygon:0x7b32aba9>
poly.get_area
# => 31214.451522458345

About

GeoScript for JRuby

Resources

Readme
MIT license
Activity
Custom properties

Stars

12 stars

Watchers

3 watching

Forks

6 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.