Comments (5)
What we can do here is generalize the slice operation and make it work with any spatial data:
- We can define the
slice(d, xrange, yrange, ...)
as the filter ofd
with a newGeometryFilter
- This
GeometryFilter
stores a geometry from GeometryBasics.jl (e.g. Rectangle) - For the case of
RegularGrid
domains, we can add a fast method with Julia's multiple dispatch
For regular grids, given a rectangle representing the slice, we just need to do some basic calculations with origin, spacing and size to find out what is inside the rectangle. It should be fun to implement, please let me know if you would like to tackle this one.
from geostats.jl.
Happy to take this after we finish what is still pending.
from geostats.jl.
Thanks for offering help @exepulveda , I can take care of this one as well given that I have some free time in the following weeks. Could you please review JuliaEarth/GeoStatsBase.jl#48 which follows a similar pattern. That way you can get used to the source code organization in the project.
from geostats.jl.
I am almost there with a first implementation of the slice function. The GeometryFilter is in place for general spatial data, and I am now adding a specialization for regular grids + rectangle geometry.
from geostats.jl.
On a second thought I think we can achieve a better API by introducing a set of geometric operations as opposed to a filter. Here is the draft: JuliaEarth/GeoStatsBase.jl#49 I will signal when it is ready for review 👍
from geostats.jl.
Related Issues (20)
- Rename `Strecth` to `Scale` HOT 1
- Documentation Versioning HOT 2
- Fix `show` of very large `GeoTable` HOT 1
- Observable transform pipelines HOT 1
- Add support for `geotable[bools, cols]` HOT 1
- Allow other Kriging variants in sequential Gaussian simulation
- Online generation of large realizations
- Gaussian Processes with Variogram vs Covariance HOT 4
- pairwise! with Covariance types
- Add `Aggregate` transform HOT 1
- missing "(" , ")" in 8.4 Applying expressions HOT 3
- Add `join` for non-geospatial join HOT 1
- Review colorbar creation with `viz` and `viewer` HOT 1
- Rename `colorscheme` --> `colormap` in `viz` and `viewer` HOT 1
- Add new `RegularRefinement` method HOT 1
- Add better error message in `viz` and `viewer` HOT 1
- Add `InterpolateMissing` transform
- Refactor `showfacets` and `facetcolor` in `viz` HOT 1
- Visualization of 3D `Ellipsoid` geometry HOT 1
- Add `DropNaN` and `InterpolateNaN` HOT 1
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 geostats.jl.