[Proj] Error code for PJD_ERR_GEOCENTRIC and pj_strerrno()

proj-admin at remotesensing.org proj-admin at remotesensing.org
Thu Apr 15 09:11:34 EDT 2004


proj-admin at remotesensing.org wrote:
> Hi all,
> 
> According to the documentation, errors detected by libproj itself should
> always
> have negative numbers, whereas errors in system libraries have positive.
> I recently got error number 100, which turned out to be the following error,
> defined in projects.h:
> 
>     /* datum system errors */
>     #define PJD_ERR_GEOCENTRIC 100
> 
> Is there a reason this error doesn't follow the strategy of the other
> errors,
> and that it isn't "known" by pj_strerrno().

Thomas,

I have no idea why I did it this way.  I have corrected this in CVS.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Proj mailing list