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

better CRS parsing and fix TileMatrixSet model #141

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

vincentsarago
Copy link
Member

This PR fixes couples bugs with the CRS and TileMatrixSet models

  • rename CRSType -> CRS (and internally use pyproj.CRS for pyproj's CRS object)
  • enable passing {"uri": ...} or {"wkt": ...} to define the CRS (per specification)
  • use pyproj.CRS's URI representation with TileMatrixSet's repr
  • remove pointOfOrigin default value (it's required)
  • add "topLeft" default for cornerOfOrigin

@vincentsarago vincentsarago merged commit 90426c9 into main Jan 18, 2024
5 checks passed
@vincentsarago vincentsarago deleted the feature/better-crs-parsing-and-fix-models branch January 18, 2024 14:46
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.

1 participant