| Age | Commit message (Collapse) | Author |
|
Reset errno when running proj in verbose mode.
|
|
|
|
|
|
Function prototypes were declared twice for the FFIO framework, probably
because FFIO at some point during development existed as a separate
file. With this commit the second set of function prototypes is removed
leaving only the first entry at the top of the file. Similarly duplicate
header inclusions has been removed.
|
|
|
|
|
|
Fixes #920.
|
|
Calcofi refactor
|
|
|
|
|
|
Update docs for apps / manpages
|
|
cmake: fix build with msys where both pthread and win32 threads are detected (fixes #976)
|
|
|
|
|
|
|
|
|
|
error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
|
|
Update documentation and modularize the Java bindings
|
|
(fixes #976)
|
|
|
|
- tabs -> spaces
- IWYU
- #define -> static const typed
- Combine definition and initialization
- Define one var per statement
- Use the defined symbol rather than embedding bare literals
-18 -> PJD_ERR_NON_CON_INV_PHI2
Subset of fixes discussed in #971
|
|
|
|
maintained manually.
|
|
Implement thread-safe creation of proj mutex (fixes #954)
|
|
Move include of math.h inside include guard.
|
|
No reason to include math.h more times.
And balance whitespace a bit
|
|
Remove unneeded pj_is_nan definition
|
|
|
|
|
|
|
|
- Generating the C header file during javac task.
- Provide more accurate information in META-INF/MANIFEST.MF.
- Merge tasks intended to be executed together.
The src/org_proj4_PJ.h file has been re-generated with the most recent Java compiler.
|
|
Update contributor names in copyright header.
|
|
since it was replaced by org_proj4_PJ file since 2012.
|
|
Fixes issues raised in https://lists.osgeo.org/pipermail/gdal-dev/2018-April/048446.html
The use case is that pj_transform() is called from geos projection to something else,
with multiple coordinates. If one of the coordinate tuple fails the inverse
transform of geos, it fails with PJD_ERR_TOLERANCE_CONDITION. Causing all following
coordinates to fail since the error state is not reset.
|
|
Collect custom C99 math functions in proj_math.h
|
|
PJ_isea.c: change local helper functions to void returns
|
|
Code updated to use isnan() instead of pj_is_nan().
|
|
Tried building before committing time
|
|
The return values are not used and do not mean anything.
Similar to #423
|
|
Found on https://github.com/OSGeo/proj.4/commit/2f082b70cbdafdea49bb123e027406089e7ad65b
http://clang.llvm.org/extra/clang-tidy/checks/readability-inconsistent-declaration-parameter-name.html
function 'proj_log_level' has a definition with different parameter names
src/pj_internal.c:374:14: the definition seen here
src/proj.h:364:14: differing parameters are named here: ('level'), in definition: ('log_level')
|
|
|
|
We are relying more and more on C99 math functions. On C89 systems where
those functions are not available our own custom versions of those
functions are used instead. So far these has been spread across the code
base. This commit gathers them in the same file and introduces the
proj_math.h header. The build system checks for C99 math functions. If
not found the proj_math.h header make sure that C99 functions are
defined as their pj_ equivalent.
Ideally proj_math.h is included instead of math.h. This removes the need
for any checks against HAVE_C99_MATH in the code making it easier to
read.
For this commit the functions hypot, log1p and asinh has been taken care
of.
|
|
|
|
False easting and northing should only be applied to projected
coordinates (PJ_IO_UNITS_PROJECTED). This commit removes the option of
false easting/northing on operations suchs as helmert and deformation
that both work on cartesian coordinates.
|
|
Logging with new api
|
|
|
|
When transforming coordinates outside the grid model the deformation
operation failed spectatularly. This is now fixed by checking that the
coordinate is inside the grid. If it isn't an error is returned and a
debugging log message is issued.
Closes #934
|
|
Previous to this commit cct would return the following
$ cct -c 2,3,4 -t 0 -I +proj=cart +ellps=GRS80
BLAH 3579685.56545 508396.50343 5236837.50646
8.0832413787 55.5578176654 99.9833 0.0000
8.0832413787 55.5578176654 99.9833 0.0000
where the second input should not be parsed as a valid coordinate.
With this commit that no longer happens and the input is returned
verbatim back to the user.
Closes #932
|
|
|
|
|