aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-22Avoid div-by-zero in rf setupThomas Knudsen
2017-11-22Avoid div-by-0 in to_meter initThomas Knudsen
2017-11-21Central conic projection (gnomonic) implementation (as 'proj=ccon') (#662)Łukasz Komsta
Central conic projection implemented as 'ccon'.
2017-11-20Replace pj_ell_set with reimplementation... (#675)Thomas Knudsen
* Replace pj_ell_set with reimplementation supporting ellipsoid inheritance * remove unreachable code from pj_ell_set.c * Swap steps, so ellps args are read first, in accordance with historical behaviour * Add ellipsoid tests to CI targets * Reduce some optimistic tolerances OS/X appears to have a slightly off float handling, resulting in differences at the nanometer level. Switching to 10 nm.
2017-11-20Increment version number before next releaseKristian Evers
2017-11-20Merge pull request #676 from busstoptaktik/gie-cct-interopThomas Knudsen
Let gie use init-file syntax
2017-11-19Let gie use init-file syntaxThomas Knudsen
2017-11-17Merge pull request #671 from busstoptaktik/use-geoc-in-factorsThomas Knudsen
Switch pj_factors to use proj_geoc_lat
2017-11-16Merge pull request #672 from busstoptaktik/cct-ioThomas Knudsen
Repair double cct io-blunder
2017-11-16Repair non-standard aggregate initializationThomas Knudsen
2017-11-16Repair double cct io-blunderThomas Knudsen
2017-11-16Switch pj_factors to use proj_geoc_latThomas Knudsen
2017-11-16Reintroduce the gie-internal tests.Thomas Knudsen
These were accidentally dropped during PR #669
2017-11-16Introduce geodetic-geocentric conversions ... (#669)Thomas Knudsen
* Introduce geodetic-geocentric conversions, as PJ_xxx style conversion step and as API entry points * minor improvements and minor bug squashing
2017-11-15Fix a few bad links [skip ci]Kristian Evers
2017-11-15Added a transition guide to aid migration from old to new APIKristian Evers
2017-11-15Merge remote-tracking branch 'osgeo/master' into docs-release-4.10.0Kristian Evers
2017-11-15Merge pull request #667 from busstoptaktik/gie-misleading-errmsgThomas Knudsen
Give definition and def'n line no. in "Invalid operation" message
2017-11-15Adjust adjlon to use canonical M_PI defines (#665)Thomas Knudsen
A year or so ago, @micahcochran put quite some effort into rationalizing the PI usage in PROJ.4, by ensuring that a useful number of M_PI related constants were defined in projects.h. But apparently adjlon.c was left behind still using its own set of definitions - perhaps because it bends the values slightly, to avoid unwanted sign switching near the date line. In this PR the "bending trick" is reimplemented using the rationalized M_PI constants only.
2017-11-15Support numerical factors only (#664)Thomas Knudsen
* Support numerical factors only * Make sure h positive. Improve some comments * Let pole overshoot check have effect even for geocentric latitudes * Factor-typological constants, now all returning false, for backwards compatibility
2017-11-15Give definition and definition line no. in message about invalid operationsThomas Knudsen
2017-11-13Removed remaining traces of the built in selftest system (#661)Thomas Knudsen
* Removed remaining traces of the builtin selftest system. Moved all functionality to test/gie * Updated Appveyor and Travis build scripts * Another appveyor script update
2017-11-12Poder autochecking again (WIP) (#652)Thomas Knudsen
* Poder dual autochecking implementation * Debugging aid: Improvements in PJ_vgridshift.c and gie.c * Most likely, the bugbeing tripped is in the gridshift code, so. uncomment suspicious lines in deformation.gie and merge this to support the debugging effort
2017-11-12Merge pull request #660 from busstoptaktik/selftest-removal-vwThomas Knudsen
Remove selftests from projection files starting with v,w
2017-11-12Remove selftests from projection files starting with v,wThomas Knudsen
2017-11-12Merge pull request #659 from busstoptaktik/selftest-removal-rstuThomas Knudsen
Remove selftests from projection files starting with r,s,t,u
2017-11-12Merge pull request #657 from busstoptaktik/selftest-removal-lmThomas Knudsen
Remove selftests from projection files starting with l, m
2017-11-12Merge pull request #658 from busstoptaktik/selftest-removal-nopqThomas Knudsen
Remove selftests from projection files starting with n,o,p,q
2017-11-12Remove selftests from projection files starting with r,s,t,uThomas Knudsen
2017-11-12Remove selftests from projection files starting with n,o,p,qThomas Knudsen
2017-11-12Merge pull request #656 from busstoptaktik/selftest-removal-hijkThomas Knudsen
Remove selftests from projection files starting with h, i, j, k
2017-11-12Remove selftests from projection files starting with l, mThomas Knudsen
2017-11-12Remove selftests from projection files starting with h, i, j, kThomas Knudsen
2017-11-11pj_apply_gridshift_3(): avoid illegal read access with point outside any ↵Even Rouault
grid area. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3960. Credit to OSS Fuzz. master only
2017-11-11PJ_ob_tran: avoid null pointer dereference when underling fwd method is ↵Even Rouault
NULL. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3645. Credit to OSS Fuzz
2017-11-11Fix various memory leaks. Fixes ↵Even Rouault
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3573 , https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3643 and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3641 . Credit to OSS Fuzz
2017-11-11add axisswap documentationKristian Evers
2017-11-11Merge pull request #647 from kbevers/use_have_c99_mathKristian Evers
Use HAVE_C99_MATH instead of _WIN32_ and __ANSI__
2017-11-10Use HAVE_C99_MATH instead of _WIN32_ and __ANSI__Kristian Evers
HAVE_C99_MATH was recently added to the build system as a safer way to determine if non-ansi math functions are available on the current system. Previously different combinations of tests including _WIN32_ and __ANSI__ have been in use, but cases where that strategy has failed is known. Hence this change to a hopefully more robust check of math function availability.
2017-11-10Do not require needless plusses (#651)Thomas Knudsen
proj_create is now indifferent whether or not proj definition terms start with a '+' character. Also, improve gie to support testing this.
2017-11-10Ensure C89 compliance and enable more warnings (#650)Aaron Puchert
* Ensure C89 compliance and enable more warnings According to the contributing guidelines, the library is developed strictly in ANSI C 89. However, this is not enforced. Additionally, we enable more warnings: apart from -Wall and -Wextra we enable a warning that makes sure all enumeration values are covered in a switch statement. When compiling with Clang, we also turn on the warnings -Wc99-extensions and -Wc11-extensions. * Enable all warnings that are used on Travis This makes it easier to notice problems before pushing.
2017-11-08minor clean ups in and around proj_4D_api (#649)Thomas Knudsen
2017-11-08Improved IO predicates (#648)Thomas Knudsen
* enter proj_angular_input and proj_angular_output, exit proj_angular_left and proj_angular_right * remove unused variable 'unit' * In gie: remove unused func 'torad_if_needed', and add static keyword where needed * In gie: add some comments
2017-11-07Fix misleading indent. Newer GCC's chokes on this when compiling with -Wall.Kristian Evers
2017-11-07Merge pull request #645 from kbevers/operations-operations-operationsKristian Evers
Change the initialization type of the some operations
2017-11-07Wrote docs for unitconvert operation [skip-ci]Kristian Evers
2017-11-07Formally change the initialization type of the TRANSFORMATIONS and ↵Kristian Evers
CONVERSIONS that are not PROJECTIONS
2017-11-06Merge pull request #644 from aaronpuchert/use-enumKristian Evers
Use enumerations where appropriate
2017-11-06Use enumerations where appropriateAaron Puchert
Enumerations have the following advantages over #define: - they clearly connect a variable and the allowed constants, - the meaning of code is not obfuscated by integer values, - they are visible to the compiler, which can warn about (possibly) incorrect usage. There should be no functional change.
2017-11-06Merge pull request #642 from kbevers/pipeline-initKristian Evers
Pipeline initialisation improvements