On 11/09/2010 06:21 PM, charlie wrote:
So what you want is the boundaries of the islands? I think that in order to extract this from the image, you'll have to do some pre-processing of the image - you need the raster to show only the boundaries, and everything else should be 0. From the r.thin man page: "r.thin assumes that linear features are encoded with positive values on a background of 0's in the input raster data file. " So you'll have to query the image for the color value of the boundary lines, then use an r.mapcalc _expression_ to get only those raster pixels and set everything else to 0. This might get very tedious since it seems all the text and horizontal hashing lines are the same color as the boundary lines.... If you succeed to separate the boundaries, then run the resulting raster thru r.thin, and finally convert to vector.
-- Micha Silver Arava Development Co. +972-52-3665918 http://www.surfaces.co.il |
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
