Hi List,
I found a bug in GdalTools/Clipper, when a mask layer is used with a
filter expression, the generated gdalwarp command is is not valid.
The generated command looks like this:
gdalwarp -q -cutline "poly.shp|layerid=0|subset=\"Nev\" = 'Heves'"
-crop_to_cutline input.tif output.tif
the correct command would be:
gdalwarp -q -cutline "poly.shp" -cwhere="Nev='Heves'"
-crop_to_cutline input.tif output.tif
I suppose in getArgsModeMask (doClipper.py) after line 167 the mask should
be processed if it contains "|".
Best regards,
Zoltan
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer