Finding null values in raster file
Peter_GURS
Global Mapper User
in Raster Data
I have tiff raster files ( a lot of them...), they are in three bands (RGB). I need to find if there are 0 values in either of these bands. Is there any way to do that in Global Mapper?
Regards,
Peter
Comments
-
Hi Peter,
If you have a Global Mapper Pro license, the easiest way might be a short Python script to loop through the pixels in the layer and call GM_GetPixelColor to query the color of each pixel and see if any band has a value of 0.
Thanks,
Mike
Global Mapper Guru
Categories
- 13K All Categories
- 5.8K Features Discussion
- 350 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 652 GM Script Language
- 56 User Scripts
- 115 GPS Features
- 421 Projection Questions
- 837 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 182 Announcement and News
- 941 Bug Report
- 562 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 580 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 111 Global Mapper Forum Website
