Comments (7)
Yeah, this is something we need. A weighting factor for the y/x could be provided, probably as a matrix of the same size as the dem?
from geomorphometry.jl.
Ya, a row to column scaling would work. This could be a scalar (rectangular cells) or matrix the same size as the DEM (geographic).
from geomorphometry.jl.
should we introduce slope components (x and y) as a new function (maybe slopexy) of do we add a kwarg to slope?
do we adopt the convention that slope across columns to be x_slope and slope across rows to be y_slope?
from geomorphometry.jl.
Hmm. I was thinking of passing a x/y ratio as an argument to most methods. It can be a single value, or a column, or a matrix. The value and columns should be converted to a matrix so it can be used in the calculation.
Ideally, we can automatically set these things, if we have a trait for geographic stuff in GeoInterface. Let me whip up a PoC.
from geomorphometry.jl.
That sounds good to me and would be the use case for most users. For my workflows I will still need slope in x and slope in y, and curvature in x and curvature in y. I could back out slope x/y from slope and azimuth but I suspect it's faster just to compute them directly. But i think it will be strait forward to add those after the geographic stuff is implemented.
The idea of automating this sounds like a dream.
from geomorphometry.jl.
Feel free to make a new issue for separate x y slopes and curvature, as it is something we don't have now. Maybe you also have a reference for a preferred implementation?
from geomorphometry.jl.
Will do... we could add a "dims" kwarg to slope
from geomorphometry.jl.
Related Issues (13)
- Implement SPMF HOT 1
- Interface for filter implementations HOT 4
- TagBot trigger issue HOT 11
- Generalise types?
- Use less acronyms HOT 3
- Rename to `Geomorphometry.jl` HOT 1
- Alternative and related packages
- pssm broke in latest release
- Is LocalFilters.jl needed? HOT 4
- Should Geomorphometry.jl also include the ability for sparse calculations? HOT 1
- Add support for slope along dimension (Sobel operator?)
- Add `geomorphon` function HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geomorphometry.jl.