Closed bastistician closed 6 months ago
This patch restores the fix for #125 that got lost in #138.
It avoids the unnecessary loading of sf for "default" Spatial objects with unset CRS, for example in:
SpatialPoints(cbind(1:5, 1:5)) |> summary() ## ... ## Is projected: NA ## ...
is.projected() doesn't need a whole sf pipeline to get to that NA. ;)
is.projected()
Thanks @bastistician and sorry to cause you double work. I think this looks good; to be sure, @rsbivand could you pls also give this a look?
Yes, looks OK here.
Submitted to CRAN...
On CRAN now!
This patch restores the fix for #125 that got lost in #138.
It avoids the unnecessary loading of sf for "default" Spatial objects with unset CRS, for example in:
is.projected()
doesn't need a whole sf pipeline to get to that NA. ;)