Giter Site home page Giter Site logo

deltares / geomorphometry.jl Goto Github PK

View Code? Open in Web Editor NEW
12.0 9.0 2.0 375 KB

Geospatial filtering algorithms

Home Page: https://deltares.github.io/Geomorphometry.jl

License: MIT License

Julia 100.00%
filter terrain dtm julia hacktoberfest cost friction pcraster

geomorphometry.jl's People

Contributors

alex-s-gardner avatar asinghvi17 avatar dependabot[bot] avatar evetion avatar github-actions[bot] avatar visr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geomorphometry.jl's Issues

Is LocalFilters.jl needed?

Is there a reason to use LocalFilters.jl over ImageFiltering.jl with mapwindow ? Maybe there is a good reason that I'm not aware of.

Generalise types?

A lot of the methods defined here are limited to e.g. ::Matrix inputs.

It would be nice if we could pass through different array types using ::AbstractMatrix, and use similar to define new arrays so the wrapper type is maintained.

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Add support for direct use of geographic data

I'd like to calculate slope and curvature from a geographic DEM (raster dimensions are in degrees). I'd like to do this without retrojecting the DEM. I think the only way to do this is to calculate component values (slope/curvature along lat/lon) then to scale each component by the local meters per degree lat/lon. Given this, would it make sense to add an option to relevant functions to return component values?

Use less acronyms

Unless you're really deep in the field MDG, TPI, smf, pmf, psf and apsf are pretty obscure, an not really googleable.

It could be nice to having these written out a little more so people know whats here. Even just the file names would make it more transparent what is in this package.

Should Geomorphometry.jl also include the ability for sparse calculations?

I have a global high-resolution DEM (cop30) and a ton of profile data (ICESat-2) and I'd like to calculate the slope and curvature at each ICESat-2 measurement point. I could do this by calculating slope and curvature everywhere but it would be much faster (less allocations) to simply calculate slope and curvature at each point. This is a utility that I often need but have not found.

Looking into Stencils.jl it seems like this shouldn't be too difficult... the steps would look like this

  1. lazily read in profile data (probably Rasters.jl)
  2. eagerly read data cropped to extents of profile data + a buffer for calculation of slope, curvature, ect
  3. cast copped data to a SencilArray = A
  4. loop though each intersecting index of A and apply functions

I'm guessing that this is functionality that others have built or would want but it's not clear where such functionality should live. Given that Geomorphometry.jl is home to most of the funtions I'm wondering if it should live here.

Thoughts?

Interface for filter implementations

I wasn't sure if this is appropriate here or a different package, but wanted to start somewhere.

Sometimes when I am filtering a point cloud I don't want the surface yet, but want to identify/update the classification for what points are ground. I think it would be great to have some kind of generic interface like GeoStats/DiffEq/others where I can swap out the algorithm easily.

classify(pc::PointCloud, alg::GroundFilter) or
classify(pc::PointCloud, alg::VegetationFilter)

and then if I don't care about the points and want to go straight to DEM it classifies the point and returns the surface.

filter(pc:PointCloud, alg::GroundFilter)

Does this make sense?

I know there is an update!() functionality in LasIO that will update bounding box. Maybe the classification code lives in LasIO/LazIO and the filtering code lives here?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.