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

Initial support for ISO19111 CoordinateMetadata class #3562

Merged
merged 8 commits into from
Jan 18, 2023

Conversation

rouault
Copy link
Member

@rouault rouault commented Jan 14, 2023

  • CoordinateMetadata: add C++ class, WKT and PROJJSON support

  • C API: add PJ_TYPE_COORDINATE_METADATA, proj_coordinate_metadata_get_epoch(), support if in proj_create() and proj_get_source_crs()

  • createFromUserInput(): accept 'CRS_name@decimal_year' syntax to instanciate a CoordinateMetadata

  • createOperations(): support one of source/target to be a CoordinateMetadata but not both.

    Note also that the core of createOperations() does not take into account
    the source/target coordinate epoch in its logic to infer pipelines. It
    just keep those values in its metadata, so that PJ* objects constructed
    from them can later override the PJ_COORD.xyzt.t component.

    So basically this is currently useful only for transformations between a
    dynamic CRS and a static CRS (or the reverse).

@rouault rouault added this to the 9.2.0 milestone Jan 14, 2023
@rouault rouault changed the title Iniital support for ISO19111 CoordinateMetadata class Initial support for ISO19111 CoordinateMetadata class Jan 14, 2023
@rouault rouault force-pushed the coordinateMetadata branch 6 times, most recently from e70473e to 95013a1 Compare January 14, 2023 17:49
…epoch(), support if in proj_create() and proj_get_source_crs()
…tadata

but not both.

Note also that the core of createOperations() does not take into account
the source/target coordinate epoch in its logic to infer pipelines. It
just keep those values in its metadata, so that PJ* objects constructed
from them can later override the PJ_COORD.xyzt.t component.

So basically this is currently useful only for transformations between a
dynamic CRS and a static CRS (or the reverse).
@rouault rouault merged commit 2ffc593 into OSGeo:master Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant