[gdal-dev] Specifying NODATA values for the TMS (mini)driver
Lucian Plesea
lucianpls at yahoo.com
Thu Jun 28 13:13:49 PDT 2018
Yeah, I had that on my list of things to do, I just bumped into it.And before someone notices, the correct tag is "DataValues", never "DataValue". I used both in the first message.
Lucian
On Thursday, June 28, 2018, 12:57:55 PM PDT, Even Rouault <even.rouault at spatialys.com> wrote:
On jeudi 28 juin 2018 19:42:53 CEST Lucian Plesea wrote:
> >> The contents of a <NoData> tag might be a comma separated list for
> >> multiband rasters.
> >>
> >>
> >> Would an enhancement request to support this be acceptable?
> >
> >Sounds reasonable to me. Do you intend to propose a PR for this ? Ideally
> >you would do the similar adaptation to the WMTS driver.
> >
> >Even
>
> It is supported, for all WMS driver flavors. The syntax is:<DataValue
> NoData="10"/> or <DataValues NoData="10 20 30"/> for multiple band, with
> one value for each band.In addition to the NoData attribute, "min" and
> "max" are also handled the same way.
Ah, thanks. This wasn't documented. Just added it.
Except it seems that ZeroBlock() just zeroes blocks, and doesn't use the
nodata value.
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180628/7cb14e2f/attachment.html>
More information about the gdal-dev
mailing list