aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-01Merge pull request #1649 from cffk/geod-1.50-fixCharles Karney
Fix some Cppcheck complaints in geodesic routines
2019-10-01Fix some Cppcheck complaints in geodesic routinesCharles Karney
2019-10-01Add rotation support to the HEALPix projection (#1638)Simon Schneegans
2019-09-30Merge pull request #1642 from rouault/improve_compound_to_geogEven Rouault
Improve vertical transformation support
2019-09-30Merge pull request #1645 from rouault/improve_proj_string_parsingEven Rouault
PROJ string CRS ingester: recognize more unit-less parameters, and general handling of +key=string_value parameters
2019-09-30AuthorityFactory::getDescriptionText(): return CRS object in priorityEven Rouault
2019-09-28PROJ string CRS ingester: recognize more unit-less parameters, and general ↵Even Rouault
handling of +key=string_value parameters
2019-09-28test/gie/builtins.gie: remove unused parametersEven Rouault
2019-09-26Improve vertical transformation supportEven Rouault
When we had a transformation between a compoundCRS and a target geographicCRS, we did not take into account that in the vertical->other_geog_CRS transformation we used, the other_geog_CRS was an implicit interpolation CRS. Thus before doing vertical adjustment, we must go to this interpolation CRS. The workflow is thus: source CRS -> interpolation CRS + vertical adjustment + interplation CRS -> target CRS
2019-09-26Merge pull request #1641 from ↵Even Rouault
rouault/fix_proj_create_crs_to_crs_if_only_ballpark_transf proj_create_crs_to_crs(): fix when there are only transformations with ballpark steps
2019-09-26proj_create_crs_to_crs(): fix when there are only transformations with ↵Even Rouault
ballpark steps Currently we would discard all operations, resulting in a PJ object with zero candidates. Better use those operations if nothing better is available. Was seen on transforming from ETRS89 / UTM zone 31N + EGM96 height to WGS 84 (G1762). The horizontal transformation from ETRS89 to WGS 84 (G1762) is a ballpark one.
2019-09-26Merge pull request #1640 from rouault/detect_CS_useKristian Evers
travis/install.sh: add a way of detecting problematic use of CS identifier for Solaris compat
2019-09-25travis/install.sh: add a way of detecting problematic use of CS identifier ↵Even Rouault
for Solaris compat
2019-09-25Merge pull request #1637 from rouault/fix_solaris_buildEven Rouault
io.cpp: fix build on Solaris
2019-09-25isea: avoid shadowing warning on 'quad' on SolarisEven Rouault
Patch proj-6.2.0-isea.gpatch by Eric Dechaux
2019-09-25hatano/mbtfpp: do not use CS to fix Solaris build issueEven Rouault
Patches proj-6.2.0-hanato.gpatch and proj-6.2.0-mbtfpp.gpatch from Eric Dechaux
2019-09-25Merge pull request #1634 from mwtoews/ciMike Taves
Upgrade Travis CI distribution
2019-09-25Upgrade testing from trusty to xenial, and also:Mike Taves
* From openjdk-7 via apt to openjdk-11 via Travis CI xenial's $JAVA_HOME * From mingw 4.8 -> 5.3, as supported by xenial * clang+llvm for csa kept at version 6.0.0, but for ubuntu-16.04 * Furthermore xenial implicitly has many upgrades, specifically: - gcc 4.8.4 -> 5.4.0 - clang 4.0.0 -> 5.0.0 - cmake 3.9.2 -> 3.12.4 - python 3.4.3 -> 3.5.2 * cppcheck version kept at 1.61 (for trusty) due to many false positives with version 1.72 (for xenial) * Community code contribution documentation simplified to remove version of cppcheck, as this may outdated with updates to scripts
2019-09-25Rearrange Travis CI scripts to be more modularMike Taves
* Split global before_install for apt and pip * Use -qq option for apt-get, which implies -y * Use list of targets with apt-get rather than one-per-line * Use local variables for mingw32/install.sh * Show version info for cppcheck, pip and python * Simplify clang+llvm-6 path
2019-09-24io.cpp: fix build on SolarisEven Rouault
Rename CS template argument, to avoid conflict with macro in Solaris system headers. Similar to 2f8bd934860b135044c5122e3272f7cc41ba81e7
2019-09-24Database: update to EPSG 9.8.2 (#1633)Kristian Evers
Database: update to EPSG 9.8.2
2019-09-24createOperations() sorting: sort operations that cannot be exported as PROJ ↵Even Rouault
pipelines at end
2019-09-23Database: update to EPSG 9.8.2Even Rouault
With limitation of https://github.com/OSGeo/PROJ/issues/1632 regarding concatenated operations with more than 3 steps.
2019-09-23Merge pull request #1631 from rouault/fix_1623Even Rouault
Document the autopromotion to 3D when mix of 2D/3D CRS in createOperations(), and test it (fixes #1623)
2019-09-23Document the autopromotion to 3D when mix of 2D/3D CRS in ↵Even Rouault
createOperations(), and test it (fixes #1623)
2019-09-23Merge pull request #1630 from snowman2/promoteKristian Evers
promote proj_assign_context to proj.h from proj_experimental.h
2019-09-22promote proj_assign_context to proj.h from proj_experimental.hsnowman2
2019-09-22Merge pull request #1629 from cffk/geod-1.50Charles Karney
Update to version 1.50 of the geodesic library.
2019-09-22Update to version 1.50 of the geodesic library.Charles Karney
* Allow arbitrarily complex polygons in geod_polygon_*. In the case of self-intersecting polygons the area is accumulated "algebraically", e.g., the areas of the 2 loops in a figure-8 polygon will partially cancel. * Simplify code by using C99 functions remainder and remquo. * More test coverage. Fixes to associated files: * src/pipeline.cpp invoke geod_init with f = es / (1 + sqrt(1 - es)) instead of (the less accurate) f = 1 - sqrt(1 - es) * src/apps/geod_set.cpp remove "#undef f" (a dangling relic?).
2019-09-22Merge pull request #1626 from cffk/vs-version-checkCharles Karney
Improve Visual Studio compatibility check in CMake.
2019-09-22Merge branch 'master' into vs-version-checkCharles Karney
Incorportate fix to travis/linux_gcc/before_install.sh
2019-09-22Merge pull request #1627 from ↵Even Rouault
rouault/fix_linux_gcc_config_wrt_sphinxontrib_bibtex Travis linux_gcc: force sphinxcontrib-bibtex version to avoid issue with installing sphinx >= 2.0
2019-09-22Travis linux_gcc: force sphinxcontrib-bibtex version to avoid issue with ↵Even Rouault
installing sphinx >= 2.0
2019-09-22Revert travis change -- it didn't work.Charles Karney
2019-09-21Manually install sphinxcontrib-bibtex for travis/linux_gcc to resolve travis ↵Charles Karney
error
2019-09-21Back out of previous commit mistakenly pushed to masterCharles Karney
2019-09-21Manually install sphinxcontrib-bibtex for travis/linux_gcc to resolve travis ↵Charles Karney
error
2019-09-21Improve Visual Studio compatibility check in CMake.Charles Karney
Make the setting of major toolset version variables parallel that for cross-compilation. Add comments so it's easier for the next person looking at this code to figure what's going on. Note: no need to unset variables at the end of the version check file (the file is read in a nested scope).
2019-09-20Merge pull request #1625 from hobu/cmake-proj_lib-testsKristian Evers
set PROJ_LIB on test targets for CMake
2019-09-19Merge pull request #1624 from cffk/c99-upgradeCharles Karney
Require C99 compiler see #1621
2019-09-19address PR commentsHoward Butler
2019-09-19set PROJ_LIB on test targets for CMakeHoward Butler
2019-09-19Require C99 compiler see #1621Charles Karney
cmake and autoconf now stipulate C99 change c89 to c99 in travis jobs remove HAVE_C99_MATH checks (unrelated) relax Visual Studio compatibility check in cmake/project-config-version.cmake.in (VS 2019 can use a VS 2015 library but not vice versa).
2019-09-19Merge pull request #1618 from cffk/c99-math-updateCharles Karney
Remove unneeded C99 compatibility functions from math.cpp and proj_math.h I'll do the clean up of the -std=c89 flags etc. as a separate pull request.
2019-09-18Manually delete pj_isnan in scripts/reference_exported_symbols.txt.Charles Karney
Evidently the order of entries matters and the order might depend the platform used to create libproj.so
2019-09-18Delete proj_math.h. Replace includes by <math.h>; we'll see if anyoneCharles Karney
needs <limits.h>. Update scripts/reference_exported_symbols.txt and src/proj_symbol_rename.h.
2019-09-18math.cpp removed since its isnan isn't used. Keep proj_math.h (whichCharles Karney
just includes math.h and limits.h) since it's included in a score of places.
2019-09-18Get rid of dead code. The end result of this chain of commits is toCharles Karney
eliminate most of math.cpp. All that is left is the handling of isnan (and I've this because math.cpp notes that gie.c uses pj_isnan). geodesic.c now handles supplying C99 math functions internally and this can go away once C99 support is mandated.
2019-09-18Merge pull request #1620 from rouault/ossfuzz_17190_and_othersEven Rouault
Assorted set of fixes for boring oss-fuzz related errors (mostly divisions by zero in odd situations)
2019-09-18Let geodesic.c use its own versions of C99 math functions if necessary.Charles Karney