[R] functions st_transform and st_point
jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Wed Mar 23 19:29:46 CET 2022
... and whenever you think "I have a question about spatial statistics in R" you should think "I should ask on the R-sig-geo mailing list"... because, of course you have read the Posting Guide, right?
On March 23, 2022 10:58:38 AM PDT, Bert Gunter <bgunter.4567 using gmail.com> wrote:
>This is a good site for such searches:
>Searching on "st_point" there says it's in the 'geotidy' package on github.
>"The trouble with having an open mind is that people keep coming along
>and sticking things into it."
>-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
>On Wed, Mar 23, 2022 at 9:51 AM Nick Wray <nickmwray using gmail.com> wrote:
>> Hello I'm trying to work out ways of manipulating maps in R and have
>> found various potentially useful starter sites, eg
>> p1 = st_point(c(7,52))
>> p2 = st_point(c(-30,20))
>> sfc = st_sfc(p1, p2, crs = 4326)
>> st_transform(sfc, 3857)
>> But when I try to run the example code R tells me that it cannot find
>> function "st_point" (or in the other instance "st_transform") I assumed
>> that these functions were in some package, and searching I found "sf" and
>> "lwgeom" suggested, but installing and loading these does not help. Does
>> anyone know where I can find the wherewithal to make these st_ functions
>> Thanks Nick Wray
>> [[alternative HTML version deleted]]
>> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.
Sent from my phone. Please excuse my brevity.
More information about the R-help