<div dir="ltr">Hmmm, the mailing list archive doesn't show any text. Here goes without attachments.......<br><br>Apologies if this came through before..... <br><br><div class="gmail_quote">On Wed, Oct 1, 2008 at 4:29 PM, Jamie Adams <span dir="ltr"><<a href="mailto:jaadfoo@gmail.com">jaadfoo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hello all,<br><br>I'm having an issue with v.to.rast when converting a SRTM water body database (SWBD) shapefile to a raster. I've imported the file using v.in.ogr with no problems, but when I do v.to.rast, it only converts a portion of the largest polygon. I've attached screenshots from QGIS, one of the source vector and another with the output raster layered on top. As you can see, it's not a region issue and there is no mask present. The region is set to the extent and resolution of the SRTM tile for that area. <br>
<br>command:<br>v.to.rast input=w123n37n_sub output=test2 use=val<br><br>The "_sub" suffix is because I filtered the original file where FACC_code = BA040. I've tried doing the filtering with ogr2ogr beforehand and importing the subset, as well as importing the full shapefile and using v.extract. The end raster was the same. <br>
<br>Thanks!<br><br>-Jamie<br><br>source file:<br><a href="ftp://e0srp01u.ecs.nasa.gov/srtm/version2/SWBD/SWBDwest/w123n37n.zip" target="_blank">ftp://e0srp01u.ecs.nasa.gov/srtm/version2/SWBD/SWBDwest/w123n37n.zip</a><br>
<br>If you can't view the attachments:<br>
<a href="http://picasaweb.google.com/jaadfoo/Grass?authkey=jXvWPmZdHMc#" target="_blank">http://picasaweb.google.com/jaadfoo/Grass?authkey=jXvWPmZdHMc#</a><br></div>
</blockquote></div><br></div>