aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111
AgeCommit message (Collapse)Author
2019-06-11Code formatting fixEven Rouault
2019-06-11Fix compilation error with gcc 4.9.3 (fixes #1512)Even Rouault
2019-06-06Merge pull request #1509 from rouault/wkt1_direction_case_insensitiveEven Rouault
WKT1 importer: do case insensitive comparison for axis direction
2019-06-06Merge pull request #1505 from rouault/ogc_urn_projectedCRSEven Rouault
createFromUserInput(): support OGC URN to create projectedCRS, for example to instanciate a projected 3D CRS
2019-06-06WKT1 importer: do case insensitive comparison for axis directionEven Rouault
Fixes https://github.com/OSGeo/gdal/issues/1623 http://portal.opengeospatial.org/files/?artifact_id=999 is not explicit if string comparisons should be case sensitive or not, but WKT2 allows for case differences in keyword and enumerated value, so follow this relaxed interpretation for WKT1 as well.
2019-06-06createFromUserInput(): support OGC URN to create projectedCRS, for example ↵Even Rouault
to instanciate a projected 3D CRS
2019-06-05createFromUserInput()/guessDialect(): do not confuse 'ID74' CRS with WKT2 ↵Even Rouault
ID[] node
2019-06-01Merge pull request #1496 from mwtoews/renameEven Rouault
Update website: proj4.org -> proj.org
2019-06-01Merge pull request #1494 from nyalldawson/get_gridKristian Evers
Add proj_grid_get_info_from_database
2019-06-01Update website: proj4.org -> proj.orgMike Taves
2019-06-01Add proj_grid_get_info_from_database to allow retrieval of gridNyall Dawson
metadata from a grid filename
2019-05-23createOperations(): fix GeogCRS to GeogCRS when there is a axis reversal and ↵Even Rouault
vertical unit change (relates to https://github.com/OSGeo/gdal/issues/1561)
2019-05-21createOperations(): avoid exception when transforming from NAD83 to ↵Even Rouault
projected CRS using NAD83(2011) (fixes #1474)
2019-05-13identify(): take into account the authority passed in (fixes #1465)Even Rouault
When identifying an object that has already a code with authority A but the authority of interest passed was B, then it was not checking that A != B, and did not try to search in the objects of B.
2019-05-12Fix doc of proj_identify()Even Rouault
2019-05-12Fix identification of GeodeticCRS expressed by PROJ string for EPSG authorityEven Rouault
2019-05-08proj_normalize_for_visualization(): fix crash when ctx == nullptrEven Rouault
2019-05-08proj_normalize_for_visualization(): fix when there are coordinate operation ↵Even Rouault
alternatives
2019-05-06createOperations(): for 'Amersfoort / RD New + NAP height' (EPSG:7415) to ↵Even Rouault
ETRS89 (EPSG:4937), make sure that the vgridshift is applied first (ie on Amersfoort datum) before the hgridshift
2019-05-06createOperations(): fix case of ETRS89 3D to proj string with nadgrids and ↵Even Rouault
geoidgrids Fixes https://lists.osgeo.org/pipermail/proj/2019-May/008519.html
2019-05-01Reduce database size (#1438)Kristian Evers
Reduce database size
2019-04-30WKT importer: accepts PROJ-based COORDINATEOPERATIONEven Rouault
2019-04-30createOperations(): in SourceTargetCRSExtentUse::INTERSECTION mode, early ↵Even Rouault
return if the intersection of the areas is empty
2019-04-30Propagate ballpark transformation flag to inverse coordinate operationsEven Rouault
2019-04-28Fix false-positive -Wnull-dereference GCC 8 warningEven Rouault
2019-04-22proj_create(): add support for compoundCRS and concatenatedOperation named ↵Even Rouault
from their components Support following syntaxes: - OGC URN combining references for compoundCRS: e.g. "urn:ogc:def:crs,crs:EPSG::2393,crs:EPSG::5717" - its GDAL shortcut: e.g. "EPSG:2393+5717" - OGC URN combining references for concatenated operations: e.g. "urn:ogc:def:coordinateOperation,coordinateOperation:EPSG::3895,coordinateOperation:EPSG::1618"
2019-04-22code format fixEven Rouault
2019-04-22Tweak morphNameToESRI() to reflect current ESRI practice regarding a few ↵Even Rouault
'(foo)' suffixes
2019-04-22Database: import common projections from ESRI projected CRS in structured formEven Rouault
That is Transverse_Mercator/Gauss_Kruger, Lambert_Conformal_Conic and Hotine_Oblique_Mercator_Azimuth_Natural_Origin Decreases proj.db from 5 853 184 bytes to 5 189 632 bytes.
2019-04-22ESRI_WKT: preserve Gauss_Kruger in conversion name for round-trippingEven Rouault
2019-04-22Database: make conversion & helmert_transformation updatable viewsEven Rouault
- Transform conversion as a view, and when inserting into it, actually insert into 3 tables: conversion_table, conversion_method and conversion_param, so that method and parameter names are not repeated each time. - Similarly for helmert_tranformation, insert into helmert_transformation_tabl and coordinate_operation_method. This reduces the db size from 6 344 704 bytes to 5 853 184 bytes, without significant slowdown for queries.
2019-04-18Merge pull request #1427 from rouault/fix_geog2D_to_geog3D_same_datumEven Rouault
createOperations(): do not attempt using a unrelated datum intermediate when doing geog2D<-->geog3D conversions of same datum
2019-04-18Improve doc of proj_coordoperation_get_towgs84_values() (fixes #1430)Even Rouault
2019-04-16createOperations(): do not attempt using a unrelated datum intermediate when ↵Even Rouault
doing geog2D<-->geog3D conversions of same datum Seen when testing transformations between "CR 05" (EPSG:5365) and "CR-SIRGAS" (EPSG:8907) which require going through their corresponding 3D GeogCRS to find a Helmert transformation.
2019-04-05_buildUnit(): avoid later division by zeroEven Rouault
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14055 Credit to OSS Fuzz
2019-04-02Make sure that ISO19111 C++ code sets pj_errno on errorsKristian Evers
2019-04-02Merge pull request #1391 from kbevers/noopKristian Evers
Add no-op operation. It does nothing.
2019-03-29createOperations(): improve behaviour with input CRS from WKT that lacks ↵Even Rouault
intermediate IDs (fixes #1343)
2019-03-29Adopt use of the noop conversion in ISO19111 codeKristian Evers
2019-03-29Merge pull request #1390 from rouault/createoperation_boundcrs_more_aggresiveEven Rouault
createOperations(): improve BoundCRS<-->non-bound-CRS case
2019-03-29Add proj_normalize_for_visualization()Even Rouault
Fixes #1301 This function takes the output PJ from proj_create_crs_to_crs(), and add (or undo) the needed axis swap operations so that the object returned by proj_normalize_for_visualization() has the usual GIS axis order. In this implementation, this does something only if the coordinate system of the source or target CRS, geographic or projected, has NORTH, EAST ordering. CompoundCRS wrapping those objects are also handled.
2019-03-28createOperations(): improve BoundCRS<-->non-bound-CRS caseEven Rouault
Fixes #1388 Typically helps for projinfo -s "+proj=longlat +ellps=GRS80 +towgs84=1,2,3 +type=crs" -t EPSG:4258 by researching operations from the pivot WGS84 implied by the towgs84 clause to EPSG:4258.
2019-03-28Objet -> ObjectNyall Dawson
2019-03-27factory.cpp: silence false positive warning. Coverity CID 193544Even Rouault
2019-03-26io.cpp: avoid error about unchecked return value. Coverity CID 193541Even Rouault
2019-03-26io.cpp: make it obvious that nullptr deref cannot happen. Coverity CID 193523Even Rouault
2019-03-26factory.cpp: make closeDB() noexcept so that DatabaseContext::Private ↵Even Rouault
destructor cannot throw. Coverity CID 193518
2019-03-26crs.cpp: make it clear to analyzer that buffer will not overflow. Coverity ↵Even Rouault
CID 193528 and 193540
2019-03-26coordinateoperation.cpp: remove dead code. Coverity CID 193522Even Rouault
2019-03-26coordinateoperation.cpp: silent false positive about copy paste error. ↵Even Rouault
Coverity CID 193519