I have a raster image of Mediterranean zone, and I want to clip it by a mask layer but I think the raster is not displayed correctly. It's bigger than others and the mask does not cover the desired area.
Asked
Active
Viewed 167 times
1
-
2It means that either your mask or your raster have a wrong CRS. You should give more details, if you want us to help. – katagena Oct 07 '22 at 14:05
-
@katagena I downloaded the raster as HDF format, when I open it in QGIS I get the "the raster has no coordinate reference system set" icon, so I chose one (WGS 84 EPSG:4326) (the icon disappeared) but when I add the mask layer of the same CRS I get what displayed in the image above – FF123456 Oct 07 '22 at 14:26
-
Where did you get your data? Can you post a link? – Pointdump Oct 07 '22 at 15:44
-
@Pointdump from terrascope (SPOT VGT) https://services.terrascope.be/download/SPOTVGT/C3/S10/V2/ – FF123456 Oct 07 '22 at 15:56
-
@Pointdump services.terrascope.be/download/SPOTVGT/C3/FreeS10/V2/2012/20120421/2_20120421S10_Europe_RADIO/2.20120421S10_Europe_B3.HDF (this is the link to download the image above) – FF123456 Oct 07 '22 at 15:58
-
And the mask? Where did you get it? – katagena Oct 08 '22 at 17:28
-
@katagena I created it, and I clipped with it other rasters (Sentinel and Landsat) and it worked – FF123456 Oct 08 '22 at 18:10
-
1Do never simply "choose" a CRS - this results in the kind of problems you have. If CRS is not recognized, you have to find the correct CRS - the one the date was created in. See here https://gis.stackexchange.com/a/383437/88814 and here https://gis.stackexchange.com/a/392388/88814 – Babel Oct 13 '22 at 20:57
