PDL::GIS::Proj - PDL interface to the Proj4 projection library.
PDL interface to the Proj4 projection library.
For more information on the proj library, see: http://www.remotesensing.org/proj/
Judd Taylor, Orbital Systems, Ltd. judd dot t at orbitalsystems dot com
18 March 2003
- Getting ready to merge this into the PDL CVS.
- Can't remember what was in that version
- The get_proj_info() function actually works now.
- Added get_proj_info().
- Changed from using the proj_init() type API in projects.h to the - proj_init_plus() API in proj_api.h. The old one was not that stable...
- Initial version
Copyright 2003 Judd Taylor, USF Institute for Marine Remote Sensing (judd@marine.usf.edu).
GPL Now!
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Proj4 forward transformation $params is a string of the projection transformation parameters.
Returns two pdls for x and y values respectively. The units are dependent on Proj4 behavior. They will be PDL->null if an error has occurred.
BadDoc: Ignores bad elements of $lat and $lon, and sets the corresponding elements of $x and $y to BAD
Proj4 inverse transformation $params is a string of the projection transformation parameters.
Returns two pdls for lat and lon values respectively. The units are dependent on Proj4 behavior. They will be PDL->null if an error has occurred.
Returns a string with information about what parameters proj will actually use, this includes defaults, and +init=file stuff. It's the same as running 'proj -v'. It uses the proj command line, so it might not work with all shells. I've tested it with bash.
To install PDL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PDL
CPAN shell
perl -MCPAN -e shell install PDL
For more information on module installation, please visit the detailed CPAN module installation guide.