aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-11-20Plumbing for pipelines (#453)Thomas Knudsen
* 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)
2016-11-17Updated CMakeLists to only set the debug postfix if the target is being built.Tom Fili
2016-11-12Pipeline plus api - in continuation of the Genereic Coordinates pull request ↵Thomas Knudsen
(#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
2016-11-08Fixing both scaling and wrap-around issues mentioned in #166Kristian Evers
2016-10-24Generic coordinates (#431)Thomas Knudsen
* 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.
2016-10-20Fixes #138 (spherical tmerc with negative northing gives inverted latitude)Kristian Evers
2016-10-19Fix 'Internation' typo, replace with 'International' (to match PJ_imw_p.c).Bas Couwenberg
2016-10-19Incorrect formula used, changed to comply with Snyder and other sources. ↵Kristian Evers
Fixes #331
2016-10-19Reverting to behaviour of previous version of pj_inv(). Definitions of false ↵Kristian Evers
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.
2016-10-18Convert units for false northing/easting. Fixes #186.Kristian Evers
2016-10-18Allow +alpha=0 and +gamma=0 when using omerc. Applied fix proposed in #195.Kristian Evers
2016-10-18Adjusted coefficient from 1574 to 1575. Changed on basis of #174 which ↵Kristian Evers
refers to the original paper the code is based on.
2016-10-18Fixes #162. Latitude origin was erroneously set to -39 instead of 39. ↵Kristian Evers
Updated origin confirmed in Snyder p.209. Self-test data was based on bad implementation and has been recalculated.
2016-10-18fixes issue #161 [alsk - Inverse problem at the origin long/lat (-152,64)]Kristian Evers
2016-10-18Fixed issue #194 (Bug with the stereographic projection at equator) that ↵Kristian Evers
multiplied equatorial coordinates by 2
2016-10-14Replace calls to fabls with fabs (not using long doubles anyway). Fixes #426.Kristian Evers
2016-10-09Use more consistent description for sch projection.Bas Couwenberg
2016-09-01apply patch for #406 to improve Aitoff performance in some situationsHoward Butler
2016-08-22Changed self-test build behaviour from opt-out to opt-inKristian Evers
2016-08-21Merge pull request #399 from kbevers/non-computable-init-healpixHoward Butler
Eliminate load time non-computable initializers in healpix
2016-08-21Merge pull request #400 from kbevers/times-projectionHoward Butler
Implementation of Times projection
2016-08-18whitespace normalization for proj 4.9.3RC3Howard Butler
2016-08-16fix incorrect Makefile.am definition in de19a33f3003ec4a2c32e40f8421c7fbefbd6e94Howard Butler
2016-08-16add bin_geodtest.cmake and geodtest.c to distributionHoward Butler
2016-08-15increment version numbers for 4.9.3RC1Howard Butler
2016-07-28Implemented Times projectionKristian Evers
2016-07-14Suppressed warning about redefining MUTEX_win32Kristian Evers
2016-07-13Cosmetic changes to improve readabilityKristian Evers
2016-07-13Fixed a few errors that occured during refactoringKristian Evers
2016-07-13Eliminated load time non-computable initializers in healpixKristian Evers
2016-06-14Merge pull request #395 from kbevers/better-test-dataKristian Evers
Better test data for gs48, gs50 and alsk
2016-06-14Merge pull request #385 from kbevers/krovak-without-C_xKristian Evers
Complete overhaul of Krovak projection code (was "Remove unused C_x parameter from krovak projection.")
2016-06-13Adjusted xy tolerances for alsk, gs48 and gs50 a bitKristian Evers
2016-06-13New test data for gs48, gs50 and alsk which is inside the defined areas for ↵Kristian Evers
the given projections. Also fixed spelling error in header.
2016-06-10Make proj -VC selftest return exit code of number of test failures.Micah Cochran
2016-06-08Added +ellps argument to self-test call since it might be the reason the ↵Kristian Evers
self-test fails on travis
2016-06-07Complete overhaul of Krovak projection. Remove unused and duplicate code. ↵Kristian Evers
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.
2016-05-31correct M_PI_HALFPI valueMicah Cochran
last digit changed to 9
2016-05-28Change math constants, similar to PR #372. Use M_ namespace with the de ↵Micah Cochran
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).
2016-05-24Removed unused opaque object (the only parameter, C_x, never used)Kristian Evers
2016-05-23Make nad2bin output reproducible.Bas Couwenberg
Init CTABLE.id char[80] variable with zeroes, so that nad2bin output does not depend on memory state before call, and hence be reproducible.
2016-05-19Removed a few superfluous assignments and an erroneously committed fileThomas Knudsen
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
2016-05-18Adding a missing #endifThomas Knudsen
PJ_aea.c lost one line too many when removing the final stubs in the previous commit.
2016-05-18Refactoring and adding self test for the last two projectionsThomas Knudsen
etmerc and utm completes the elimination of the ENTRYx style macros.
2016-05-11removing erroneously added fileThomas Knudsen
warnings.pj was recently added by mistake
2016-05-11Yet another round of minor correctionsThomas Knudsen
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
2016-05-11P->e was inadvertently changed to Q->E by a too aggressive search/replace ↵Kristian Evers
manoeuvre
2016-05-11Portability cleanups for the code in PR #6 (and a few additional source files)Thomas Knudsen
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
2016-05-04Expanded SPECIAL macroKristian Evers
2016-05-04Eliminating compile warningsKristian Evers