From e8958c284a5c9f336c08c03f150b273acd3dae79 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Sat, 14 Dec 2002 20:16:21 +0000 Subject: added geocentric support, and PJ_CVSID git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1056 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- src/projects.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') diff --git a/src/projects.h b/src/projects.h index eb580a4c..f56025b2 100644 --- a/src/projects.h +++ b/src/projects.h @@ -28,6 +28,9 @@ ****************************************************************************** * * $Log$ + * Revision 1.14 2002/12/14 20:16:21 warmerda + * added geocentric support, and PJ_CVSID + * * Revision 1.13 2002/12/09 16:01:02 warmerda * added prime meridian support * @@ -213,6 +216,7 @@ typedef struct PJconsts { int over; /* over-range flag */ int geoc; /* geocentric latitude flag */ int is_latlong; /* proj=latlong ... not really a projection at all */ + int is_geocent; /* proj=geocent ... not really a projection at all */ double a, /* major axis or radius if es==0 */ e, /* eccentricity */ @@ -364,6 +368,13 @@ struct CTABLE *nad_init(char *); void nad_free(struct CTABLE *); extern char const pj_release[]; +#ifndef DISABLE_CVSID +# define PJ_CVSID(string) static char pj_cvsid[] = string; \ +static char *cvsid_aw() { return( cvsid_aw() ? ((char *) NULL) : pj_cvsid ); } +#else +# define PJ_CVSID(string) +#endif + #ifdef __cplusplus } #endif -- cgit v1.2.3