-
Notifications
You must be signed in to change notification settings - Fork 7
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
Forthcoming PROJ 9.6.0 breaks geofi #52
Comments
The problem arises from "canned"
You may duplicate these for PROJ < 9.6.0 and PROJ >= 9.6.0 perhaps, or for the vignette now set the CRS of |
@muuankarski If CRAN updates to PROJ 9.6.0 when Debian or other check platform does, |
@muuankarski If I understood the problem correctly I think this could be fixed by implementing the wording from the vignette "All the data you can obtain using
In Lines 51 to 54 in f7fa1d9
Maybe it was interpreted as NA before but now it isn't when EUREF-FIN is supported? Anyway if it is changed so that 3067 is used in all cases as default then the problem would go away? |
@pitkant I do not think this is the case. Users of PROJ < 9.6.0 will see a different EPSG:3067 than users of PROJ >= 9.6.0 anyway, and the code error occurred because comparing the stored data values of the CRS created with PROJ < 9.6.0 are not equal to the CRS of the object created by |
@rsbivand thank you for clarifying! It's just curious to me that bounding_box_point, which is created by subsetting the muni object and then turned into a bbox, would then have different CRS than the original muni object. From that perspective both should have a CRS created on the fly, or am I missing something? |
Hi, I finally got my test environment up with proper versions and I can
reproduce the error. Will propose a fix later this week!
Thank you both for taking you time looking at this.
…-Markus
On Mon, 31 Mar 2025 at 13:51, Pyry Kantanen ***@***.***> wrote:
@rsbivand <https://github.com/rsbivand> thank you for clarifying! It's
just curious to me that bounding_box_point, which is created by subsetting
the muni object and then turned into a bbox, would then have different CRS
than the original muni object. From that perspective both should have a CRS
created on the fly, or am I missing something?
—
Reply to this email directly, view it on GitHub
<#52 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALUL6GJPL5AKSNNZCF5SAD2XEMZRAVCNFSM6AAAAABZAJRRQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONRVHA3DCMRZG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: pitkant]*pitkant* left a comment (rOpenGov/geofi#52)
<#52 (comment)>
@rsbivand <https://github.com/rsbivand> thank you for clarifying! It's
just curious to me that bounding_box_point, which is created by subsetting
the muni object and then turned into a bbox, would then have different CRS
than the original muni object. From that perspective both should have a CRS
created on the fly, or am I missing something?
—
Reply to this email directly, view it on GitHub
<#52 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALUL6GJPL5AKSNNZCF5SAD2XEMZRAVCNFSM6AAAAABZAJRRQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONRVHA3DCMRZG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
As forthcoming PROJ 9.6.0 announced here https://lists.osgeo.org/pipermail/proj/2025-March/011738.html adds NKG transformations: Add support for EUREF-FIN in Finish transformations (#4399) in the NEWS section, geofi now breaks at line 152 in geofi_spatial_analysis.Rmd, where
sf::st_intersection
fails with differing CRS:There is a further error at line 279.
I guess that conditioning on the PROJ version will be needed, using for example package_version(sf::sf_extSoftVersion()["PROJ"]).
The text was updated successfully, but these errors were encountered: