APPLY FORMULA ouput no-data(void)
suzuki
Global Mapper User
is it possible to asign a "no-data(void)" output when using the Raster Calculator FORMULA
for example :
if(B1<0,"no-data",B1)
when B1 value smaller then 0 asign to no-data(void)
for example :
if(B1<0,"no-data",B1)
when B1 value smaller then 0 asign to no-data(void)
Tagged:
Answers
-
Hi Suzuki,
My question would be "what should the value 'no-data' be"? Since we're dealing with gridded data (raster/elevation), we're processing every point in the grid, and we'd expect to store something back to each point. Is there a known value of "no-data" that would apply to all cases? My guess is that there isn't, and that would mean that the answer to your question is that it's not possible in general, although the user may know, for a particular band, what a valid value of "no-data" should be, and they would then plug that into the formula.
On the other hand, it's also possible that I'm not understanding what you're trying to do, so I'f I'm mistaken, I hope that you'll help me to understand.
Best regards,
~Jeff
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website