| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
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.
|
|
Avoid XY, LP and UV datatype clashes with other libraries.
|
|
Avoid numerical differences on -amd64 architectures
|
|
|
|
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
|
|
Fix manpage section for pj_init (again).
|
|
|
|
* 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.
|
|
Let gie skip tests when specific errors are returned.
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
Make gie tests in autoconf setup more granular.
|
|
Add --version option to gie and cct.
|
|
|
|
|
|
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.
|
|
Additionally correct a spelling error in optargpm.h and
remove two lines of leftover cruft from gie.c
|
|
|
|
Move README to README.md in Markdown
|
|
Add badgest for CI builds.
Add sections about building with CMake.
|
|
|
|
Fix SOVERSION for Automake build.
|
|
Add manpages for cct & gie.
|
|
Fix manpage section for pj_init.
|
|
|
|
Don't limit line length in manpages.
|
|
|
|
|
|
|
|
Fixes: #760
|
|
Fixes: #763
|
|
Add AC_SEARCH_LIBS for libm to configure.ac.
|
|
Fixes: #759
|
|
Avoid buffer overflow - OSSFuzz issue 5903
|
|
|
|
|
|
Automake updates
|
|
PJ_omerc: Guard against asin calls with arg numerically greater than 1
|
|
All the GIGS JSON files have been converted to the gie format
and are now covered by running "make check". Therefore we no
longer need the Python setup. Removing it from the Travis CI
setup should speed up the test execution time a bit.
|
|
Make sure that the gie files in test/gie and test/gigs are included
in the distribution tarball. Tests with gie are set up to run all
available files matching *.gie in the gie and gigs directories. For
this reason tests that are known to fail in gigs/ have been renamed
to *.gie_failing, so that "make check" can be run in-tree in local
copies of the git repository.
|
|
|
|
Remove COM/VB6 cruft
|
|
Remove Windows CE cruft (wince/msvc80)
|
|
|