Proj(3pm)
π Proj β the PDL::GIS::Proj era π
okay bestie, so this page is from the Perl User Contributed Documentation corner of the manual-verse, and it's all about PDL::GIS::Proj, which is your girl's PDL interface to the PROJ projection library. slay.
β¨ NAME β¨
PDL::GIS::Proj β literally the PDL interface to the PROJ projection library. that's it, that's the vibe. πΊοΈ
π DESCRIPTION π
want more tea on the PROJ library itself? the docs say go peek here: <http://www.proj.org/> π
#line 38 "Proj.pm"
π₯ FUNCTIONS π₯
π« get_proj_info($params_string)
this one hands you back a string packed with info about which parameters proj is actually gonna use β defaults included, plus all that +init=file goodness. it's giving exactly the same energy as running proj -v. π«Ά
heads up: it does this by calling the proj command line, so it might not play nice with every shell out there. the author tested it with bash, so like... iykyk.
π« fwd_transform
Signature: (lonlat(n=2); [o] xy(n); char* params)
the PROJ forward transformation, and $params is a string of the projection transformation parameters. no cap.
it returns a pdl with x, y values chillin' at positions 0, 1. the units are fully dependent on PROJ behavior (not our call, bestie). and if an error happened, they'll be PDL->null. π
it ignores bad elements of $lat and $lon, and sets the corresponding elements of $x and $y to BAD.
fwd_transform processes bad values. it will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. β¨
π« inv_transform
Signature: (xy(n=2); [o] lonlat(n); char* params)
the PROJ inverse transformation, and $params is a string of the projection transformation parameters. yes ma'am. π
it returns a pdl with lon, lat values at positions 0, 1. units are dependent on PROJ behavior, as always. and again, it'll be PDL->null if an error has occurred. π
it ignores bad elements of $lat and $lon, and sets the corresponding elements of $x and $y to BAD.
inv_transform processes bad values. it will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. π
π« proj_version
returns a 3-element list with the PROJ major, minor, and patch version-numbers. three little numbers, one iconic list. π
πΈ AUTHOR πΈ
Judd Taylor, Orbital Systems, Ltd. β judd dot t at orbitalsystems dot com
π COPYRIGHT NOTICE π
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. π«‘ read it and weep (respectfully).
and that's the whole page, bestie β this was served up by perl v5.38.2 and dated 2024-04-10, so go forth and project your little heart out. mwah π slay
π¦ where this page comes from
- ubuntu noble: pdl 1:2.085-1ubuntu1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms