Sf: anything similat to sp::over() ?

Created on 14 Apr 2017  Â·  2Comments  Â·  Source: r-spatial/sf

Thank you for creating the sfr package. For the most part, working in R with GIS has been much more tolerable. With that said, I wanted to conduct some functions using the sp package. For example, I wanted to use sp::over() with point and polygon data. I got the following error message:

unable to find an inherited method for function ‘over’ for signature ‘"sf", "sf"’

Any suggestions on getting this done with sfr? Thanks.

Most helpful comment

sp::over did a lot of different things depending on its precise inputs; I'm happy we no longer have that. In case you have difficulty doing one of these things, please report back here, or on a new issue with more specific title.

All 2 comments

Take a look at this page - https://github.com/edzer/sfr/wiki/migrating

sp::over did a lot of different things depending on its precise inputs; I'm happy we no longer have that. In case you have difficulty doing one of these things, please report back here, or on a new issue with more specific title.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dkyleward picture dkyleward  Â·  4Comments

duleise picture duleise  Â·  3Comments

kendonB picture kendonB  Â·  4Comments

happyshows picture happyshows  Â·  3Comments

kendonB picture kendonB  Â·  3Comments