I am performing the Landuse Classification on satellite imagery. I have classified my image into different categories.

I have the shapefile of the original image, now I want to create the separate shapefiles for each classified portion in the image.

Is there any way, I can achieve this using GDAL (python)? Or any other library of python.

A sample image is given below:

enter image description here

  • 2
    Please state which software you're using and then have a look at something like select by expression/value.
    – Erik
    Nov 4, 2019 at 12:24
  • I want to do this using python script using GDAl /GeoPandas or any other library. Is there any way to do that? Nov 4, 2019 at 12:34
  • gdal.org/programs/gdal_polygonize.html maybe this will work, in arcmap I use raster to polygon, this looks like the equivalent. Nov 5, 2019 at 11:45


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy