[Qgis-user] Error in clipping a raster

Nicolas Cadieux nicolas.cadieux at archeotec.ca
Thu Mar 23 07:04:03 PDT 2017


Hi,

A raster can only be square or a rectangle. Try with a square or rectangle region.  You can use your current polygone but create a new one using the file extent.  After, you can use the original polygone to create a mask.  Raster math will then take care of "stamping out" the irregular region you do not want with nul values.

Nicolas

> Le 23 mars 2017 à 08:46, Giacomo Fontanelli-2 [via OSGeo.org] <ml-node+s1560n5313854h35 at n6.nabble.com> a écrit :
> 
> Hello forum
> 
> I'm trying to cut a raster (geo tif) using a polygon shape. Both are in the same reference system. The polygon is not a regular polygon, but has many vertex.
> I'm using raster > extraction > clipper, but at the end I receive this error message
> ERROR 1: Unable to compute a transformation between pixel/line and georeferenced coordinates for /home/giacomo/Desktop/RSM/bordi.tif.
> There is no affine transformation and no GCPs.
> 
> Thank you
> 
> _______________________________________________ 
> Qgis-user mailing list 
> [hidden email] 
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://osgeo-org.1560.x6.nabble.com/Error-in-clipping-a-raster-tp5313854.html
> To start a new topic under QGIS - User, email ml-node+s1560n4125267h38 at n6.nabble.com 
> To unsubscribe from QGIS - User, click here.
> NAML




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-in-clipping-a-raster-tp5313854p5313868.html
Sent from the QGIS - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170323/5d8369ee/attachment.html>


More information about the Qgis-user mailing list