aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-11Add missing ! in boolean evaluation. Fixes #780.Kristian Evers
2018-02-11Merge pull request #790 from kbevers/fix-proj_api.hKristian Evers
Fix proj.h + proj_api.h inclusion errors
2018-02-11Add proj_context_errno to API and missing proj_geod to proj.def (#791)Thomas Knudsen
2018-02-11Make sure that #define's work properly when including proj_api.h and proj.h ↵Kristian Evers
together.
2018-02-10Re-do pull request #451 export CMake targets with PROJ4:: namespaceCharles Karney
This version takes to add the include path to the target definition for cmake 2.8.11 and later. Also the documentation sticks to the existing convention of using cmake variables ${PROJ4_LIBRARIES} and ${PROJ4_INCLUDE_DIRS}. However, the namespace variables are still being included. Here's the roll-out plan (0) Version 4.9.x: The target is proj and PROJ4_LIBRARIES is set to this. (1) Version 5.0.x: Two targets, proj and PROJ4::proj, are defined; PROJ4_LIBRARIES = proj. (2) In a year or two: Two targets, proj and PROJ4::proj, are defined; PROJ4_LIBRARIES = PROJ4::proj. (3) With a change in the library which breaks backwards compatibility: The target is PROJ4::proj and PROJ4_LIBRARIES = PROJ4::proj.
2018-02-10Make the 4D API fully 4D (#788)Thomas Knudsen
Make 4D API fully 4D: Remove PJ_XY, PJ_LP, PJ_XYZ, PJ_LPZ etc. from the API surface and make all formal parameters of the API fully 4D PJ_COORD. This operation primarily influences the proj_XXX_dist functions, which mostly work by calling Charles Karney's geodesic subsystem, keeping the distance, and throwing away the start and end azimuths for the geodesic computed. Also a PJ_GEOD(esic) persona is introduced for the PJ_COORD type. The proj_geod function returns a PJ_GEOD, representing the geodesic between the points represented by its PJ_COORD arguments. Finally, the proj_factors functions had its lp argument changed from PJ_LP to PJ_COORD.
2018-02-10Merge pull request #786 from busstoptaktik/interdependent-wrap-upsThomas Knudsen
Interdependent wrap ups
2018-02-10Update a few gie testsThomas Knudsen
2018-02-10Relax tolerance slightly for two tests failing on OS/XThomas Knudsen
2018-02-10Handle sign convention for vertical datum shiftsThomas Knudsen
Also make corresponding sign corrections in a number of tests, and comment out a few tests which work correctly, but report failure since gie is not yet ready to handle unusual axis orders in cases with angular output coordinates.
2018-02-10update gie tests to agree with improved gie distance handlingThomas Knudsen
2018-02-10Fix numerous bugs in the cs2cs emulationThomas Knudsen
2018-02-10pj_init: set ellipsoid if given, even if not neededThomas Knudsen
2018-02-10gie: repair handling of angular distancesThomas Knudsen
2018-02-10Add BETA2007 grid and change potsdam datum (#383)Even Rouault
Functionnaly equivalent to https://github.com/OSGeo/proj.4/pull/371 by Jürgen Fischer See http://crs.bkg.bund.de/crseu/crs/descrtrans/BeTA/de_dhdn2etrs_beta.php Confirmed with Uwe Schmitz <uwe.schmitz@bezreg-koeln.nrw.de> that free redistribution is allowed and welcome.
2018-02-09Merge pull request #781 from kbevers/PJ_prefixesKristian Evers
Avoid XY, LP and UV datatype clashes with other libraries.
2018-02-09Merge pull request #779 from kbevers/fix-numerical-issuesKristian Evers
Avoid numerical differences on -amd64 architectures
2018-02-09Relaxing tolerances in a few tests to fix #778.Kristian Evers
2018-02-09Avoid XY, LP and UV datatype clashes with other libraries.Kristian Evers
Remove unnecessary definitions of UV and UVW from project.h that collides with external libraries. To prevent similar problems in the future the datatypes XY, LP, UV, XYZ, LPZ and UVW has been prefixed by PJ_ in proj.h and proj_internal.h
2018-02-07Merge pull request #777 from sebastic/manpage-sectionKristian Evers
Fix manpage section for pj_init (again).
2018-02-07Fix manpage section for pj_init.Bas Couwenberg
2018-02-07Shrink PJ_XXX_INFO structs, but keep same syntax. (#775)Thomas Knudsen
* Shrink PJ_XXX_INFO structs, but keep same syntax. A number of the fixed length strings in the INFO structs are simply reflections of material that already exists as static strings at a number of places in the library (or in the case of PJ_INFO, really *should* exist, and now is implemented). This PR replaces these cases of constant length strings with const char pointers. The usage syntax is unchanged, and so is the nice property of having the return value allocated on the stack, and hence not requiring explicit memory management by the caller. proj_info now only does setup once - and the searchpath entry of PJ_INFO is not arbitrarily truncated at 512 bytes. Repeated calls simply returns a copy of already prepared material. The id, description and definition entries of PJ_PROJ_INFO are now also guaranteed to hold the entire text of the corresponding static string, by being represented by a const char pointer to that actual static string. PJ_GRID_INFO and PJ_INIT_INFO (i.e. the two smallest INFO structs) are unchanged. * Eliminate pj_strlcpy - not needed anymore: Remining calls could safely be replaced by strncpy. * Extend PROJ_INFO with paths from pj_set_searchpath. NOTE: Need to call pj_set_searchpath before first call to proj_info Huge thanks to Kristian Evers and Even Rouault for comments, debugging and advice.
2018-02-06Merge pull request #776 from kbevers/gie_skip_errorsKristian Evers
Let gie skip tests when specific errors are returned.
2018-02-06Use PROJ_LIB explicitly for gie tests and if it is not set change it to nad/Kristian Evers
2018-02-06Use a grid in API selftest that we can always rely on being present.Kristian Evers
2018-02-06Make pj_free return with the correct errno.Kristian Evers
Error codes can't be specified directly in pj_free. With this change the error number in proj_errno() is passed on to P->destructor to ensure that we communicate the correct reason why the PJ object is being freed. This was a problem in the cs2cs_emulation setup when auxillary operations failed to create. The error was not propagated properly when destroying the parent object.
2018-02-06Skip gie tests that require gridsKristian Evers
2018-02-06Let gie skip tests when specific errors are returned.Kristian Evers
Introducing a new keyword 'skiperror' that when given a error code like pjd_err_failed_to_load_grid will skip tests if that error is returned when creating the operation. This is useful for grids that can't be located.
2018-02-06Merge pull request #773 from kbevers/granular-testsKristian Evers
Make gie tests in autoconf setup more granular.
2018-02-06Merge pull request #771 from busstoptaktik/gie_cct_versionKristian Evers
Add --version option to gie and cct.
2018-02-05Make gie tests in autoconf setup more granular.Kristian Evers
2018-02-05Add EPSG definitions to failing gigs test 5108.gie_failingThomas Knudsen
2018-02-05Make a README from README.md when running 'make dist' (#772)Kristian Evers
Make a README from README.md when running 'make dist'. README.md is stripped from the CI status images that is displayed on GitHub, but other README is just a copy of README.md. Adjusted travis/install.sh so that 'make dist-all' is not run on the source distribution.
2018-02-04Add --version option to gie and cct.Thomas Knudsen
Additionally correct a spelling error in optargpm.h and remove two lines of leftover cruft from gie.c
2018-02-04Add Makefile rule that handles non-standard README.md filenameKristian Evers
2018-02-04Merge pull request #761 from mloskot/ml/readme-in-markdownKristian Evers
Move README to README.md in Markdown
2018-02-03Move README to README.md in MarkdownMateusz Loskot
Add badgest for CI builds. Add sections about building with CMake.
2018-02-03Reference PROJ instead of PROJ.4 [skip ci]Kristian Evers
2018-02-03Merge pull request #765 from sebastic/soversionKristian Evers
Fix SOVERSION for Automake build.
2018-02-03Merge pull request #766 from sebastic/manpagesKristian Evers
Add manpages for cct & gie.
2018-02-03Merge pull request #768 from sebastic/manpage-sectionKristian Evers
Fix manpage section for pj_init.
2018-02-03Merge branch 'master' into manpage-sectionKristian Evers
2018-02-03Merge pull request #767 from sebastic/manpage-formattingKristian Evers
Don't limit line length in manpages.
2018-02-02Fix manpage section for pj_init.Bas Couwenberg
2018-02-02Don't limit line length in manpages.Bas Couwenberg
2018-02-02Don't limit line length in manpages.Bas Couwenberg
2018-02-02Add manpages for cct & gie.Bas Couwenberg
Fixes: #760
2018-02-02Fix SOVERSION for Automake build.Bas Couwenberg
Fixes: #763
2018-02-02Merge pull request #762 from sebastic/link-libmKristian Evers
Add AC_SEARCH_LIBS for libm to configure.ac.
2018-02-02Add AC_SEARCH_LIBS for libm to configure.ac.Bas Couwenberg
Fixes: #759