BSD Ports

graphics/rubygem-geokit 1.14.0 MidnightBSD

Ruby gem for maps-based apps

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
graphics, rubygems

Description

The Geokit gem provides:

  • Distance calculations between two points on the earth. Calculate the distance in miles, kilometers, meters, or nautical miles, with all the trigonometry abstracted away by Geokit.
  • Geocoding from multiple providers. It supports Google, Yahoo, Geocoder.us, and Geocoder.ca geocoders, and others. It provides a uniform response structure from all of them. It also provides a fail-over mechanism, in case your input fails to geocode in one service.
  • Rectangular bounds calculations: is a point within a given rectangular bounds?
  • Heading and midpoint calculations

In the other systems

SystemPortVersion
MidnightBSDgraphics/rubygem-geokit1.14.0
FreeBSDgraphics/rubygem-geokit1.14.0
DragonFlygraphics/rubygem-geokit1.14.0

Install

Binary package:

mport install geokit

From mports:

cd /usr/mports/graphics/rubygem-geokit && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	geokit>0:graphics/rubygem-geokit

Dependencies

Required by 1

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/geokit-1.14.0.gem96768b40e2b4135f54f170707d391b7acb2764b1fb52cccd33ddc9eda2eff19c76714
Master sites 1
  • RG