X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 24 Nov 2010 05:49 AM by  anon
Resizing data spatially by shapefile
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
24 Nov 2010 05:49 AM
    Dear User, I'm Sabber from Dhaka, recently working on deforestration of Dhaka city. For that reason i need to resize the NDVI raster result of the Dhaka city only. But whenever i do it, instead of cliping the exact dhaka city it clips like a rectangle. But i need to be clipped the exact as the shapefile. can anyone please tell me the technique to do it. Sabber Ahamed Jahangirnagar University SaVar, Dhaka

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    24 Nov 2010 09:32 AM
    Raster images are always rectangular (number of samples x number of lines). So clipping will always create the smallest bounding box it can around the vector, but it is still going to be a rectangular shape. If you want to mask the pixels outside of the vector boundary, then you can export the vector to an ROI and use Basic Tools ->Subset data via ROIs. This option allows you to mask areas outside the ROI to a value of your choice such as 0.
    You are not authorized to post a reply.