aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/PJ_krovak.c26
-rw-r--r--src/PJ_nzmg.c45
2 files changed, 55 insertions, 16 deletions
diff --git a/src/PJ_krovak.c b/src/PJ_krovak.c
index 15f7ba7e..4781d727 100644
--- a/src/PJ_krovak.c
+++ b/src/PJ_krovak.c
@@ -1,11 +1,12 @@
-/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- * pj_qv_krovak.c
+/******************************************************************************
+ * $Id$
*
- * Krovak Projection for Proj.4
- * Definition: http://www.ihsenergy.com/epsg/guid7.html#1.4.3
- *
- * last change 5. April 2002
+ * Project: PROJ.4
+ * Purpose: Implementation of the krovak (Krovak) projection.
+ * Definition: http://www.ihsenergy.com/epsg/guid7.html#1.4.3
+ * Author: Thomas Flemming, tf@ttqv.com
*
+ ******************************************************************************
* Copyright (c) 2001, Thomas Flemming, tf@ttqv.com
*
* Permission is hereby granted, free of charge, to any person obtaining a
@@ -26,6 +27,11 @@
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
+ ******************************************************************************
+ *
+ * $Log$
+ * Revision 1.2 2002/12/14 19:35:21 warmerda
+ * updated headers
*
*/
@@ -37,9 +43,8 @@
#include <string.h>
#include <stdio.h>
-/*
- * insert this line to pj_list.h
- */
+PJ_CVSID("$Id$");
+
PROJ_HEAD(krovak, "Krovak") "\n\tPCyl., Sph.";
FORWARD(s_forward); /* spheroid */
@@ -216,6 +221,3 @@ ENTRY0(krovak)
P->fwd = s_forward;
ENDENTRY(P)
-
-
-/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
diff --git a/src/PJ_nzmg.c b/src/PJ_nzmg.c
index 2606cb4c..23091a5d 100644
--- a/src/PJ_nzmg.c
+++ b/src/PJ_nzmg.c
@@ -1,10 +1,47 @@
-#ifndef lint
-static const char SCCSID[]="@(#)PJ_nzmg.c 4.1 94/02/15 GIE REL";
-#endif
-/* very loosely based upon DMA code by Bradford W. Drew */
+/******************************************************************************
+ * $Id$
+ *
+ * Project: PROJ.4
+ * Purpose: Implementation of the nzmg (New Zealand Map Grid) projection.
+ * Very loosely based upon DMA code by Bradford W. Drew
+ * Author: Gerald Evenden
+ *
+ ******************************************************************************
+ * Copyright (c) 1995, Gerald Evenden
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ ******************************************************************************
+ *
+ * $Log$
+ * Revision 1.3 2002/12/14 19:37:29 warmerda
+ * updated headers
+ *
+ */
+
+/* */
#define PJ_LIB__
#include <projects.h>
+
+PJ_CVSID("$Id$");
+
PROJ_HEAD(nzmg, "New Zealand Map Grid") "\n\tfixed Earth";
+
#define EPSLN 1e-10
#define SEC5_TO_RAD 0.4848136811095359935899141023
#define RAD_TO_SEC5 2.062648062470963551564733573