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

Make crs better at handling EPSG #1330

Merged
merged 2 commits into from May 2, 2024
Merged

Make crs better at handling EPSG #1330

merged 2 commits into from May 2, 2024

Conversation

jsignell
Copy link
Member

Closes #1329 and adds a test to try to prevent regression in the future.

@jsignell
Copy link
Member Author

It looks like 0.9.3 is getting queued up for release so not sure if there is a way to sneak this in @maximlt 😸

except Exception as e:
errors.append(e)
if isinstance(crs, (str, pyproj.Proj)): # proj4/wkt strings

if isinstance(crs, (str, int)):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This idea is that this is purely additive. It should have no impact on code paths that were already working.

Copy link

codecov bot commented Apr 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.39%. Comparing base (e5e71d6) to head (a250ddb).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1330      +/-   ##
==========================================
+ Coverage   87.36%   87.39%   +0.03%     
==========================================
  Files          50       50              
  Lines        7471     7489      +18     
==========================================
+ Hits         6527     6545      +18     
  Misses        944      944              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@maximlt
Copy link
Member

maximlt commented Apr 24, 2024

Nice! I'll review and include it in the next release.

@maximlt
Copy link
Member

maximlt commented May 2, 2024

Thanks! :)

@maximlt maximlt merged commit bde927a into holoviz:main May 2, 2024
9 checks passed
@jsignell jsignell deleted the crs branch May 3, 2024 13:11
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.

EPSG codes are failing in process_crs
2 participants