NAME
Cartography::Projection::GCTP - Perl extension for gctpc projection library
SYNOPSIS
use Cartography::Projection::GCTP;
DESCRIPTION
my($out_x, $out_y) = Cartography::Projection::GCTP->projectCoordinatePair(
$in_x, $in_y,
$in_sys, $in_zone, $in_params, $in_unit, $in_datum,
$out_sys, $out_zone, $out_params, $out_unit, $out_datum
) or die "Projection failed. Error code is " . Cartography::Projection::GCTP->getErrorCode;
See GCTP docs for explanation of parameters. $in_params and $out_params are array
references to the 15-element projection parameter arrays.
Some non-exported constants are defined:
Cartography::Projection::GCTP->P_* projection codes
Cartography::Projection::GCTP->U_* unit codes
For example, the Cartography::Projection::GCTP->P_GEO constant is the code for the geographic
coordinate system. See the GCTP docs for a complete list of projection codes.
EXPORT
None by default.
SEE ALSO
The GCTPc library by the EROS Data Center.
AUTHOR
Dan Stahlke <dstahlke@gi.alaska.edu>
COPYRIGHT AND LICENSE
Copyright 2003 Dan Stahlke
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.