User:Ff5722/Using Sentinel-2 imagery
Sentinel-2 satellite data is licenced suitably to be used as background for tracing or any other purpose for OSM (licence). The best resolution available is 10 m, this is enough to trace major roads, rivers, lakes, railways etc. Pretty much the entire world is covered, and imagery is very recent (several captures per month, as recent as last week), however it can be covered in clouds, so in some cases, it is needed to use imagery of a few months old.
Using QGIS (easiest)
1. Install QGIS2 (not QGIS3!) from 
2. Download data from scihub.copernicus.eu. You need to register a (free) account to download data. Login with your account, select an area on the map (try to keep the selected area small, it's best to download one tile at once) and search. The results with the green tag S2A MSI are the ones you will want. It's recommended to filter the results to show only Sentinel-2 captures, and sort by cloud cover ascending. Download the zip package (usually around 700 MB).
3. After unzipping, drag the MTD_MSIL1C.xml file into QGIS. In the pop-up window, select the 10m layer. The satellite image will now be shown on screen.
|Do not pan or zoom too quickly, it will cause QGIS to crash.|
4. In the left layers pane, right click, select properties. Set 'Red band', 'Green band', Blue band' all to Min:250 and Max:3500. You can fine-tune this as desired, but the given settings will give an acceptable true colour approximation. Click OK or apply. You can now export via Project>Save as image. Or proceed to tile rendering User:Ff5722/Using Sentinel-2 imagery#Local tileserver
Using ESA SNAP software
- Download SNAP and the Sentinel-2 toolbox
- Download data from scihub.copernicus.eu. You need to register a (free) account to download data. Login with your account, select an area on the map (try to keep the selected area small, it's best to download one tile at once) and search. The results with the green tag S2A MSI are the ones you will want. It's recommended to filter the results to show only Sentinel-2 captures, and sort by cloud cover. Download the zip package (usually around 700 MB).
- Process data in SNAP (tutorial). It's recommended to place the downloaded granule on an SSD if available, to speed up the process (lots of R/W operations). Unzip the compressed folder, and open the XML file in the top level (e.g. MTD_MSIL1C.xml). Once it's visible in the left pane, right-click to open RGB view, the three colour bands will be pre-selected. Simply click OK and wait for the RGB image to be generated.Use the colour manipulation tool in the bottom left pane to ensure good contrast of roads etc.
- Export processed image from SNAP. Right-click on the image, click export. Choose 'export full scene' and 'full resolution' and for filetype geoTIFF. It will take several minutes to finish on most computers.
|For exporting full resolution images in SNAP you will need at least 8 GB of RAM on your system, some larger datasets require even more RAM installed.|
Using satellite image as background
To trace from the image, it has to be added as a background layer in your favourite OSM editor. The easiest way is through Mapbox Studio, but if you regularly need to process imagery, setting up a local tileserver will save you time in the long run.
If you have only a few tiles to use, this is the most convenient method. You can also overlay your different tilesets and choose a background layer for empty areas. The downside is that it requires uploading a 500 MB tile to Mapbox, which may take a while depending on your internet connection. The free plan has a limited bandwidth and storage size as well (maximum of about 10 Sentinel-2 tilesets).
- Sign up for Mapbox Studio here 
- Log in and go to tilesets > New tileset > Upload > upload your geoTIFF
- Then go to Styles > new style > pick any ('satellite', 'empty', or 'black' work best).
- Go to your new style, then go to > edit > new layer > under 'source' select tileset > select your uploaded tileset. I recommend to give it a descriptive name
- Go back to your style, on the right click Share, develop & use and you will find WMTS (for JOSM) and TMS (for iD) (for the latter, use the url scheme for 'Leaflet') endpoints.
|if you want to delete tilesets to free up storage, remove them from your map style first, if not, you can't open the style again|
Thanks to 7thgrade for guiding me through the processing method
- Main article: User:Ff5722/Using local tilesets as background layer
You can set up a WMS server at nextgis.com for free.
Another option is using the ImportImagePlugin, which can use the location data of GeoTIFF files. However I found that it is very slow and the alignment or projection is not good.
Getting processed imagery
Should you want to trace a specific region, but you can't be bothered to process the imagery yourself, then send me a message and I will process it for you when I have time and send you the link to use as background layer.