I downloaded a Sentinel 2A image because I want to obtain different index for land usage. I need to clip every band of the satellite imagery using the Clip Multi Layers plug in. The plug-in defaults to a value of -999 for NoData cells.

What is the NoData pixel value I should use to clip the imagery so as not to interfere with pixel data.

closed as unclear what you're asking by pLumo, BERA, Dan C, xunilk, whyzar Feb 20 '18 at 14:05

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Welcome to GIS SE! As a new user be sure to take the Tour to learn about our focussed Q&A format. Please DO NOT USE ALL CAPS in your titles. – PolyGeo Feb 20 '18 at 0:16
  • Which Sentinel-2 product? MSI L1C or L2A? What do you want to achieve exactly? Nodata value of most S2 products is 0. This is properly declared in the JP2 files and most GIS programs can handle this. – pLumo Feb 20 '18 at 10:13
  • Thank you for answering! Is Sentinel-2 L1C, so I doing a land cover classification of a state of Mexico, but this is an irregular polygon so I have decided to make a clip from the bands that I need, but I have the doubt if this value can make noise at the time that run the classification – Adrian Silva Cardoza Feb 20 '18 at 17:55

The choice is up to you, but try to ensure that whatever value you use gets into the metadata of the output format you save. That will ensure that other software will recognise it by default.

I tend to use -9999, and -999 is a good one too. A bad value to use is one that is actually found in your dataset! (Sounds obvious, but it's sometimes done.)

  • Usefull! and sounds logical, so if I use "0", what do you think ? – Adrian Silva Cardoza Feb 20 '18 at 17:57
  • "0" is ok, so long as you don't have any real values near 0! It should be recognisable as a ridiculous value, or fit into what others do. – Alex Leith Feb 20 '18 at 22:36

Not the answer you're looking for? Browse other questions tagged or ask your own question.