Skip to content

Conversation

@DanRod1999
Copy link
Contributor

@DanRod1999 DanRod1999 commented Aug 13, 2025

Add ability to compare horizontal CRS without comparing the description. This is useful for merging imodels with CRS data that is functionally equivalent, but would return as false with the current equals functions.
All other data seems necessary, however not sure if these values can also differ but be functionally the same:

  • name
  • source
  • id

I assume datum and ellipsoid id's are also constant and shouldn't differ between imodels, but not 100% sure.

@DanRod1999 DanRod1999 linked an issue Aug 13, 2025 that may be closed by this pull request
@DanRod1999 DanRod1999 changed the title Add CRS almostEqual Compare functionally equivalent CRS Aug 13, 2025
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.

Function to compare functionally equivalent CRS data

5 participants