| Age | Commit message (Collapse) | Author |
|
This tests whether the functions are declared in <math.h>. If they are,
then -DHAVE_C99_MATH=1 is added to the C flags. The intention is that
this flag is only seen when building proj.4 and shouldn't be referenced
in any of the installed include files. The next update to geodesic.c
will use this flag.
Left unaddressed is what to do if HAVE_C99_MATH is 0. The strategy in
geodesic.c is to assume that the missing functions will need to be
defined explicitly. A less safe alternative is to assume that the
functions are in fact available in libm and that all that needs to be
done is to declare the functions.
|
|
Better plots for documentation
|
|
|
|
Use NumPy functions a bit more and avoid using np.append too much.
The previous code did not ensure that interpolated points were less than
the tolerance apart.
|
|
|
|
Otherwise, it will try to use pre-installed data instead of a local
copy.
|
|
Plotting script is now more flexible and makes it possible to do more
elaborate setup of each individual plot. This is done by adding a JSON
file that holds a record for each plot in the documentation. A plot
can now be restricted to a given bounding box, and there's a choice
between plotting as polygons or linestrings, as well as both low and
medium resolution data to go choose from.
Plots have not been added to the repository yet, they will show up in
a later commit although most of the work is done here. Most
plots are now done as polygons. Generally speaking the plots that are
still based on line data have show some problems when plotted as
polygons. There is still an unsolved wrap-around problem that should
eventually be fixed.
The land.geosjson dataset has been densified manually at the antartic
to make sure that the land mass is depicted correctly in projected
space.
|
|
When _XOPEN_SOURCE 500 is defined on Solaris 11 the following error message is displayed : "Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications"
As pthread_mutexattr_settype is available without _XOPEN_SOURCE defined, the easier way to fix the error is to disable it.
|
|
Expose pj_factors and pj_deriv in public API.
proj_derivatives() and proj_factors() has been
introduced to the public proj.h API. The new functions are simply
wrappers for the original functions. The h argument of the two functions
has been omitted in the new wrappers as it does not seem to be used very
much (if at all?).
|
|
Eliminated *_ERROR* macros.
|
|
Expanded *_ERROR* macros with calls to proj_errno_set() and proper
returns when necessary. Defined a bunch of new PJD_ERR_ constants in
projects.h that corresponds to the error numbers in pj_strerrno.c. A few
unknown error numbers were replaced by existing ones in pj_strerrno.c.
|
|
|
|
Make sure to use custom hypot() when building as ANSI C
|
|
C99).
|
|
Correcting convergence formula for LCC. Fixes #16.
|
|
|
|
Adding more functions to the proj.h API
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* obs_api revision and improvements: new namespace etc.
* Minor corrections: use unused functions, add missing prototype, added fwd/invcoord to PJ
* Minor correction: MSVC barfs on va_arg type specification. Trying once more with added parens
* Reverting paren correction, which appears to be a non-solution
* Significant improvements to the OBS_API, plus a number of corrections, mostly in test code, to reflect API changes
* Added two missing prototypes
* Adding the proj_transform function and some related checks
* Improvements to proj_transform etc. based on suggestions from Even Rouault
* Reducing the libc include footprint of proj.h - again based on suggestions from Even Rouault
* A few minor corrections
* Eliminate a MSVC warning about non-initialized usage. Not an actual issue, as another check has locked the path, but at least this should calm down MSVC
* Improved support for the errno reset/restore paradigm
* Introduced the internal header proj_internal.h; Moved most non-API stuff from pj_obs_api.c to pj_internal.c
* Adding proj_internal.h to HEADERS_LIBPROJ to solve build problems
* Correcting a few pj...proj blunders in PJ_pipeline.c
* Correcting a few additional blunders in PJ_pipeline.c
* Changed angle-brackets to quotation marks in includes of proj_internal.h
* Some minor build system repairs
* Some PJ_CONTEXT usage simplifications following suggestions by Kristian Evers @kbevers
* Added version numbering to proj.h - Fixes #529
* remove proj_errno_restore macro, provide function implementation
* Add proj_get_definition. Fixes #538
* Added library specific deallocator proj_buffer_free, eliminating a potential cross heap issues on Windows. Thx to Even Rouault for spotting this
* Got rid of a meaningless cast in proj_buffer_free
* Added some missing functions to proj.def (again spotted by @rouault); removed some not-yet-implemented material from proj.h
* Renamed proj_get_definition/proj_buffer_free to proj_definition_create/proj_definition_destroy, for symmetry and clarity
* Renaming the definition handlers to proj_definition_retrieve / proj_free
* Renaming proj_free to proj_release
|
|
Correct calculation of meridian convergence for non-conformal projections
|
|
|
|
With the introduction of transformation pipelines it is now a valid
use case to have more than one +init argument in a proj string. This
commit makes sure that all +init's are expanded.
Added test case to PJ_pipeline.c for use of multiple +init's in a
proj-string.
Fixes #479.
|
|
|
|
* Get PDF build output with Sphinx healthy
* copy pdf to branch for upload on website
|
|
|
|
set correctly on some versions of VS. Fixes #484.
|
|
Fixes #526.
|
|
coding style and mixed whitespace.
|
|
PJ_vgridshift.c: fix memleak in initialization if grid loading fail
|
|
When gridloading fail for one grid, but return a gridlist, we leak the grid list array.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2230. Credit to OSS Fuzz
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2167. Credit to OSS Fuzz
|
|
|
|
|
|
computations using Newton-Raphson. Credit to OSS Fuzz
|
|
|
|
OSS Fuzz
|
|
|
|
Negative values of m and n are not valid. Can for certain values of m
and n result in zero division. An error is raised at projection setup if
m or n is negative.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1836
Credit to OSS-Fuzz.
|
|
Remove confusing macros.
|
|
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2000. Credit to OSS Fuzz
|
|
Avoids zero-division in PJ_helmert.c
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1956
Credit to OSS-Fuzz.
|
|
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1950. Credit to OSS Fuzz
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1932
Credit to OSS Fuzz
|
|
For example +proj=ob_tran +o_proj=hgridshift
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1927
Credit to OSS Fuzz
|