hunzikp / velox

https://hunzikp.github.io/velox/
119 stars 23 forks source link

Will extraction of points (SpatialPoints) be supported at some point? #1

Closed Martin-Jung closed 7 years ago

Martin-Jung commented 7 years ago

Hey there,

Very nice package. Currently only SpatialPolygons are supported by the extract function. Are there any plans to allow the input of SpatialPoints as well? I am working with RasterStacks and want to process individual coordinates.

Cheers, Martin

hunzikp commented 7 years ago

Hi Martin. Thanks for the kind words. Should be easy to implement point extraction. Will look into this in the coming week. -ph

hunzikp commented 7 years ago

Well, it took longer than I hoped, but point extraction is now supported. Use method vx$extract_points(sp), see ?VeloxRaster_extract_points