Bug report #6522
Pseudo Mercator Projection causes problem while clipping raster data
|Affected QGIS version:||1.8.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||up/downstream|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||15738|
I have a raster file (image.tif) and a vector file (clipper.shp), both in Pseudo Mercator projection (EPSG: 3857). I want to clip the raster file to the extent of the vector file. The following happens:
- The clipped raster file is black.
- The clipped (black) raster file has wrong coordinates and is therefore placed somewhere else.
When i perform the clipping with the raster file in Pseudo Mercator projection and the vector mask in WGS84 projection, the result is as desired (in Pseudo Meractor projection).
#3 Updated by Giovanni Manghi about 9 years ago
Thomas Koblet wrote:
I have already attached 2 files.
sorry, I missed them.
Can you try to do the operation from the command line? The actual command that the tools issues is the one at the bottom of the dialog window.
If the command line also fails, then is not a qgis issue.
#6 Updated by Giovanni Manghi about 8 years ago
- Resolution set to up/downstream
- Status changed from Feedback to Closed
- Assignee deleted (
There is certainly something wrong, but is gdal(warp) that does not get the job done, in this case qgis is just a GUI. A ticket should be filed in the gdal bug tracker. Please reopen if necessary.