Proj(3pm)

NAME
PDL::GIS::Proj - PDL interface to the PROJ projection library.

DESCRIPTION
For more information on the PROJ library, see: <http://www.proj.org/> #line 36 "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.

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.