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

fix CRS for non-int code by URL #897

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

fmigneault
Copy link
Contributor

When a CRS such as http://www.opengis.net/def/crs/OGC/1.3/CRS84 is specified, the code currently raises an error because of int(...), usually enforced for references such as http://www.opengis.net/def/crs/EPSG/0/4979.

Also, when parsing http://www.opengis.net/def/crs/OGC/1.3/CRS84, the version part was not extracted, causing the URN to be urn:ogc:def:crs:OGC::CRS84 instead of the expected urn:ogc:def:crs:OGC:1.3:CRS84.

Required by crim-ca/weaver#580

@fmigneault fmigneault self-assigned this Nov 1, 2023
@tomkralidis tomkralidis merged commit 5d8e193 into geopython:master Nov 1, 2023
0 of 4 checks passed
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.

2 participants