A colleague was staring at his monitor trying to figure out how to clip a portion of a Shapefile using a rectangular image as a mask using Matlab. Sidenote: the rect mask was "tilted," that is, its rect bounding box was bigger than the actual mask image.
I started wondering if I could do this with PDL. Matlab can read a Shapefile (a vector format) and essentially convert it into a gridded data set. I am assuming something to the effect of 1s for the inside and 0s for the outside (or some other value for the inside based on an attribute column). Question -- Is there a way to read in a Shapefile into PDL? -- Puneet Kishor _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
