Rasters.jl
Rasters.jl copied to clipboard
cellarea API
The cellarea function call seems a bit bespoke for Rasters:
Should
Rasters.cellarea(Planar(), ras)
be changed to
Rasters.cellarea(ras; method = :planar)
I'd say it's the opposite... this will be the GO syntax as well, it already is for segmentize
The syntax doesn't seem consistent with Rasters which relies heavily on kwargs
I agree it doesn't really fit with other Rasters syntax
But if GO is going to work this way, then it'd be weird if Rasters didn't
Maybe, but consistent syntax here is important too
Let's discuss this at some point, maybe I can also prototype some things for GO to unify