aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-03-15projinfo: add a --dump-db-structure switchEven Rouault
2021-03-15Add proj_context_get_database_structure() to dump structure of empty valid ↵Even Rouault
auxiliary DB
2021-03-15SQL export: add support for DatumEnsembleEven Rouault
2021-03-15SQL export: add publication_date and frame_reference_epoch to datumsEven Rouault
2021-03-15SQL output: add capability to restrict the authorities into which to look ↵Even Rouault
for intermediate objects
2021-03-15CRS::identify(): take into account allowed authority to identify hard-coded ↵Even Rouault
WGS84-based CRSs
2021-03-15projinfo: add a '-o SQL --output-id AUTH:CODE' SQL outputEven Rouault
2021-03-15Add C/C++ API to get SQL statements to insert a CRS into databaseEven Rouault
2021-03-14geodesic.c: fix conditions under which hypot workaround is applied.Charles Karney
Now it applies with 32-bit compiles for all versioins of Visual Studio; versions tested on: 2015, 2017, 2019.
2021-03-13Work around inaccurate hypot for Visual Studio 2105 (32-bit)Charles Karney
2021-03-13Update geodesic routines from GeographicLib 1.52Charles Karney
Be more aggressive in preventing negative s12 and m12 for short lines. Initialize reference argument to remquo.
2021-03-13typo fix in commentEven Rouault
2021-03-10Merge pull request #2570 from rouault/fix_proj_lp_dist_crsEven Rouault
Make proj_lp_dist() and proj_geod() work on a PJ* CRS object
2021-03-10Make proj_lp_dist() and proj_geod() work on a PJ* CRS objectEven Rouault
2021-03-10Code cleanup: remove conditional testing of SQLITE_OPEN_URI. It is present ↵Even Rouault
in sqlite >= 3.11
2021-03-10Fix commentEven Rouault
2021-03-07typo fixesEven Rouault
2021-03-07pipeline: avoid CLang Static Analyzer 10.0 likely false positive about ↵Even Rouault
dereferencing a nullptr
2021-03-07dmstor_ctx(): avoid setting a variable that is not readEven Rouault
2021-03-07Merge pull request #2560 from rouault/coverityscan_fixesEven Rouault
Several fixes/improvements spotted by CoverityScan
2021-03-07insertIntoHierarchy(): avoid confusing cppcheck about potential use of moved ↵Even Rouault
grid
2021-03-07NTv2Grid: remove useless m_name member (redundant with one of base class)Even Rouault
2021-03-07igh: check return value of setup_zone() (CID 314816)Even Rouault
2021-03-07Check return value of curl_easy_setopt() (CID 314805)Even Rouault
2021-03-07is2DPartOf3D(): catch potential exception (CID 314817)Even Rouault
2021-03-07initcache.cpp: add assertions for potential failed mem alloc (CID 314809, ↵Even Rouault
314812)
2021-03-07projinfo: catch exception on bad value for --accuracy (CID 314810)Even Rouault
2021-03-07gie.cpp: use correct type in error message (CID 314813)Even Rouault
2021-03-07cs2cs: catch exception on bad value for --accuracy (CID 314818)Even Rouault
2021-03-07cct: remove useless nullptr checking (CID 314822)Even Rouault
2021-03-07proj_info(): remove useless nullptr checking (CID 314807)Even Rouault
2021-03-07BaseObject: add a move assignment operator (CID 314820)Even Rouault
2021-03-06UnitOfMeasure: add a move assignment operator (CID 314811)Even Rouault
2021-03-06Fix gcc 11 -Wnonnull warningsEven Rouault
``` /proj-8.0.0/src/iso19111/operation/coordinateoperationfactory.cpp: In function 'osgeo::proj::operation::TransformationNNPtr osgeo::proj::operation::createBallparkGeographicOffset(const CRSNNPtr&, const CRSNNPtr&, const DatabaseContextPtr&)': /proj-8.0.0/src/iso19111/operation/coordinateoperationfactory.cpp:1860:36: warning: 'this' pointer is null [-Wnonnull] 1860 | ->coordinateSystem() | ^ In file included from /proj-8.0.0/src/iso19111/operation/coordinateoperationfactory.cpp:35: /proj-8.0.0/include/proj/crs.hpp:196:47: note: in a call to non-static member function 'const CoordinateSystemNNPtr& osgeo::proj::crs::SingleCRS::coordinateSystem() const' 196 | PROJ_DLL const cs::CoordinateSystemNNPtr &coordinateSystem() PROJ_PURE_DECL; | ^~~~~~~~~~~~~~~~ /proj-8.0.0/src/iso19111/operation/coordinateoperationfactory.cpp:1864:36: warning: 'this' pointer is null [-Wnonnull] 1864 | ->coordinateSystem() | ^ In file included from /proj-8.0.0/src/iso19111/operation/coordinateoperationfactory.cpp:35: /proj-8.0.0/include/proj/crs.hpp:196:47: note: in a call to non-static member function 'const CoordinateSystemNNPtr& osgeo::proj::crs::SingleCRS::coordinateSystem() const' 196 | PROJ_DLL const cs::CoordinateSystemNNPtr &coordinateSystem() PROJ_PURE_DECL; | ^~~~~~~~~~~~~~~~ /proj-8.0.0/src/iso19111/factory.cpp: In member function 'std::vector<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::operation::CoordinateOperation> > > osgeo::proj::io::AuthorityFactory::createBetweenGeodeticCRSWithDatumBasedIntermediates(const CRSNNPtr&, const string&, const string&, const CRSNNPtr&, const string&, const string&, bool, bool, bool, bool, const std::vector<std::__cxx11::basic_string<char> >&, const ExtentPtr&, const ExtentPtr&) const': /proj-8.0.0/src/iso19111/factory.cpp:4724:66: warning: 'this' pointer is null [-Wnonnull] 4724 | dynamic_cast<crs::GeodeticCRS *>(sourceCRS.get())->datum(); | ^ In file included from /proj-8.0.0/src/iso19111/factory.cpp:36: /proj-8.0.0/include/proj/crs.hpp:254:54: note: in a call to non-static member function 'const GeodeticReferenceFramePtr& osgeo::proj::crs::GeodeticCRS::datum() const' 254 | PROJ_DLL const datum::GeodeticReferenceFramePtr &datum() PROJ_PURE_DECL; | ^~~~~ /proj-8.0.0/src/iso19111/factory.cpp:4726:66: warning: 'this' pointer is null [-Wnonnull] 4726 | dynamic_cast<crs::GeodeticCRS *>(targetCRS.get())->datum(); | ^ In file included from /proj-8.0.0/src/iso19111/factory.cpp:36: /proj-8.0.0/include/proj/crs.hpp:254:54: note: in a call to non-static member function 'const GeodeticReferenceFramePtr& osgeo::proj::crs::GeodeticCRS::datum() const' 254 | PROJ_DLL const datum::GeodeticReferenceFramePtr &datum() PROJ_PURE_DECL; | ^~~~~ ```
2021-03-06grids.cpp: use C99/C++11 uint16_t/uint32_tEven Rouault
libtiff has historically defined uint16 and uint32 as custom typedefs, but those will be deprecated in the next libtiff release, and using them will emit warnings, so use standard types as recommended.
2021-03-05createOperations(): fix incorrect height transformation between 3D promoted ↵Even Rouault
RGF93 and CH1903+ (fixes #2541)
2021-03-03Reformat code with clang-format-10 from ubuntu 20.04Even Rouault
2021-03-01Bump version numbers in anticipation of 8.1.0 releaseKristian Evers
2021-02-22isEquivalentName(): fix for GDAL test failureEven Rouault
https://github.com/OSGeo/PROJ/pull/2536 changed the name of the ellps=intl to "International 1924 (Hayford 1909, 1910)" When writing a GeoTIFF file from GDAL using a SRS built from a PROJ string, GDAL massages the datum name to "Unknown_based_on_International_1924_Hayford_1909_1910_ellipsoid" Before this fix, this wasn't considered as equivaleent to the non-massaged datum name "Unknown based on International 1924 (Hayford 1909, 1910) ellipsoid"
2021-02-20Bump ABI numbers for 8.0.0 releaseKristian Evers
2021-02-20Merge pull request #2514 from mloskot/ml/enable-build-with-static-curlKristian Evers
Enable linking against static cURL on Windows
2021-02-19LOG: Default log level PJ_LOG_ERRORsnowman2
2021-02-19Merge branch 'master' into ml/enable-build-with-static-curlKristian Evers
2021-02-19Enable linking against static cURL on WindowsMateusz Łoskot
This is preliminary fix to allow linking the library as well as its dependants (e.g. PROJ apps) against cURL built as static library on Windows with support of native Windows TLS/SSL. On Windows, such static cURL (and its dependants) requires linking against Winsock, CryptoAPI and other networking libaries.
2021-02-19CMake: replace '${PROJ_CORE_TARGET}' with 'proj'Mike Taves
2021-02-16International ellipsoid designation correctionThomas Knudsen
The "International 1909 (Hayford)" designation is an unfortunate mix of different aspects of the same ellipsoid. The Hayford ellipsoid was based on investigations in 1909, published in 1910 as J.F. Hayford: *Supplementary Investigation in 1909 of the Figure of the Earth and Isostasy*, Coast and Geodetic Survey, 80pp. (freely accessible through Google Books). In 1924 Hayford's ellipsoid was adopted by the IUGG as "the International Ellipsoid". Hence either of - Hayford, 1909 (for the year the work was done), - Hayford, 1910 (for the year of publication), or - International, 1924 are reasonable names, in common use, but the "International, 1909" really is a peculiar mix of concepts. Resolves #2534
2021-02-14CMake: Prefer keyword signature of target_link_libraries commandMateusz Łoskot
Closes #2515
2021-02-11C API: avoid error messages to be emitted in PJ_LOG_NONE log level (fixes #2526)Even Rouault
2021-02-11Merge pull request #2521 from rouault/boundcrs_proj_based_methodEven Rouault
Allow a BoundCRS to use a PROJ string transformation
2021-02-10Fix handling of +proj=ob_tran +o_proj=longlat combined with +over (fixes #2510)Even Rouault