The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

olc - encode/decode/shorten/recover Open Location Codes

SYNOPSIS

olc lat,lon[,length] | addr... encode location as OLC, with optional length (default: 10)

olc fullcode decodes a valid full-length OLC into lat,lon.

olc fullcode lat,lon | addr... shortens a valid full-length OLC based on a reference location, identified either by (lat,lon) or by geocoding an address using Geo::Coder::Google.

olc shortcode lat,lon | addr ... recover a full-length OLC from a shortened code, using a reference location.

DESCRIPTION

olc is a simple wrapper for Geo::OLC.

AUTHOR

J Greely, <jgreely at cpan.org>