Dan Stahlke > Cartography-Projection-GCTP-0.03 > Cartography::Projection::GCTP

Download:
Cartography-Projection-GCTP-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

Cartography::Projection::GCTP - Perl extension for gctpc projection library (deprecated)

SYNOPSIS ^

  use Cartography::Projection::GCTP;

DESCRIPTION ^

  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.

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.

syntax highlighting: