aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/c_api.cpp
AgeCommit message (Collapse)Author
2022-02-04Set more precise error code for parsing errors in proj_create().Brendan Jurd
If proj_create() catches a ParsingException, and the error code hasn't otherwise been set internally, set the error code to PROJ_ERR_INVALID_OP_WRONG_SYNTAX instead of allowing it to default to the generic PROJ_ERR_OTHER. Ref #2529
2022-01-09Minor cppcheck fixesEven Rouault
2022-01-06proj_get_crs_info_list_from_database(): report PJ_TYPE_GEODETIC_CRS for ↵Even Rouault
IAU_2015 -ocentric geodetic CRS (fixes #3012)
2021-12-01Cache result of proj_get_type() to help for performance of proj_factors() ↵Even Rouault
(fixes #2965)
2021-11-09Reformatting fixesEven Rouault
2021-11-06Merge pull request #2926 from snowman2/warnEven Rouault
DOC: Add warning in proj_as_proj_string about potential information loss with CRS
2021-11-05DOC: Add warning in proj_as_proj_string about potential information loss ↵snowman2
with CRS
2021-11-05DOC: add available keys to proj_context_get_database_metadatasnowman2
2021-11-04Remove useless PROJ_DLL uses in .cpp files (#2920)Momtchil Momtchev
2021-10-10proj_crs_get_datum_forced(): catch potential exception (fixes CID 358433, ↵Even Rouault
358434, 358435)
2021-09-28projinfo --list-crs / proj_get_crs_info_list_from_database(): make it work ↵Even Rouault
with IAU generic authority name
2021-09-24proj_normalize_for_visualization(): set input and output units when there ↵Even Rouault
are several alternative transformations (fixes #2866)
2021-09-07pj_obj_create(): avoid passing invalid ellipsoid parameters to geod_init(). ↵Even Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38192
2021-09-03pj_obj_create(): avoid passing invalid ellipsoid parameters ot ↵Even Rouault
pj_calc_ellipsoid_params(). Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31964
2021-09-02Add proj_create_conversion_pole_rotation_netcdf_cf_convention() to address ↵Even Rouault
netCDF datasets using a pole rotation method
2021-06-03Make proj_context_set_autoclose_database() a no-op as it would defeat the ↵Even Rouault
purpose of the new database connection sharing
2021-05-04DOC: configure and add spelling wordlist; fix typos, apply Sphinx syntax (#2705)Mike Taves
2021-04-24Add proj_get_geoid_models_from_database() (#2681)Javier Jimenez Shaw
to list all geoid model names that apply to a vertical CRS
2021-04-20run reformat_cpp.sh to fix some leftoversJavier Jimenez Shaw
2021-04-18Added proj_get_celestial_body_list_from_database (#2674)Alan D. Snow
Closes #2667
2021-04-12Add proj_get_celestial_body_name() and make ↵Even Rouault
proj_get_crs_info_list_from_database() filter on and return celestial body name
2021-04-10fix typo in commentEven Rouault
2021-03-18Code formatting fixEven Rouault
2021-03-18Merge pull request #2577 from rouault/insert_sqlEven Rouault
Add capability to get SQL statements to add custom CRS in the database
2021-03-17Fix proj_clone() to work on 'meta' coordinate operation PJ* objects that can ↵Even Rouault
be returned by proj_create_crs_to_crs()
2021-03-15Doc improvements regarding recomandation not to alter official registries ↵Even Rouault
and use auxiliary databases
2021-03-15Add proj_context_get_database_structure() to dump structure of empty valid ↵Even Rouault
auxiliary DB
2021-03-15SQL output: add capability to restrict the authorities into which to look ↵Even Rouault
for intermediate objects
2021-03-15Add C/C++ API to get SQL statements to insert a CRS into databaseEven Rouault
2021-03-10Make proj_lp_dist() and proj_geod() work on a PJ* CRS objectEven Rouault
2021-03-07typo fixesEven Rouault
2021-03-03Reformat code with clang-format-10 from ubuntu 20.04Even Rouault
2021-02-11C API: avoid error messages to be emitted in PJ_LOG_NONE log level (fixes #2526)Even Rouault
2020-12-28C API: add proj_crs_is_derived()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-11-29Merge pull request #2450 from rouault/setAllowEllipsoidalHeightAsVerticalCRSEven Rouault
Add option to allow export of Geographic/Projected 3D CRS in WKT1_GDAL
2020-11-24Add option to allow export of Geographic/Projected 3D CRS in WKT1_GDALEven Rouault
as CompoundCRS with a VerticalCRS being an ellipsoidal height, which is not conformant. But needed for LAS 1.4 that only supports WKT1
2020-11-20Remove old pj_ memory (de)allocation functionsKristian Evers
Gone are pj_malloc, pj_calloc, pj_dalloc and pj_dealloc. Their primary function as API memory functions in proj_api.h is no longer there and the other use as a workaround for old errno problems is no longer valid either. Replaced with malloc and free across the codebase.
2020-11-20Remove pj_ctx_* functions and use their proj_context counterpartsKristian Evers
2020-11-01proj.h: add PJ_CATEGORY_DATUM_ENSEMBLE for proj_create_from_database()Even Rouault
2020-11-01projinfo / createObjectsFromName(): support returning a datum ensembleEven Rouault
2020-11-01Merge pull request #2402 from rouault/improved_comments_datumEven Rouault
Doxygen: improve doc of functions related to Datum/DatumEnsemble
2020-10-31Doxygen: improve doc of functions related to Datum/DatumEnsembleEven Rouault
2020-10-31proj_create_ellipsoidal_2D/3D_cs(): doc improvementEven Rouault
2020-10-25Fix issues spotted by cppcheckEven Rouault
2020-10-16Add multi-line PROJ string export capability, and use it by default in ↵Even Rouault
projinfo (unless --single-line is specified) (fixes #1543)
2020-10-11C API: add proj_dynamic_datum_get_frame_reference_epoch()Even Rouault
2020-10-11Database query: add ↵Even Rouault
AuthorityFactory::ObjectType::DYNAMIC_GEODETIC_REFERENCE_FRAME and DYNAMIC_VERTICAL_REFERENCE_FRAME, and make corresponding C API work
2020-10-08Add C API to work with datum ensembleEven Rouault
Add: - proj_crs_get_datum_ensemble() - proj_crs_get_datum_forced() - proj_datum_ensemble_get_member_count() - proj_datum_ensemble_get_accuracy() - proj_datum_ensemble_get_member() Make proj_create_geographic_crs_from_datum() and proj_create_geocentric_crs_from_datum() accept a datum ensemble.
2020-09-04DOC: Fix reference to proj_get_codes_from_database in ↵Alan D. Snow
proj_get_crs_info_list_from_database docstring (#2345)