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] 
> <[email protected]> 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 
> [email protected] 
> 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.
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to