I want to convert a raster (agric.tif) to a polygon layer (agric.shp). I want to use gdal in command line since the QGIS (raster to polygon) seems to takes for ever (still running over an hour).
I am trying to use gdal_polygonize.py . Is this working in command line? I get en error "the command not found".
gdal_polygonize.py $outdir/"agric.tif" -f "ESRI Shapefile" agric.shp