Hi Sanjeeb, We use the "Style" object to control the width of lines ... you have a couple of options fore combing your image and shapefile. You could load up the geotiff and draw directly onto the BufferedImage using StreamingRenderer. Or you could use StreamingRenderer to draw up a new image using both your GeoTIFF and the Shapefile, and then save it out.
I am putting together lab materials for FOSS4G and should be able to contribute some rendering examples this weekend. Some other users have had recent success - so you may want to check nabble for Erdem Gunay's recent post. Jody sbhoi wrote: > Hi All: > I am a newbie to geotools, is there a sample helpfile somewhere (I tried > searching too) to take an esri shape file overlay it on top of a geotiff > image and save the resulting image as geotiff or jpeg ? I guess it will be > an trivial task for gurus out there but for a newbie it seems confusing. > How does one controls the width of the vector lines overlaid over the images > ? > > > Thanks > Sanjeeb > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
