[Qgis-user] clip polygon with raster

Christine geo.guide at web.de
Fri Oct 12 03:01:01 PDT 2018


Boaz Bar Ilan wrote
> im trying to do this  ( with clip from vector/ geoprocessing tool , and
> its
> failing again and again
> im using 2.18.24
> I get messege 'QgsRasterLayer' object has no attribute 'fields' See log
> for
> more details

Do you really try to clip a polygon with a raster or reverse ? Suppose,
clipping a polygon with a raster will not work. To clip a raster with a
polygon sounds more logical. If you want to get the boundary box of a raster
as a polygon you may use another tool: e.g. QGIS menu "Vector" > research
tools > Polygon from layer extent

Regards, Christine




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html


More information about the Qgis-user mailing list