Ticket #3202 (closed enhancement: fixed)
BURN_VALUE_FROM option for GDALRasterizeGeometries
| Reported by: | xenononarcticus | Owned by: | chaitanya |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.7.0 |
| Component: | Algorithms | Version: | unspecified |
| Severity: | normal | Keywords: | rasterize |
| Cc: | warmerdam |
Description
This patch defines a BURN_VALUE_FROM option for GDALRasterizeGeometries. This option instructs GDALRasterizeGeometries(0 to derive the burn value from an alternate source. Currently the only recognized source is "Z", which is the interpolated Z coordinate of the source geometry, added to the explicit padfGeomBurnValue value. This is sensible for wkb[Multi]Point and wkb[Multi]LineString? geometries but unimplemented for wkb[Multi]Polygon because interpolating Z within the filled polygon interior is extremely non-trivial.
These files are modified against a GDAL 1.6 release which does not appear to differ to greatly from the SVN trunk version.

