1Proj(3) User Contributed Perl Documentation Proj(3)
2
3
4
6 PDL::GIS::Proj - PDL interface to the Proj4 projection library.
7
9 PDL interface to the Proj4 projection library.
10
11 For more information on the proj library, see:
12 http://www.remotesensing.org/proj/
13
15 Judd Taylor, Orbital Systems, Ltd. judd dot t at orbitalsystems dot
16 com
17
19 18 March 2003
20
22 1.32 (29 March 2006) Judd Taylor
23 - Getting ready to merge this into the PDL CVS.
24
25 1.31 (???) Judd Taylor
26 - Can't remember what was in that version
27
28 1.30 (16 September 2003) Judd Taylor
29 - The get_proj_info() function actually works now.
30
31 1.20 (24 April 2003) Judd Taylor
32 - Added get_proj_info().
33
34 1.10 (23 April 2003) Judd Taylor
35 - Changed from using the proj_init() type API in projects.h to the
36 - proj_init_plus() API in proj_api.h. The old one was not that stable...
37
38 1.00 (18 March 2003) Judd Taylor
39 - Initial version
40
42 Copyright 2003 Judd Taylor, USF Institute for Marine Remote Sensing
43 (judd@marine.usf.edu).
44
45 GPL Now!
46
47 This program is distributed in the hope that it will be useful, but
48 WITHOUT ANY WARRANTY; without even the implied warranty of
49 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
50
52 fwd_transform($lon(pdl), $lat(pdl), $params)
53 Proj4 forward transformation $params is a string of the projection
54 transformation parameters.
55
56 Returns two pdls for x and y values respectively. The units are
57 dependant on Proj4 behavior. They will be PDL->null if an error has
58 occurred.
59
60 BadDoc: Ignores bad elements of $lat and $lon, and sets the
61 corresponding elements of $x and $y to BAD
62
63 inv_transform($x(pdl), $y(pdl), $params)
64 Proj4 inverse transformation $params is a string of the projection
65 transformation parameters.
66
67 Returns two pdls for lat and lon values respectively. The units are
68 dependant on Proj4 behavior. They will be PDL->null if an error has
69 occurred.
70
71 BadDoc: Ignores bad elements of $lat and $lon, and sets the
72 corresponding elements of $x and $y to BAD
73
74 get_proj_info($params_string)
75 Returns a string with information about what parameters proj will
76 actually use, this includes defaults, and +init=file stuff. It's the
77 same as running 'proj -v'. It uses the proj command line, so it might
78 not work with all shells. I've tested it with bash.
79
80
81
82perl v5.12.3 2011-03-31 Proj(3)