Rafael Schouten

Results 983 comments of Rafael Schouten
trafficstars

I have a fast algorithm for this already, but it relies in my not yet registered Neighborhoods.jl package. Another package Neighborhood.jl was registered so I cant get the close name....

It may be quire a few months until I get around to adding those functions here ether way.

Neighborhoods.jl is registered now as Stencils.jl: https://github.com/rafaqz/Stencils.jl It should be fairly easy to add these things now, I just need a good test suite for it.

That new PR has `cost_distance` in it, will get it tested and working in the next weeks. Can I ping you for feedback on The PR at some point? It...

Im no specialist either, just a random ecologist. But those kind of questions are exactly what Im looking for! `focal` shapes are extremely arbitrary you can defone any offset patterns...

One question I have is what kind of cost functuons should be available out of the box? Ive got a walking time model there at the moment but there could...

Ok. Currently Im allowimg users to pass in a function: ```julia f(elev1, elev2, distance, [resistance]) ``` Where resistance is optional if you dont use a resistance matrix. So you can...

Sorry maybe that was confusing. This is the format for a custom cost function you can pass in, with `walking_time` being the default https://github.com/rafaqz/Rasters.jl/blob/43a34df63ecda59d510c881017047ed5c14c836f/ext/RastersStencilsExt/cost_distance.jl#L120-L131 The idea is you can write...

Ah ok sounds like an interesting social study. I hadn't thought about cases where elevation doesn't matter. I'll think about how to make that possible. It would be annoying for...

Also to clarify - you may notice that I don't like how cost_distance works in terra, and this is quite different! For most of my uses resistance surface isn't the...