Sentinel-2 Classification Problem

I’ve tried a variety of input bands like 2348 or all bands together but non of them work properly. Now I’m going to install SNAP 6.0 and try classification procedure again. Previously, I’ve executed supervised classification in SNAP 6.0 without any problem and I think this problem caused by a built in bug in SNAP 7.0. If I reach to a meaningful result on this case I will share with you.


maybe something went wrong during the update to version 7. Please let us know if it works when you go back to SNAP 6.0

I don’t know but I have same problem in SNAP 6.0. Do you have any tutorial or user guide for sentinel-2 classification procedure in SNAP software?

I saw many video tutorials in youtube but they didn’t use sentinel-2 images.


how did you resample the subset?
When I run the S2 Resampling operator on the subset product (it does work, you’re right), I get this message:

Maybe you first run the S2 Resampling operator and create a subset afterwards. This takes longer, but worked for me in the past.

I don’t have any problem in resampling operator and it works well. I’m following these steps:

  1. download S2 L2A
  2. open in snap 7
  3. spatial subset using subset operator
  4. resampling suing resampling operator: make all bands same pixel size.
  5. collecting training data from resampled data
  6. open Random Forest Classification
  7. insert data
  8. select training data
  9. select bands
  10. defining output address
  11. run
  12. processing completed
  13. shows bad result!

It was reported here that Sentinel-2 data has to be reprojected to WGS84 before collecting the training data and applying the classification:

1 Like

a few minute ago I’ve tried random forest classification for landsat data and it works well without any problem. I think coordinate system cause this problem, according to this now I’m gonna to check sentinel-2 coordinate system and I will share you final result.


Dear Braun

When I changed sentinel-2 coordinate system to wgs84, classification problem has solved completely.

Thanks for your excellent support.


1 Like

good to hear, thank you!

dear Amirhossein ,I classifed with sentinel-2 images too .but i didn’t work the step that Subset raster.Is this step necessary

Dear AmirHossein,
Can you clarify a bit more about the sentinel 2 image classification in snap 7. I am new to this kind of Sentinel2 classification. I will be so thankful if you give more details about your workflow. cheers, Farman

please have a look at these instructions:

Thanks ABraun for your swift reply on my issue. I will have a deep look at it and let you know with my results… Cheers

Dear sir .There is no surface reflectance document for Sentinel-2, and I would like you to recommend me .

every Sentinel-2 product contains refleactance. These instructions are valid for all multispectral products.

here?I mean that files what can help me to identify the different figure types.

please try to use the search function, many things are already explained in other topics: The "dl" unit

can you please help me with that ? i did reprojection with utm/wgs84 and its still having issuees

hi there;
when i tried reprojection, i don’t know why it doesn’t work i receive an error . by the way I’m in morocco.
can u please help me and tell me how i can do the reprojection

Please share the error message, otherwise we cannot help.