aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-25Merge pull request #1749 from rouault/6_3_0_version_numbersKristian Evers
Change version numbers to 6.3.0
2019-11-25Doc: change 7.0 references to 6.3Even Rouault
2019-11-25Change version numbers to 6.3.0Even Rouault
2019-11-25Add scripts/grid_checks.pyEven Rouault
Little script used lately to check consistency of the database regarding the grid_transformation vs grid_alternatives tables. And also check the content of the database vs proj-datumgrid to identify gaps.
2019-11-25pipeline.cpp: use more explict variable namesEven Rouault
2019-11-25PROJStringFormatter::toString(): optimize hgridshift, vgridshift, hgridshift ↵Even Rouault
inv constructs Given an initial pipeline with +step +proj=hgridshift +grids=foo +step +proj=vgridshift +grids=bar +step +inv +proj=hgridshift +grids=foo Transform it as +step +proj=push +v_1 +v_2 +step +proj=hgridshift +grids=foo +omit_inv +step +proj=vgridshift +grids=bar +step +inv +proj=hgridshift +grids=foo +omit_fwd +step +proj=pop +v_1 +v_2 So as to avoid doing a double application of the hgridshift.
2019-11-25Pipeline: support +omit_fwd and +omit_inv keywordsEven Rouault
Inspired from syntax of https://github.com/OSGeo/PROJ/pull/453/files but 'rebased' on top of previous commit that cleans up the pipeline implementation Different situations: - +omit_fwd: the step when followed in the forward path will be omitted the step when followed in the reverse path will be executed - +omit_fwd +inv: the step when followed in the forward path will be omitted the step when followed in the reverse path will be executed (with the inv method) - +omit_inv: the step when followed in the forward path will be executed the step when followed in the reverse path will be omitted - +omit_inv +inv: the step when followed in the forward path will be executed (with the inv method) the step when followed in the reverse path will be omitted This will be used in the next commit to optimize constructs like +step +proj=hgridshift +grids=foo +step +proj=vgridshift +grids=bar +step +inv +proj=hgridshift +grids=foo Such steps are used for CRS to CRS transformations where applying the vertical grid requires to do a transformation to an interpolating CRS. One can notice that in the last step will just restore the horizontal coordinates before the first step, so doing an inverse hgridshift is overkill. So that could be optimized as: +step +proj=push +v_1 +v_2 +step +proj=hgridshift +grids=foo +omit_inv +step +proj=vgridshift +grids=bar +step +inv +proj=hgridshift +grids=foo +omit_fwd +step +proj=pop +v_1 +v_2 In the forward path, this will be equivalent to: +step +proj=push +v_1 +v_2 +step +proj=hgridshift +grids=foo +step +proj=vgridshift +grids=bar +step +prop=pop +v_1 +v_2 And similarly in the reverse path, this will be quivalent to: +step +proj=push +v_1 +v_2 +step +proj=hgridshift +grids=foo +step +inv +proj=vgridshift +grids=bar +step +proj=pop +v_1 +v_2
2019-11-25Merge pull request #1739 from rouault/register_canadian_hshiftgridsEven Rouault
Database: register Canadian provincial horizontal shift grids
2019-11-25Merge pull request #1740 from rouault/missing_australian_gridsEven Rouault
Database: reference GDA94_GDA2020_conformal_christmas_island.gsb and …
2019-11-25Merge pull request #1746 from rouault/fix_1736Even Rouault
normalizeForVisualization() and other methods applying on a ProjectedCRS: do not mess the derivingConversion object of the original object (fixes #1736)
2019-11-25normalizeForVisualization() and other methods applying on a ProjectedCRS: do ↵Even Rouault
not mess the derivingConversion object of the original object (fixes #1736) normalizeForVisualization(), promoteTo3D(), demoteTo2D(), alterGeodeticCRS(), alterCSLinearUnit() and alterParametersLinearUnit() all used the object returned by derivingConversionRef() to create a new ProjectedCRS. While doing so, this caused the derivingConversion of the original object to have its targetCRS set to the object returned by normalizeForVisualization() and similar. If that object died, then the weak pointer would be reset, and the original ProjectedCRS() has now its derivingConversionRef()->targetCRS() nullptr So bottom line is use derivingConversion() for anything that is not pure reading !!! This is confirmed to be the fix for the QGIS scenario in https://github.com/qgis/QGIS/issues/30569#issuecomment-540060919 In QGIS use case, the issue arised when using a projected CRS with a non-GIS friendly axis (that is where normalizeForVisualization() created a new projectedCRS)
2019-11-25createOperations(): optimize compoundCRS to geogCRS, when the geogCRS of the ↵Even Rouault
compoundCRS is the same as the target geogCRS
2019-11-25CoordinateOperationFactory::Private::setCRSs(): fix potential issue with ↵Even Rouault
overriding CRS on a InverseCoordinateOperation (could be related to #1736)
2019-11-24pipeline.cpp: hopefully make code more readable by using more C++ goodness. ↵Even Rouault
No functional change intended (except a likely minor correction/improvement in get_next_non_whatever_unit in the PJ_INV case where the iteration should start at step-1)
2019-11-23Database: add missing name mappings for a few French overseas vertical gridsEven Rouault
2019-11-23Database: reference GDA94_GDA2020_conformal_christmas_island.gsb and ↵Even Rouault
GDA94_GDA2020_conformal_christmas_island.gsb Related to https://github.com/OSGeo/proj-datumgrid/pull/62
2019-11-23Database: add missing mapping for 3 GEOID2009 grids that we have now in ↵Even Rouault
proj-datumgrid
2019-11-23Database: register Canadian provincial horizontal shift gridsEven Rouault
Counterpart of https://github.com/OSGeo/proj-datumgrid/pull/61 Fixes #202
2019-11-22travis/osx/before_install.sh: attempt to fix 'pip is configured with ↵Even Rouault
locations that require TLS/SSL, however the ssl module in Python is not available.'
2019-11-22Merge pull request #1735 from rouault/doc_github_buttonKristian Evers
Doc: configure the 'Edit on GitHub' button
2019-11-22Add proj_create_derived_geographic_crs() and ↵Even Rouault
proj_create_conversion_pole_rotation_grib_convention() to address GRIB datasets using a pole rotation method
2019-11-22create_c_api_projections.py: fix for conversions without linear parameters ↵Even Rouault
[ci skip]
2019-11-21Fix typos in code commentsEven Rouault
2019-11-21projjson.rst: typo fixEven Rouault
2019-11-21Doc: add a about_core.rst file to avoid duplication between index.rst and ↵Even Rouault
about.rst
2019-11-21Doc: configure the 'Edit on GitHub' buttonEven Rouault
2019-11-19Doc: update status of RFC-2 [skip appveyor]Even Rouault
2019-11-19Merge pull request #1734 from rouault/intermediate_crs_through_datumEven Rouault
createOperations(): chain operations whose middle CRSs are not identical but have the same datum
2019-11-19createOperations(): in some situations, consider when going from A to D ↵Even Rouault
intermediates B and C, such there's a A->B operation and C->D operation, and A and C are not exactly the same CRS but use the same geodetic datum
2019-11-18createFromCRSCodesWithIntermediates(): do not consider intermediate CRS ↵Even Rouault
whose datum has a publication date older than the source and target datums
2019-11-18createGeodeticDatum(): query and set publicationDateEven Rouault
2019-11-18Database: add a publication_date column to geodetic_datum and vertical_datumEven Rouault
Populated from realization_epoch column from EPSG The 'publication_date' naming is from OGC Topic 2, and hasn't been yet adopted by the EPSG dataset. See http://docs.opengeospatial.org/as/18-005r4/18-005r4.html , Annex G, clause 11 and https://32zn56499nov99m251h4e9t8-wpengine.netdna-ssl.com/wp-content/uploads/2019/09/EPSG-relational-data-model-changes_2019-09-18.pdf
2019-11-18data/ITRF2014: replace errouneous minus Unicode character by its ASCII versionEven Rouault
Affected parameters of Plate Motion Models. Spotted by Xavier Collilieux on https://lists.osgeo.org/pipermail/proj/2019-November/009011.html
2019-11-18createOperations(): fix so that GDA94 -> WGS 84 (G1762) still include a ↵Even Rouault
result through ITRF2008. Was broken in master by the addition of the 'WGS84 -> WGS 84 (Gxxx)' null operations in the PROJ authority
2019-11-18proj_trans(): tune selection of operation when there are several ↵Even Rouault
alternatives, to select the operation with best accuracy
2019-11-18createOperations(): small perf improvement. Do not attempt going through an ↵Even Rouault
intermediate CRS if we found direct transformation(s) but had to eliminate them due to other criteria
2019-11-18createOperations(): geocentric to geocentric operation synthetization: ↵Even Rouault
distinguish null transform from ballpark transform
2019-11-18Merge pull request #1733 from rouault/remove_preferred_hubEven Rouault
createOperations(): remove the concept of geodetic_datum_preferred_hub
2019-11-17createOperations(): remove the concept of geodetic_datum_preferred_hubEven Rouault
This was introduced in 63857c92b271bbcd10df0a032304982011acb2a9. Due to the fix done in the previous commit, we can mostly revert the above commit. We just keep the added tests and the custom WGS 84<-->WGS 84 (Gxxxx) null transformations.
2019-11-17findsOpsInRegistryWithIntermediate(): tune it to be able to research ↵Even Rouault
operations that belong to different authorities. Should make the concept of geodetic_datum_preferred_hub introduced some time ago obsolete
2019-11-17typo fix in comment [ci skip]Even Rouault
2019-11-16typo fix in comment [ci skip]Even Rouault
2019-11-16proj_create_crs_to_crs(): fix autoselection logic of operation to compute ↵Even Rouault
correctly the geographic coordinates of the input coord when the CRS is not Greenwich based
2019-11-14Merge pull request #1732 from ↵Even Rouault
rouault/better_export_proj_create_vertical_crs_ex_to_projjson import/export PROJJSON: support a interpolation_crs key to geoid_model
2019-11-14import/export PROJJSON: support a interpolation_crs key to geoid_model for ↵Even Rouault
faithful serialization of the geoid_geog_crs parameter of proj_create_vertical_crs_ex()
2019-11-14projjson.schema.json: add a interpolation_crs key to geoid_modelEven Rouault
2019-11-14Merge pull request #1731 from ↵Even Rouault
rouault/fix_createoperations_with_geoidgrids_and_non_metre_vunits createOperations(): fix transformation computation from/to a CRS with +geoidgrids and +vunits != m
2019-11-14createOperations(): fix transformation computation from/to a CRS with ↵Even Rouault
+geoidgrids and +vunits != m
2019-11-14Code reformatEven Rouault
2019-11-12Merge pull request #1729 from glostis/minor-typoEven Rouault
Minor typo fix in docs faq.rst