Comments (3)
@bkielstr Thank you for making this feature request. I would very much like to add this feature. The one issue that I know I will run into is that the QGIS front-end cannot handle tool input parameters that can take either a raster or vector. I've run into this issue before. However, I'll see what can be done.
from whitebox-tools.
@jblindsay as developer of the QGIS plugin I really appreciate that you are trying to keep WBT compatible with other programs, but if this prevents you from implementing some useful tools or making existing tools more versatile, maybe better to drop this compatibility?
Accoridng this specific question. Actually Processing allows to declare inputs as generic "layer" paramer which can be either raster, vector or even plain table. The only drawback I can think of is that with such parameter it is not possible to limit allowed geometry type (e.g. points, lines or polygons).
On other hand it is not possible to declare outputs which can be either raster or vector, however there are some workarounds. All of them require some manual work and prior knowledge of which tools are producing such outputs.
Let me know if you need more information and I will try to explain in detail.
from whitebox-tools.
I have just committed code that adds the ability to specify either vector points or a raster for pour points. This should resolve this issue.
from whitebox-tools.
Related Issues (20)
- Compress raster default value incorrectly labelled? HOT 2
- Error reading LAZ file HOT 1
- Isochrone along direction map of watershed HOT 2
- ListUniqueValuesRaster HOT 3
- Wrong results of DirectDecorrelationStretch
- Bug with IndividualTreeDetection detecting trees very close together HOT 5
- ClipLidarToPolygon is modifying retained point data HOT 1
- Geomorphons - edge effects and difficulties in geographic coordinates
- WhiteboxWorkflows: kernel dies if file not found
- whitebox.Runner() urllib.error.URLError: <urlopen error unknown url type: https> HOT 1
- whitebox_tools 'Unrecognized tool name NormalizeLidar' HOT 16
- Whitebox-Worflows: Erroneous results when using raster files in NAD83 projection HOT 1
- DTM outputs have a shift between tiles HOT 3
- lidar_digital_surface_model extent changed HOT 1
- Feature Requests: lidar_digital_surface_model HOT 2
- FlowAccumulationFullWorkflow gracefully exits without writing all 3 results
- documentation of PercentElevRange
- [feature request] add option to use D-infinity pointer grid in ElevationAboveStream
- "extract_by_attribute" tool missing from "whitebox_tools.py" (?) HOT 3
- TimeInDayLight - error when calculating local almanac
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 whitebox-tools.