Opened 10 years ago
Closed 5 years ago
#5560 closed enhancement (wontfix)
Expand more Rasterize MERGE_ALG choices
Reported by: | Mike Taves | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | closed_because_of_github_migration |
Component: | Algorithms | Version: | |
Severity: | normal | Keywords: | |
Cc: |
Description
The Rasterize feature is fantastic. Currently the two options for MERGE_ALG are Replace (default) and Add (+=).
A few other candidate operators could include:
- Multiply (*=)
- Divide (/=)
- Subtract (-=)
(Divide and Subtract are of less priority than Multiply)
A more complicated group of algorithms can be based on statistics of a set of values collected for each pixel.
- Minimum
- Maximum
- Mean
- Median
The result would replace the pixel value. Of course there are endless other statistics that can be applied to a set of values (range, standard deviation, mode, interquartile range, etc.), but the ones listed above would be most handy to have available.
An example use of one of these is to rasterize the maximum Z from linestrings. Currently, the result with Replace is a mess.
Change History (1)
comment:1 by , 5 years ago
Milestone: | → closed_because_of_github_migration |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.