| Age | Commit message (Collapse) | Author |
|
* re-enter pipeline
The pipeline interface is now internally based on the pj_obs_api, which
simplifies the implementation significantly.
This is the first mock up - it compiles fine, but is currently untested
* pipeline code cleaned up
The pipeline code is now based on the PJ_OBS api (although you can still
invoke a pipeline through pj_fwd/pj_inv and their 3D brethren).
This has made it possible to eliminate scores of funky casts and
convoluted workarounds. The code is now way more straightforward and
mostly conforming with common C idioms..
Also, the proj.h / obs_api interface to the logging system has been
streamlined through the introduction of the pj_log_error, pj_log_debug,
and pj_log_trace functions.
* Geodesics + minor changes
First proj.h style interface to Charles Karney's geodesics code:
pj_lp_dist.
Also, renamed pj_apply -> pj_trans
* Extended Ellipsoidal Parameters
Second eccentricity, second and third flattening etc.
* Rename pj_debug_set -> pj_log_level
... and add self test code for PJ_pipeline
* Clean up missing pj_apply->pj_trans
* Clean up missing pj_obs_dist_2d rename
* pj_strerrno bug fixed. Some doc/comments added
(In response to a review by @kbevers)
|
|
|
|
(#445)
This commit reflects continued work on the new rationalized API with
geodetic extensions (see rationale in proj.h). It also reflects the
parallel work on the transformation pipeline reimplementation, by
introducing the PJ_cart cartesian/ellipsoidal converter.
See example/pj_obs_api_test.c for demo example code
|
|
|
|
* Pipeline preliminaries
Introducing the PJ_OBSERVATION data type as the basis for generic geodetic
transformations.
Also introducing the elements of a new minimalistic API focused on
generic geodetic transformations. This API is documented in the new
proj.h header, and is orthogonal (non-intrusive) wrt. the existing API
from proj_api.h
Finally added a large amount of comments to the somewhat intractable
projects.h, and extended the PJ object with a number of additional
ellipsoidal parameters of general geodetic usefulness.
The PJ elements fwdobs and invobs extend fwd3d and inv3d in a homologous
way to how fwd3d and inv3d extend fwd and inv.
|
|
|
|
|
|
Fixes #331
|
|
easting/northing in nad/epsg are all given in meters. So in this case a consistent interface (everything is in the same units) does more harm than good.
|
|
|
|
|
|
refers to the original paper the code is based on.
|
|
Updated origin confirmed in Snyder p.209. Self-test data was based on bad implementation and has been recalculated.
|
|
|
|
multiplied equatorial coordinates by 2
|
|
|
|
|
|
|
|
|
|
Eliminate load time non-computable initializers in healpix
|
|
Implementation of Times projection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Better test data for gs48, gs50 and alsk
|
|
Complete overhaul of Krovak projection code (was "Remove unused C_x parameter from krovak projection.")
|
|
|
|
the given projections. Also fixed spelling error in header.
|
|
|
|
self-test fails on travis
|
|
Using standard variables from P and added an opaque object to P which has shared values used both in forward and inverse calculations. Added more background information to comments.
|
|
last digit changed to 9
|
|
facto standard M_PI and its ilk. Change names that are widely used in the project to be in the M_ namespace, so HALFPI becomes M_HALFPI. HALFPI is #defined as M_PI_2 (the defacto standard name). #defines _USE_MATH_DEFINES for MS Visual Studio (I didn't personally test this part, but Appveyor will not build otherwise).
|
|
|
|
Init CTABLE.id char[80] variable with zeroes, so that nad2bin output does
not depend on memory state before call, and hence be reproducible.
|
|
An intermediate file, PJ_etmerc.c, was mistakenly committed in
1b17a573ffb07e9565e0df296e2a3a21bce8e971
P->pfree and P->descr were being identically reinitialized in a few of
the first files converted - and in the last: proj_etmerc.c
|
|
PJ_aea.c lost one line too many when removing the final stubs in the
previous commit.
|
|
etmerc and utm completes the elimination of the ENTRYx style macros.
|
|
warnings.pj was recently added by mistake
|
|
A few args had gone missing in the test setups for lagrng, ob_tran,
omerc, mod_ster.
A mixed declarations and code case corrected in proj_rouss
A missing include added to test228.c
|
|
manoeuvre
|
|
Eliminated mixed code and declarations, converted C++ style comments and
probably did a few more things highlighted by running gcc with the "-W
-Wall -Wextra -pedantic" flags
|
|
|
|
|