double lon; double lat; double *x; double *y;
utmfor(lon, lat, x, y) -- Universal Transverse Mercator (UTM) stplnfor(lon, lat, x, y) -- State Plane alberfor(lon, lat, x, y) -- Albers lamccfor(lon, lat,x, y) -- Lambert Conformal Conic merfor(lon, lat, x, y) -- Mercator psfor(lon, lat, x, y) -- Polar Stereographic polyfor(lon, lat, x, y) -- Polyconic eqconfor(lon, lat, x, y) -- Equidistant Conic tmfor(lon, lat, x, y) -- Transverse Mercator (TM) sterfor(lon, lat, x, y) -- Stereographic lamazfor(lon, lat, x, y) -- Lambert Azimuthal azimfor(lon, lat, x, y) -- Azimuthal Equidistant gnomfor(lon, lat, x, y) -- Gnomonic orthfor(lon, lat, x, y) -- Orthographic gvnspfor(lon, lat, x, y) -- General Near Side Perspective sinfor(lon, lat, x, y) -- Sinusoidal equifor(lon, lat, x, y) -- Equirectangular millfor(lon, lat, x, y) -- Miller vandgfor(lon, lat, x, y) -- Van der Grinten omerfor(lon, lat, x, y) -- Hotine Oblique Mercator (HOM) robfor(lon, lat, x, y) -- Robinson somfor(lon, lat, x, y) -- Space Oblique Mercator (SOM) alconfor(lon, lat, x, y) -- Alaska Conformal goodfor(lon, lat, x, y) -- Goode molwfor(lon, lat, x, y) -- Mollweide imolwfor(lon, lat, x, y) -- Interrupted Mollweide hamfor(lon, lat, x, y) -- Hammer wivfor(lon, lat, x, y) -- Wagner IV wviifor(lon, lat, x, y) -- Wagner VII obleqfor(lon, lat, x, y) -- Oblated Equal Areainit_for() must be called once before calling any of the above subroutines. For example, if utmfor() is to be called, init_for() must be called setting the UTM projection, UTM zone, and ellipsoid. Then utmfor() may be called as many times as needed even if init_for() is called initializing another projection. The only exception is if init_for() is called initializing UTM with another zone or ellipsoid, then init_for() must be called again to perform the original conversion.
E_SUCC (0) --> Successful completion ERROR (!= 0) --> An error was encountered