Skip to content

Commit

Permalink
Merge 74d082a into 03011fb
Browse files Browse the repository at this point in the history
  • Loading branch information
schwehr committed May 14, 2018
2 parents 03011fb + 74d082a commit d2d47f0
Show file tree
Hide file tree
Showing 12 changed files with 42 additions and 34 deletions.
3 changes: 3 additions & 0 deletions src/PJ_axisswap.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ It is only necessary to specify the axes that are affected by the swap

#define PJ_LIB__
#include <errno.h>
#include <stdlib.h>
#include <string.h>

#include "proj_internal.h"
#include "projects.h"

Expand Down
8 changes: 4 additions & 4 deletions src/PJ_bacon.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# define HLFPI2 2.46740110027233965467 /* (pi/2)^2 */
# define EPS 1e-10
#define PJ_LIB__
#include <errno.h>
#include "projects.h"
#include <errno.h>
#include <math.h>

#include "projects.h"


struct pj_opaque {
Expand Down Expand Up @@ -75,5 +77,3 @@ PJ *PROJECTION(ortel) {
P->fwd = s_forward;
return P;
}


6 changes: 3 additions & 3 deletions src/PJ_bipc.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#define PJ_LIB__
#include "proj.h"
#include <errno.h>
#include <math.h>

#include "proj.h"
#include "projects.h"
#include "proj_math.h"

Expand Down Expand Up @@ -170,5 +172,3 @@ PJ *PROJECTION(bipc) {
P->es = 0.;
return P;
}


8 changes: 4 additions & 4 deletions src/PJ_boggs.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#define PJ_LIB__
# include <errno.h>
# include "projects.h"
#include <math.h>

#include "projects.h"

PROJ_HEAD(boggs, "Boggs Eumorphic") "\n\tPCyl., no inv., Sph.";
# define NITER 20
# define EPS 1e-7
Expand Down Expand Up @@ -39,5 +41,3 @@ PJ *PROJECTION(boggs) {
P->fwd = s_forward;
return P;
}


11 changes: 4 additions & 7 deletions src/PJ_calcofi.c
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
#define PJ_LIB__

#include <math.h>

#include "proj.h"
#include "projects.h"
#include "proj_api.h"

PROJ_HEAD(calcofi,
"Cal Coop Ocean Fish Invest Lines/Stations") "\n\tCyl, Sph&Ell";

#include <string.h>
#include <stdio.h>
#include <math.h>
#include "proj_api.h"
#include <errno.h>

/* Conversions for the California Cooperative Oceanic Fisheries Investigations
Line/Station coordinate system following the algorithm of:
Expand Down Expand Up @@ -162,5 +161,3 @@ PJ *PROJECTION(calcofi) {
}
return P;
}


4 changes: 2 additions & 2 deletions src/PJ_cart.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
*****************************************************************************/

#define PJ_LIB__

#include "proj_internal.h"
#include "projects.h"
#include "proj_math.h"
#include <stddef.h>
#include <errno.h>

PROJ_HEAD(cart, "Geodetic/cartesian conversions");


Expand Down
10 changes: 6 additions & 4 deletions src/PJ_cass.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#define PJ_LIB__
# include <errno.h>
# include "projects.h"

#include <errno.h>
#include <math.h>

#include "projects.h"

PROJ_HEAD(cass, "Cassini") "\n\tCyl, Sph&Ell";


Expand Down Expand Up @@ -115,5 +119,3 @@ PJ *PROJECTION(cass) {

return P;
}


5 changes: 3 additions & 2 deletions src/PJ_cc.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#define PJ_LIB__

#include <math.h>

#include "proj.h"
#include "projects.h"

Expand Down Expand Up @@ -36,5 +39,3 @@ PJ *PROJECTION(cc) {

return P;
}


5 changes: 3 additions & 2 deletions src/PJ_cea.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#define PJ_LIB__

#include <errno.h>
#include <math.h>

#include "proj.h"
#include "projects.h"

Expand Down Expand Up @@ -96,5 +99,3 @@ PJ *PROJECTION(cea) {

return P;
}


5 changes: 3 additions & 2 deletions src/PJ_chamb.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#define PJ_LIB__

#include <errno.h>
#include <math.h>

#include "proj.h"
#include "projects.h"

Expand Down Expand Up @@ -134,5 +137,3 @@ PJ *PROJECTION(chamb) {

return P;
}


4 changes: 3 additions & 1 deletion src/PJ_collg.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#define PJ_LIB__

#include <math.h>

#include "proj.h"
#include "projects.h"

Expand Down Expand Up @@ -48,4 +51,3 @@ PJ *PROJECTION(collg) {

return P;
}

7 changes: 4 additions & 3 deletions src/PJ_comill.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ Port to PROJ.4 by Bojan Savric, 4 April 2016
*/

#define PJ_LIB__
#include "projects.h"

#include <math.h>

#include "projects.h"

PROJ_HEAD(comill, "Compact Miller") "\n\tCyl., Sph.";

Expand Down Expand Up @@ -79,5 +82,3 @@ PJ *PROJECTION(comill) {

return P;
}


0 comments on commit d2d47f0

Please sign in to comment.