| Age | Commit message (Collapse) | Author |
|
pkg-config: add datadir to proj.pc
|
|
Build: install projinfo(1) with CMake
|
|
Convenience variable pkgdatadir not available at the time this is
configured, datadir/PACKAGE is its value.
Query with:
pkg-config --variable=datadir proj
|
|
|
|
|
|
|
|
|
|
strtod.cpp: remove support for no proj_config.h
|
|
Build: automatically enable system error messages
|
|
The nmake build system has been dropped in favour of CMake which is used
to create proj_config.h.
|
|
Define HAVE_STRERROR during configuration.
Before:
$ cs2cs +proj=latlong +to +proj=latlong dummy
<cs2cs>:
Sys errno: 2: <system mess. texts unavail.>
dummy
After:
$ cs2cs +proj=latlong +to +proj=latlong dummy
<cs2cs>:
Sys errno: 2: No such file or directory
dummy
|
|
aea: avoid division by zero
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13827
Credit to OSS Fuzz
|
|
Allows querying of ellipsoid definitions by auth:code lookup
|
|
Fix ossfuzz 13790 + tweak CI regarding backport branches
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12935
Credit to OSS Fuzz
|
|
Fixes
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2199
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2241
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2390
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7674
Credit to OSS Fuzz
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12266
Credit to OSS Fuzz
|
|
To avoid division by zero of b.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13830
Credit to OSS Fuzz
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13829
Credit to OSS Fuzz
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13828
Credit to OSS Fuzz
|
|
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13790
Credit to OSS Fuzz
|
|
Normalize CMake with cmakelint, 2-space indent
|
|
proj_create_crs_to_crs: better deal with coordinates outside of bbox (fixes #1329)
|
|
#1329)
In case several coordinate operations are returned for a CRS to CRS transformation,
we currently determine the one to use by selecting the first operation whose
bounding box contains the input point.
This commit adds a fallback case where after doing that first iteration and finding
no appropriate candidate, we try again by selecting the first operation available
that does not involve grid based transformations.
|
|
|
|
|
|
Fix some issues raised by latest cppcheck
|
|
database
|
|
- coordinateoperation_internal.hpp: missing 'explicit' keyword
- proj.cpp: unused 'generic' member in enumeration
- init.cpp: useless assignment to a_orig and es_orig, because done again a
few lines below.
- crs.cpp: unused variable
- datum.cpp: inefficient use of find() function
- io.cpp:
* missing 'static' qualifier for method
* useles ternary test (left and right have same value)
- aeqd.cpp: useless assignment of inv and fwd, snice done again a few lines
below
- isea.cpp: useless assignment of resolution and aperture since done again a
few lines below, and with default values when params are absent
- mod_ster.cpp: useless assignment of lp.lam, overriden in below code paths.
- stere.cpp: false positive, but better not modify another variable than the
iterator in a for() loop.
|
|
createOperation(): fix geocent <--> nadgrids+geoidgrids case (fixes #1323)
|
|
Doc updates, most notably rewrite of FAQ
|
|
Various ossfuzz fixes
|
|
More or less all old questions from the FAQ has been removed and
replaced by new questions that align better with the current state of
the project.
|
|
|
|
|
|
|
|
Use 1st eccentricity instead of 2nd eccentricity
|
|
|
|
Fix doc generation with Breathe 4.12.0
|
|
Breathe 4.12.0 (as pulled by MacOSX builds such as
https://travis-ci.com/OSGeo/proj.4/jobs/185395222)
does not seem to like default initialization in documented C++ structs (regression/bug)
/Users/travis/build/OSGeo/proj.4/docs/source/development/reference/cpp/io.rst:6:Parsing of expression failed. Using fallback parser. Error was:
Error in postfix expression, expected primary expression or type.
If primary expression:
Invalid definition: Expected identifier in nested name. [error at 67]
std::string osgeo::proj::io::AuthorityFactory::CRSInfo::authName = {}
-------------------------------------------------------------------^
If type:
Invalid definition: Expected identifier in nested name. [error at 67]
std::string osgeo::proj::io::AuthorityFactory::CRSInfo::authName = {}
-------------------------------------------------------------------^
|
|
By mistake the second eccentricity was used in a few places in the
Molodensky transform. According to the literature the first eccentricity
should always be used in the eccentricity.
This only affects the output slightly. Reported test coordinates
differed by less than a millimeter.
Fixes #1321
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11699
Credit to OSS Fuzz
|
|
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11893
Credit to OSS Fuzz
|
|
A division by zero caused NaN values to be returned.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12062
Credit to OSS Fuzz
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12799
Credit to OSS Fuzz
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12909
Credit to OSS Fuzz
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13028
Credit to OSS Fuzz
|