Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic support for coordinate epoch of dynamic (not plate fixed) crs #43188

Merged
merged 7 commits into from
May 13, 2021

Conversation

nyalldawson
Copy link
Collaborator

Follow up #43143, and add support for respecting the source OR destination coordinate epoch when transforming to/from dynamic CRS.

Uses the same approach as OSGeo/gdal#3810

If a dynamic crs -> dynamic CRS transform at different epochs is attempted (not currently supported by PROJ), a user facing warning message will be shown advising them that the results may be misleading and should not be used for high accuracy work.

to QgsCoordinateTransform

QgsCoordinateTransform class can perform time-dependent transformations
between a static and dynamic CRS based on either the source OR destination CRS coordinate epoch,
however dynamic CRS to dynamic CRS transformations are not currently supported.

Using the same approach as the GDAL changeset in OSGeo/gdal#3810
dynamic CRSes at different coordinate epochs is attempted

This is not currently supported by PROJ, so the results will be
misleading.
@nyalldawson nyalldawson added Projections/Transformations Related to coordinate reference systems or coordinate transformation Changelog Items that are queued to appear in the visual changelog - remove after harvesting labels May 12, 2021
@github-actions github-actions bot added this to the 3.20.0 milestone May 12, 2021
@nyalldawson
Copy link
Collaborator Author

@rouault can I get your eyes on this one please?

@nyalldawson nyalldawson merged commit 93e48cf into qgis:master May 13, 2021
@nyalldawson nyalldawson deleted the qgis_gdal_proj_master branch May 13, 2021 09:33
@zacharlie zacharlie added ChangelogHarvested This PR description has been harvested in the Changelog already. and removed Changelog Items that are queued to appear in the visual changelog - remove after harvesting labels Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ChangelogHarvested This PR description has been harvested in the Changelog already. Projections/Transformations Related to coordinate reference systems or coordinate transformation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants