aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2002-12-14 20:16:21 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2002-12-14 20:16:21 +0000
commite8958c284a5c9f336c08c03f150b273acd3dae79 (patch)
tree095e5804edffc62b45f4b94aabcaf9a9108e9de6 /src
parent8b36ee0e1b7b55c4340f9856ff215c7043c47ab3 (diff)
downloadPROJ-e8958c284a5c9f336c08c03f150b273acd3dae79.tar.gz
PROJ-e8958c284a5c9f336c08c03f150b273acd3dae79.zip
added geocentric support, and PJ_CVSID
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1056 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src')
-rw-r--r--src/projects.h11
1 files changed, 11 insertions, 0 deletions
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