h-a-graham / rayvista

An R plugin for {rayshader} to view a 3D vista anywhere on earth.
GNU General Public License v3.0
107 stars 5 forks source link

Add arg to request area rather than area around a point. #15

Closed h-a-graham closed 3 years ago

h-a-graham commented 3 years ago

Suggestion raised here: https://github.com/h-a-graham/rayvista/discussions/14

Shouldn't be too hard to add in but making a note here to remind myself to do it down the line. Add an argument which accepts an sf object or sf readable file path - the extent of the objet is then used to set the requested area as an alternative to the current approach of area around a point.

If anyone has any suggestions on this please feel free to comment here.

h-a-graham commented 3 years ago

Now implemented: https://github.com/h-a-graham/rayvista/pull/16

use the 'req_area' argument to specify a region of interest. THis can be an sf object or a file path to an sf readable spatial vector. The extent of this object iss then used to make the request.