Skip to the content.

Sentinel-2 Water Edges Dataset (SWED)

Authors: Catherine Seale, Thomas Redfern, Paul Chatfield
Organsation: UK Hydrographic Office, Taunton, UK
Corresponding author: Catherine Seale
Contact Information: catherine.seale@ukho.gov.uk

Sentinel-2 Water Edges Dataset contains pairs of images and corresponding segmentation labels, intended for training image segmentation algorithms. The labels contain two classes indicated by binary values – water (1) and non-water (0). The creation of this dataset is part of an on-going effort by the UKHO Data Science team to promote the development of machine learning and deep learning for marine applications. The data is available under the Geospatial Commission Data Exploration license.

Download the full dataset

Note: this will download a large file (approx. 18Gb).

Download full dataset

Download a sample of the dataset

Choosing this option will download a smaller sample for evaluation purposes (approx. 1.36Gb)

Download sample

License

The Data Exploration License

In return, we ask you to:

Under this license you must not do the following:

The Small Print

1. Parties

This license is between the United Kingdom Hydrographic Office, (we/us/our/UKHO) and the person or organisation who downloads the Exploration Data (you/your). Our address is The United Kingdom Hydrographic Office, Admiralty Way, TAUNTON, Somerset, TA1 2DN. You and we are each a party and together the parties.

2. License

Subject to the restrictions referred to in this license, we grant you a non-exclusive, non-transferable, revocable license to use Exploration Data for 12 months from the download of the Exploration Data for the permitted purposes described in the table above.

By downloading Exploration Data, you agree to be bound by these terms and conditions. These terms and conditions form the license between you and us (license).

This license commences with effect from the date you first request access to Exploration Data.

3. Intellectual Property Rights

We and/or our suppliers (including the Crown) own all the intellectual property rights in Exploration Data. All rights not expressly granted are reserved to UKHO and its licensors (including the Crown).

4. Feedback

At our request, you will give us reasonable details about your intended use for Exploration Data under this license by whatever means we might reasonably request.

5. No Warranty

It is your responsibility to ensure that the Exploration Data you request is what you need. Exploration Data is provided ‘as is’ and without any warranty or condition express or implied, statutory or otherwise as to its quality or fitness for purpose. Except as expressly stated in this license, all conditions, warranties, terms and undertakings express or implied statutory or otherwise in respect of the Exploration Data are hereby excluded to the fullest extent permitted by law.

6. Liabilities

There is nothing in this license that excludes or limits your liability for an infringement or breach of the intellectual property rights in Exploration Data.

Neither party excludes its liability to the other under this license for fraud, and for personal injury or death caused either by its negligence or that of its employees and authorised subcontractors and agents.

Subject to the above, neither party shall be liable to the other for indirect, special or consequential loss or damage or any other financial loss (howsoever caused) which occurs as a result of the use of, or lack of performance of the Exploration Data.

7. Termination

Either party may terminate this license with immediate effect. Termination or expiry of this license shall not affect either party’s accrued rights and remedies. On the termination of this license you shall (except in respect of any Exploration Data for which at the time of termination or expiry, you have an appropriate license from UKHO):

Any provision that is expressly or by implication intended to survive the termination or expiry of this license shall continue in full force and effect.

8. Data protection and privacy

You shall comply with all relevant laws and regulations relating to the processing of personal data and privacy, including, without limitation:

We shall comply with the terms of our privacy policy available at https://www.gov.uk/government/publications/ministry-of-defence-privacy-notice/mod-privacy-notice

9. Confidentiality

Neither party shall disclose to any person (either during the term of this license or after), any confidential information belonging to the other party which is in its possession as a result of this license unless with the consent of the other party or due to a legal, governmental or regulatory requirement. You acknowledge that we are bound by the Freedom of Information Act 2000 and the Environment Information Regulations 2004 and you will provide such assistance, without charge, as we shall reasonably request to assist us in complying with these statutes.

8. Other General Provisions

This license sets out the entire agreement and understanding between you and us in respect of the subject matter of this license.

We may change any part of this license, including the availability of the Exploration Data, at any time with immediate effect. If you continue to access updates of any Exploration Data after any such change is made, you shall be deemed to have accepted the modified terms. If you do not wish to accept the modified terms, you must terminate this Agreement by giving us written notice. It is therefore recommended that you regularly review this license so that you are aware of the latest terms.

Any notice under this license shall be affected when given to your registered e-mail address.

You shall not assign, transfer or novate rights and obligations under this license. We shall be entitled to assign, transfer or novate the benefits and obligations of this license to any government body or nominated subcontractor or, in the event of the transfer of all or any of our activities or functions to any other entity, to the entity to which our functions have been transferred. You expressly agree to the assumption of our obligations under this license by that entity.

This license is governed by English law and both parties agree to the exclusive jurisdiction of the English courts.

A person who is not a party to this license has no rights under the Contracts (Rights of Third Parties) Act 1999 to enforce or enjoy the benefit of any term of this license.

News and updates

October 2021: Dataset published.

January 2022: Sample link added.

Dataset description

The Sentinel-2 Water Edges Dataset is based on Sentinel-2 imagery.

Images are of an array shape 256 x 256 x 12 – the 12 bands corresponding to Sentinel-2 bands in the order they are supplied by the European Space Agency. Labels have shape 256 x 256 x 1 – only one band is required for the segmentation mask.

Image and label pairs can be identified by their matching filenames as below:

S2A_MSIL2A_20190312T031541_N0211_R118_T48QYJ_20190312T083550_image_0_0.tif S2A_MSIL2A_20190312T031541_N0211_R118_T48QYJ_20190312T083550_label_0_0.tif

The dataset contains an independent test set to enable comparative study of deep learning models.

Information regarding tidal state of images in the test set can be obtained in this associated csv.

While you are here

Check out our blog for updates on our work!