Cartography::Projection::GCTP - Perl extension for gctpc projection library (deprecated)
use Cartography::Projection::GCTP;
Note: this module is only for compatibility with old applications that use GCTPc. All new projects should use Geo::Proj4 with is a wrapper around libproj4. 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.
None by default.
The GCTPc library by the EROS Data Center.
Dan Stahlke <dstahlke@gi.alaska.edu>
Copyright 2003 Dan Stahlke
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Cartography::Projection::GCTP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Cartography::Projection::GCTP
CPAN shell
perl -MCPAN -e shell install Cartography::Projection::GCTP
For more information on module installation, please visit the detailed CPAN module installation guide.