In an earlier post I reported about my attempts to read TIFF with data stored in tiles using python and libtiff. First I tried to use libtiff's function TIFFReadEncodedTile but finally I tried function TIFFReadTile. I have been able to make progress now. The question I have today: how can I retrieve the value of private / custom tag GDAL_NODATA. Both GDAL and ArcGIS make use of this tag. I've seen examples of how to do this in C++ and C#. I still wonder how to do this in Python though. I guess it would be possible by means of the class TIFFExtender and the function add_tags - both defined in module libtiff_ctypes. Could anybody provide an example?
Subscribe to:
Post Comments (Atom)
arcpy - Changing output name when exporting data driven pages to JPG?
Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...
-
There have been several Github issues raised regarding Leaflet z-indexing of layers, and I'm still not clear where things stand. I think...
-
I am trying to use MapServer to display a raster image (png). That's it for now at least. However, I am having no luck. When I visit my ...
-
I have a Polyline and would like to add new vertex to before start point or end point or at any part of the polyline using python in qgis. H...
No comments:
Post a Comment