Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Create problem formulation, feature requires raster #9
It seems to me that both the 'standard'
function as well as the marxan_problem function require the features to be supplied as rasters.
The initial idea for the marxan_problem function was this:
where the dots are column names or vectors of values.
I think it would be great to allow for the latter case.
Along the same lines, I think it would also be good if in the standard 'problem' function we would allow to mix spatialdataframe classes with dataframes (as features). That's the way I often use shapfefiles and csv files together. Not sure how common it is, but I would imagine its fairly common.
@jeffreyhanson, how is your availability in the next little while? Do you still have time to tackle these things or do you need to focus on finishing your PhD?
Yeah, I didn't get around to doing that.
To implement this, we could add the following method to
We would probably have to switch
After adding this functionality, it would be pretty straight forward to add a new method to the
I don't really have the time at the moment to work on this. I might be able to find some spare time in the next few weeks, but I can't make any promises.