#26417: Allow setting GDALBand data with replicated input. -----------------------------+----------------------------- Reporter: yellowcap | Owner: yellowcap Type: New feature | Status: new Component: GIS | Version: 1.9 Severity: Normal | Keywords: raster gdal gis Triage Stage: Unreviewed | Has patch: 1 Easy pickings: 0 | UI/UX: 0 -----------------------------+----------------------------- Currently band data can only be set with "explicit" values, so to fill a band with a single value, a large array with this value has to be passed to the GDALBand's `data()` method.
The underlying `capi` function `GDALRasterIo` automatically replicates data if only a partial array is passed to it. Exposing this functionality in Django's GDAL api improve its usability for this kind of operations on large rasters. -- Ticket URL: <https://code.djangoproject.com/ticket/26417> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/052.e6b66fe7782e0260e064cd8c8b774705%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.