aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-15tmerc exact: set errno to PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN ↵Even Rouault
when it returns invalid coordinate
2020-12-15Doc: document error codes and proj_context_errno_string()Even Rouault
2020-12-15Revise error codes to have a reduced set exposed in the public API.Even Rouault
Fixes #2482 And also add proj_context_errno_string() Revise gie 'expect failure errno XXXX' strings
2020-12-15Remove ancient no longer used implementation of pj_ell_set()Even Rouault
2020-12-15Move proj_log_XXX() functions from internal.cpp to log.cppEven Rouault
2020-12-14Merge pull request #2486 from ↵Even Rouault
rouault/fix_bound_proj_ntf_paris_to_bound_geog_ntf_paris_rebased createOperations(): fix inconsistent chaining exception when transforming from BoundCRS of projected CRS based on NTF Paris to BoundCRS of geog CRS NTF Paris
2020-12-14createOperations(): fix inconsistent chaining exception when transforming ↵Even Rouault
from BoundCRS of projected CRS based on NTF Paris to BoundCRS of geog CRS NTF Paris. Fixes https://github.com/OSGeo/gdal/issues/3273
2020-12-14Merge pull request #2483 from rouault/split_coordinateoperationEven Rouault
Split coordinateoperation.cpp and test_operation.cpp in several parts
2020-12-13CMake: install data/*.json files (fixes #2485)Even Rouault
2020-12-12Split test_operation.cpp in two partsEven Rouault
2020-12-12Split coordinateoperation.cpp in many files in iso19111/operation directoryEven Rouault
The big size of coordinateoperation.cpp could require significant amount of RAM to build it with -O2 level, and cause compiler crashes in some environments.
2020-12-11conda.yml: restrict to main repository builds, otherwise fails to build in forksEven Rouault
2020-12-11.github/workflows/clang_static_analyzer/start.sh: add apt updateEven Rouault
2020-12-11funtions.rst: fix sphynx syntaxEven Rouault
2020-12-11test_operation.cpp: remove debug messageEven Rouault
2020-12-09Doc: fix return data type of proj_trans_array()Even Rouault
2020-12-08Update isea.rstZac Miller
Clarifying defaults for ISEA.
2020-12-04Merge pull request #2477 from rouault/fix_2442Even Rouault
cs2cs / proj_create_crs_to_crs_from_pj(): add a --authority switch to control where coordinate operations are looked for (fixes #2442)
2020-12-04Merge pull request #2481 from rouault/ci_build_with_sqlite_dqs_zeroEven Rouault
CI: test with a SQLite3 binary built with SQLITE_DQS=0 to avoid issue #2480
2020-12-04CI: test with a SQLite3 binary built with SQLITE_DQS=0 to avoid issue #2480Even Rouault
2020-12-04Merge pull request #2480 from rouault/fix_build_with_sqlite_3_29Even Rouault
Database: fix building proj.db with SQLite built with -DSQLITE_DQS=0
2020-12-04Database: fix building proj.db with SQLite built with -DSQLITE_DQS=0Even Rouault
That is the option to make SQLite reject misuses of double quotes instead of single quotes. Most SQLite builds are forgiving, but some forks proposing a CMake build system default to SQLITE_DQS=0
2020-12-02cs2cs / proj_create_crs_to_crs_from_pj(): add a --authority switch to ↵Even Rouault
control where coordinate operations are looked for (fixes #2442)
2020-12-02fix buildEven Rouault
2020-12-02Merge pull request #2444 from rouault/topocentricEven Rouault
Add +proj=topocentric geocentric->topocentric conversion (fixes #500)
2020-11-30Merge pull request #2474 from rouault/database_version_numberEven Rouault
Database: add metadata with the version number of the database layout …
2020-11-30Merge pull request #2466 from rouault/fix_2423Even Rouault
cs2cs: add --area and --bbox options to restrict candidate coordinate operations (fixes #2423)
2020-11-30Merge pull request #2471 from rouault/extent_spherical_tmerc_domainEven Rouault
Spherical tmerc forward: do not restrict to [-90,90] longitude range
2020-11-30Database: add metadata with the version number of the database layout and ↵Even Rouault
check it in the code This is aimed at detecting running a PROJ version against a proj.db that is not meant to work with it. This happens sometimes in complex setups mixing PROJ versions. Hopefully this will help spotting the issue earlier.
2020-11-30test_io.cpp: formatting fixEven Rouault
2020-11-30Merge pull request #2473 from rouault/further_old_api_cleanupEven Rouault
API cleanup: unexport number of internal symbols, and remove/replace …
2020-11-30Merge pull request #2467 from rouault/gha_windowsEven Rouault
Migrate appveyor VS2017 build to github action VS2019
2020-11-30API cleanup: unexport number of internal symbols, and remove/replace a few ↵Even Rouault
unused ones
2020-11-30Merge pull request #2472 from rouault/improve_pj_datum_setEven Rouault
pj_datum_set(): make code more obvious to humans and analyzers
2020-11-30pj_datum_set(): make code more obvious to humans and analyzersEven Rouault
2020-11-29Spherical tmerc forward: do not restrict to [-90,90] longitude rangeEven Rouault
The restriction was a copy&paste from the Evenden/Snyder approximate ellipsoidal implementation, but the spherical one is exact, so this restriction isn't needed. Also tune a bit the handling of lat=0, |lon| > 90
2020-11-29Merge pull request #2450 from rouault/setAllowEllipsoidalHeightAsVerticalCRSEven Rouault
Add option to allow export of Geographic/Projected 3D CRS in WKT1_GDAL
2020-11-29Merge pull request #2469 from rouault/fix_2468Even Rouault
Inverse tmerc spherical: fix wrong sign of latitude when lat_0 is used (fixes #2468)
2020-11-29Inverse tmerc spherical: fix wrong sign of latitude when lat_0 is used ↵Even Rouault
(fixes #2468) Corrected formula given by @evanmiller
2020-11-28createOperations(): get a '+proj=noop' instead of '+proj=affine +s33=-1' ↵Even Rouault
when attempting (non-sensical) EPSG:3855 to EPSG:4326
2020-11-28WKT1 import: better deal with apps.epsg.org output w.r.t datum ensemble namesEven Rouault
2020-11-28test/fuzzers: remove standard_fuzzer that used proj_api.h now removedEven Rouault
2020-11-28appveyor.yml: disable VS2017 x64 buildEven Rouault
2020-11-28Add github action for VS2019 x64 buildEven Rouault
2020-11-28proj_create_crs_to_crs_from_pj(): do not use ↵Even Rouault
PROJ_SPATIAL_CRITERION_PARTIAL_INTERSECTION if area is specified
2020-11-28cs2cs: add --area and --bbox options to restrict candidate coordinate ↵Even Rouault
operations (fixes #2423)
2020-11-28Use same arguments to printf format string for both radians and degrees in ↵Houder
output by cct (#2453) Currently the output of the cct utility is different between radians and degrees (as expected by cct), because of a bug in cct: $ printf "1 2\n" | cct -z 0 -t 0 +proj=pipeline +step +proj=unitconvert +xy_in=deg +xy_out=rad 1.0000000000 2.0000000000 0.0000 0.0000 $ printf "1 2\n" | cct -z 0 -t 0 +proj=pipeline +step +proj=unitconvert +xy_in=deg +xy_out=deg 1.0000 2.0000 0.0000 0.0000 The arguments to the printf format string are as follows: * radians: width 14, precision 10 * degrees: width 13, precision 4 (this is by mistake. bug!) After the suggested fix has been applied, output will be the same for both radians and degrees: $ printf "1 2\n" | cct -z 0 -t 0 +proj=pipeline +step +proj=unitconvert +xy_in=deg +xy_out=rad 1.0000000000 2.0000000000 0.0000 0.0000 $ printf "1 2\n" | cct -z 0 -t 0 +proj=pipeline +step +proj=unitconvert +xy_in=deg +xy_out=deg 1.0000000000 2.0000000000 0.0000 0.0000 The cause of the bug is that cct does test if it "has radians to output", but "neglects" to test if it "has degrees to output", resulting in using different arguments to the printf format string in the latter case. The fix makes cct test if it "has either radians or degrees to output".
2020-11-28Merge pull request #2462 from rouault/improve_createObjectsFromNameEven Rouault
createObjectsFromName(): in exact match, make looking for 'ETRS89 / UTM zone 32N' return only the exact match
2020-11-28createObjectsFromName(): in exact match, make looking for 'ETRS89 / UTM zone ↵Even Rouault
32N' return only the exact match
2020-11-27testcct: create 'a' and 'b' from scratchEven Rouault