On vendredi 27 avril 2018 12:42:16 CEST William Kyngesburye wrote: > OK, it worked as vrt of a vrt. Memory not an issue. > > But I have a new problem. One vrt I want to instead do > -29 (caspian sea, > -29 in SRTM data). The whole region evaluates to 1 (true). It looks like > the in_ar[] is getting truncated to an unsigned byte, 0-255, from its > orignal Int16.
Check the various data types mentionned in the VRT. Perhaps there's one set to Byte. It would also probably be safer to define <SourceTransferType>GDT_Int16</SourceTransferType> at the same level than the <PixelFunction...> elements -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
