Sen2Agri / Sen2Agri-System

Sentinel-2 for Agriculture (Sen2Agri) is a software system processing high resolution satellite images for agricultural purposes funded by ESA (European Space Agency). Please register on the Sen2Agri webpage for Sen2Agri system updates and information.
http://www.esa-sen2agri.org
Other
113 stars 40 forks source link

Product extent different from S2 tile extent #13

Open ctriquet-cs opened 6 years ago

ctriquet-cs commented 6 years ago

I'm working on L3A product S2AGRI_L3A_PRD_S80_20171112T223219_V20170605 on site called "france_30tyn" from sen2agri server.

The extent inside the main metadata file S2AGRI_L3A_MTD_V20170605.xml (XML tag EXT_POS_LIST) is different from the extent of the data file (S2AGRI_L3A_PRD_S80_20171112T223219_V20170605/TILES/S2AGRI_L3A_V20170605_T30TYN/IMG_DATA/S2AGRI_L3A_SRFL_V20170605_T30TYN_10M.TIF).

It seems that the metadata file extent is a bounding box computed in EPSG:3857 from upper right and lower left corners of the S2 tile.

Here are 2 screenshots of the L3A product and the extent from the metadata file:

2018-01-09-081749_658x513_scrot

2018-01-09-081836_645x595_scrot

lnicola commented 6 years ago

Thanks for the report; it's a known issue, which is indeed caused by a SRS mismatch. The quicklooks are not reprojected to EPSG:3857.