PDL::GIS::Proj(3pm)

PDL::GIS::Proj3pm

Pdl interface to the proj projection library.

Overview

For more information on the PROJ library, see: <http://www.proj.org/> #line 37 "Proj.pm"

Functions

get_proj_info($params_string)

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.

fwd_transform

  Signature: (lonlat(n=2); [o] xy(n); char* params)

PROJ forward transformation $params is a string of the projection transformation parameters.

Returns a pdl with x, y values at positions 0, 1. The units are dependent on PROJ behavior. They will be PDL->null if an error has occurred.

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)

PROJ inverse transformation $params is a string of the projection transformation parameters.

Returns a pdl with lon, lat values at positions 0, 1. The units are dependent on PROJ behavior. They will be PDL->null if an error has occurred.

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 PROJ major, minor, patch version-numbers.

Releases

8 releases since Debian 4.0 (Etch); the text changed 7 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 12

Author

Judd Taylor, Orbital Systems, Ltd. judd dot t at orbitalsystems dot com

From pdl 1:2.081-2 in Debian 12 (Bookworm). Parsed by carta from the page's man source.